For AI

Endpoints by data type

Creator search API

2 endpoints on 2 platforms return creators as the same Creator object. Creators on a platform’s official creator marketplace, found by what they post or by name and filtered by followers and more: each with followers, engagement, median views or reads, content categories and listed rates. A call costs from $0.004 to $0.04, each endpoint at its own price; a failed call is free.

Creator search · on each platform

PlatformEndpointPathA pagePrice
DouyinDouyin Xingtu creator searchGET /v1/douyin/xingtu/creators/search20$0.004 per call · about 20 creators per page
Xiaohongshu (RedNote)Xiaohongshu PGY creator searchGET /v1/xiaohongshu/pgy/creators/search20$0.04 per call · about 20 creators per page

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
# Douyin
curl -G "https://api.okdata.online/v1/douyin/xingtu/creators/search" \
  -H "Authorization: Bearer $OKDATA_API_KEY" \
  --data-urlencode 'query=户外'

# Xiaohongshu (RedNote)
curl -G "https://api.okdata.online/v1/xiaohongshu/pgy/creators/search" \
  -H "Authorization: Bearer $OKDATA_API_KEY" \
  --data-urlencode 'query=户外'

What people use it for

  • Build a shortlist of camping creators with 10,000 to 100,000 followers.
  • Compare listed rates with median views before you send briefs.
  • Find creators whose recent engagement rate is above a threshold.

Questions

How is this different from account search?
Account search returns profiles from the app. Creator search returns marketplace data: engagement rate, median views, content categories and listed rates for sponsored work.
Are the rates what I will pay?
They are the prices listed on the marketplace, in yuan, with whether each kind of work is open. The deal itself happens on the marketplace, and rates are null when it hides them.
Do I need a Xingtu or PGY account?
No. One API key is enough: you never log in to the marketplace, and no marketplace account of yours is involved.

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