For AI

Endpoints by data type

Profile API

12 endpoints on 12 platforms return profiles as the same Account object. One account’s public profile as it stands when you call: name, handle, bio, verification, and the counts of followers, following, posts and total likes where the platform shows them. A call costs from $0.0004 to $0.02, each endpoint at its own price; a failed call is free.

Profile · on each platform

PlatformEndpointPathA pagePrice
DouyinDouyin account profileGET /v1/douyin/users/get1$0.002 per call
Xiaohongshu (RedNote)Xiaohongshu account profileGET /v1/xiaohongshu/users/get1$0.02 per call
WeiboWeibo account profileGET /v1/weibo/users/get1$0.002 per call
TikTokTikTok account profileGET /v1/tiktok/users/get1$0.002 per call
X (Twitter)X account profileGET /v1/x/users/get1$0.0004 per account · at most $0.04 per call
InstagramInstagram account profileGET /v1/instagram/users/get1$0.004 per call
RedditReddit user profileGET /v1/reddit/users/get1$0.002 per call
KuaishouKuaishou account profileGET /v1/kuaishou/users/get1$0.02 per call
ZhihuZhihu user profile coming soonGET /v1/zhihu/users/get1$0.002 per call
WeChat ChannelsWeChat Channels account profileGET /v1/wechat_channels/users/get1$0.02 per call
BilibiliBilibili account profileGET /v1/bilibili/users/get1$0.002 per call
WeChat Official AccountsOfficial Account profileGET /v1/wechat_mp/accounts/get1$0.02 per call

from $0.0004 to $0.02 a call, each endpoint at its own price. A call that fails costs nothing.

The object it returns: Account

Every endpoint above returns these fields with the same names and types. A field a platform does not show comes back null and is named in meta.unavailable.

FieldTypeMeaning
idstringAccount ID on the platform.
urlstringProfile link.
usernamestring | nullHandle, where the platform has one.
namestringDisplay name.
biostring | nullProfile bio.
avatar_urlstring | nullAvatar image URL.
verifiedboolean | nullWhether the platform shows a verification badge.
followersinteger | nullFollowers.
followinginteger | nullAccounts it follows.
postsinteger | nullPosts, videos, notes or articles published.
likesinteger | nullTotal likes received, where the platform shows it.
extobjectPlatform-specific extras. Only returned with view=full.

The same call on two platforms

Same parameters, same paging, same response shape. Only the path changes.

cURL
# Douyin
curl -G "https://api.okdata.online/v1/douyin/users/get" \
  -H "Authorization: Bearer $OKDATA_API_KEY" \
  --data-urlencode 'id=MS4wLjABAAAA...'

# Xiaohongshu (RedNote)
curl -G "https://api.okdata.online/v1/xiaohongshu/users/get" \
  -H "Authorization: Bearer $OKDATA_API_KEY" \
  --data-urlencode 'id=5f1234567890abcdef123456'

What people use it for

  • Check a creator’s follower count and verification before you book them.
  • Record competitors’ follower counts every week and chart the growth.
  • Turn a column of profile links in a spreadsheet into a table of numbers.

Questions

Do I need the account ID, or will a handle or link do?
It depends on the platform. X, TikTok and Instagram take the handle; Douyin and Xiaohongshu take the account ID or a profile link. Each endpoint page lists its parameters.
Why is a count null?
Some platforms hide some counts, for some accounts or for all of them; WeChat Channels, for example, can hide followers and total likes. A hidden count comes back null and is named in meta.unavailable.
Can I see follower growth over time?
Each call returns the numbers at that moment. Call on a schedule and store each result with its date, and the history is yours; checking 100 accounts once a week is about 430 calls a month.

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