For AI

Data APIs

Social media data APIs

214 endpoints on 17 platforms, covering social media, creators, ads and e-commerce. One key and one response format; every endpoint has its own price per call, from $0.0001, and a failed call is free.

Platforms
17 platforms
One key for all of them
Endpoints
214 endpoints
One response format
Lowest price
From $0.0001
A call; failed calls are free

Every endpoint is a GET under https://api.okdata.online/v1 with the id as its path. Prices are per call unless marked per item.

Douyin API

38 endpoints · from $0.002

Overview and examples

Videos

6

Accounts

4

Comments

1

Hashtags

1

Keywords

1

Ocean Engine index

10About this group

Backup routes

2

Xiaohongshu (RedNote) API

30 endpoints · from $0.02

Overview and examples

Notes

3

Accounts

3

Images

1

Comments

1

Topics

2

Keywords

1

Videos

1

WeChat Official Accounts API

8 endpoints · from $0.02

Overview and examples

Bilibili API

9 endpoints · from $0.002

Overview and examples

Weibo API

11 endpoints · from $0.002

Overview and examples

TikTok API

17 endpoints · from $0.002

Overview and examples

X (Twitter) API

20 endpoints · from $0.0001

Overview and examples

YouTube API

10 endpoints · from $0.002

Overview and examples

Meta Ad Library API

3 endpoints · from $0.004

Overview and examples

Google Ads Transparency API

2 endpoints · from $0.004

Overview and examples

Instagram API

8 endpoints · from $0.002

Overview and examples

Reddit API

11 endpoints · from $0.002

Overview and examples

Kuaishou API

8 endpoints · from $0.002

Overview and examples

Zhihu API

15 endpoints · from $0.002

Overview and examples

WeChat Channels API

15 endpoints · from $0.015

Overview and examples

WeChat Search API

6 endpoints · from $0.02

Overview and examples

Telegram API

3 endpoints · from $0.002

Overview and examples

Switch platforms, keep your code

Learn one endpoint and you know them all, and so does your AI.

  • The same parameters

    All 38 search endpoints take the words in query, and every list pages with cursor. Moving to another platform changes the path, not your code.

    GET /v1/douyin/videos/search?query=露营装备
  • The same field names

    A video, note or tweet comes back as one Post shape, whichever platform it is from: the author, the text and the counts always sit under the same names.

    id · url · text · author · metrics
  • Gaps are labelled

    When a platform never shows a number, the field comes back null and is named in meta.unavailable, so a missing count is never mistaken for zero.

    meta.unavailable: {"metrics.views": "platform"}

Connect once, then just ask.

Every new key comes with $0.10 to try it. One sentence connects your agent.

Start free
Connect your AI

Paste this into your agent

Read https://okdata.online/agents.md and set up okdata for me; my key is in the OKDATA_API_KEY environment variable.

Claude Code, Cursor, Codex and other agents that can open a link set themselves up from it.

MCP serverhttps://api.okdata.online/mcp