For AI

Endpoints by data type

Creator profile API

2 endpoints on 2 platforms return creator profiles as the same Creator object. One creator’s profile on a platform’s creator marketplace: followers, median reads or views and engagements, content tags, and the rates listed for sponsored work. A call costs from $0.004 to $0.04, each endpoint at its own price; a failed call is free.

Creator profile · on each platform

PlatformEndpointPathA pagePrice
Xiaohongshu (RedNote)Xiaohongshu PGY creator detailGET /v1/xiaohongshu/pgy/creators/get1$0.04 per call
DouyinDouyin Xingtu creator profileGET /v1/douyin/xingtu/creators/get1$0.004 per call

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

The object it returns: Creator

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
idstringThe marketplace's creator ID; the other marketplace endpoints take it.
urlstringThe creator's page on the marketplace.
account_idstring | nullThe creator's own account ID on the platform, where the marketplace gives it: on Douyin the sec_uid (MS4w…) that douyin.users.get takes, on Xiaohongshu the user ID.
usernamestring | nullHandle on the platform, where given.
namestringDisplay name.
avatar_urlstring | nullAvatar image URL.
locationstring | nullWhere the creator says they are.
genderstring | nullThe creator's gender as the marketplace lists it.
followersinteger | nullFollowers.
categoriesstring[] | nullContent categories in the marketplace’s own words.
engagement_ratenumber | nullInteractions per view of recent posts, 0 to 1 (0.038 is 3.8%).
median_viewsinteger | nullMedian views or reads of recent everyday posts.
median_engagementsinteger | nullMedian interactions (likes, comments, saves, shares) of recent everyday posts.
ratesRate[] | nullPublished rates for sponsored work; null when the marketplace hides them.
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
# Xiaohongshu (RedNote)
curl -G "https://api.okdata.online/v1/xiaohongshu/pgy/creators/get" \
  -H "Authorization: Bearer $OKDATA_API_KEY" \
  --data-urlencode 'id=5dfa1ee20000000001001cb3'

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

What people use it for

  • Refresh the numbers of the creators on your shortlist before you book.
  • Check a creator’s listed rates for an image post and a video post.

Questions

Which ID does it take?
The marketplace’s own creator ID, from creator search. It is not the creator’s account ID on the platform, which comes back separately as account_id.
What do the medians cover?
Recent everyday posts, as the marketplace reports them. A median says more about a typical post than an average, which one viral post can pull up.
Which marketplaces have it?
Endpoints are added one marketplace at a time, and the table above lists the ones you can call now. Creator search already returns most of the same fields.

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