For AI

Endpoints by data type

Account search API

11 endpoints on 11 platforms return account search results as the same Account object. Accounts that match a name or keyword, as the platform’s own search finds them, each with the ID you need for every other call about that account. A call costs from $0.0004 to $0.058, each endpoint at its own price; a failed call is free.

Account search · on each platform

PlatformEndpointPathA pagePrice
WeChat Official AccountsOfficial Account searchGET /v1/wechat_mp/accounts/search10$0.058 per account · at most $0.58 per call
InstagramInstagram account searchGET /v1/instagram/users/search20$0.002 per call · about 20 accounts per page
KuaishouKuaishou account searchGET /v1/kuaishou/users/search20$0.02 per call · about 20 accounts per page
ZhihuZhihu user search coming soonGET /v1/zhihu/users/search20$0.002 per call · about 20 accounts per page
WeChat ChannelsWeChat Channels account searchGET /v1/wechat_channels/users/search1$0.02 per call · about 1 accounts per page
DouyinDouyin account searchGET /v1/douyin/users/search30$0.002 per call · about 30 accounts per page
Xiaohongshu (RedNote)Xiaohongshu account searchGET /v1/xiaohongshu/users/search20$0.02 per call · about 20 accounts per page
WeiboWeibo account searchGET /v1/weibo/users/search20$0.002 per call · about 20 accounts per page
WeChat SearchWeChat Official Account live searchGET /v1/wechat/accounts/search8$0.02 per call · about 8 accounts per page
TikTokTikTok account searchGET /v1/tiktok/users/search30$0.002 per call · about 30 accounts per page
X (Twitter)X account searchGET /v1/x/users/search20$0.0004 per account · at most $0.008 per call

from $0.0004 to $0.058 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
# WeChat Official Accounts
curl -G "https://api.okdata.online/v1/wechat_mp/accounts/search" \
  -H "Authorization: Bearer $OKDATA_API_KEY" \
  --data-urlencode 'query=36氪'

# Instagram
curl -G "https://api.okdata.online/v1/instagram/users/search" \
  -H "Authorization: Bearer $OKDATA_API_KEY" \
  --data-urlencode 'query=nike'

What people use it for

  • Turn a list of brand names into account IDs you can track.
  • Find the accounts in a niche by keyword before you look at their posts.
  • Look up a WeChat Official Account’s original ID from its name.

Questions

Can I search by topic as well as by name?
It depends on the platform’s own search. Kuaishou and Official Account search take any keyword; WeChat Channels search usually returns the one account whose name matches best, so it suits names you already know.
How is it charged?
Most of these endpoints charge per call. Official Account search charges per account returned, so check the unit in the table above before you run a long list of names.
What do I do with the results?
Keep each account’s id. Pass it to the profile endpoint for counts and bio, or to the account posts endpoint for what the account has published.

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