Nothing matches that. Try a protocol, a capability or an endpoint path.
GET /v1/social/{platform}/{capability} returns public data from Douyin, Xiaohongshu, TikTok, YouTube and other social platforms, with the same API key and balance as your model calls. Each platform and capability is priced per successful call, and data is the platform's own response — fields are not normalized across platforms.
Beta: paid accounts onlyComplete your first top-up before calling. Trial credit cannot be spent on these endpoints; an account that has never topped up gets HTTP 403 model_requires_topup. The beta has no SLA, and its platforms, endpoints and prices may change.
Authentication and billing
Send your ChinaAPI key as a bearer token to https://api.chinaapi.ai, as for any model call. A call is charged once, at the price listed for its endpoint, only when it returns HTTP 200 with data; an empty result, a rejected parameter or a failed upstream costs nothing. Every page you fetch is a separate call. Your usage log lists each call under the name shown with its endpoint, such as social-douyin-search.
Responses and errors
A successful response wraps the platform's data in a small envelope. Everything inside data — field names, pagination cursors, IDs — is the platform's own; pass cursors back exactly as you received them.
{
"object": "social.result",
"platform": "douyin",
"capability": "search",
"data": { "...": "the platform's own fields" }
}
400 — a parameter is unknown, repeated, too long, of the wrong type or missing, including when no member of an "at least one of" group is given. The error code says which, such as unknown_parameter or missing_parameter.
403model_requires_topup — the account has not completed its first top-up.
404 — the platform and capability pair does not exist, or the platform found nothing for these parameters (social_data_no_result).
429social_data_capacity_reached — the beta's capacity for the day is used up and resets at 00:00 UTC, or the platform is busy and a retry a few seconds later will do. Do not retry in a tight loop.
502 — the data source did not answer, or answered without data.
503social_data_unavailable — this endpoint is paused right now; the live catalog lists it as paused.
None of these responses is charged.
Acceptable use
Follow each platform's terms and the data-protection rules that apply to you. Do not use this API to build profiles of individuals. Logging in, extracting contact details, manipulating engagement and reaching private or paid content are outside this beta.
Platforms and prices
USD per successful call. Each price links to its endpoint below, and a dash means the platform does not offer that capability. The live catalog — GET https://dash.chinaapi.ai/api/social/catalog, no key needed — is the authority on what is on sale right now, including any endpoint that is paused.
Parameters go in the query string under the platform's own names. Examples come from the catalog; replace identifiers with the content you want to retrieve.
Douyin
Search posts
Endpoint
GET /v1/social/douyin/search
Price
$0.02 per successful call
Usage log name
social-douyin-search
Parameter
Type
Required
Default
Example
Description
keyword
string
Yes
—
"猫咪"
Keyword
cursor
integer
No
—
0
Offset cursor for pagination, obtained from the last response
Official account username. Three forms are supported: gh_…, gh_…@app (an account linked to a mini program), and a custom WeChat ID such as nikejdi. Take it from $.data.content.user_name in an article-details response.
Official account username. Three forms are supported: gh_…, gh_…@app (an account linked to a mini program), and a custom WeChat ID such as nikejdi. Take it from $.data.content.user_name in an article-details response.
page_size
integer
No
—
20
Articles per page (default 20). WeChat currently ignores this parameter: the account decides how many articles come back, and 1 and 40 returned the same result in testing. Paginate with offset / next_offset.
offset
string
No
—
""
Pagination cursor (base64), leave empty for first page; for the next page pass next_offset from the previous response
GET /v1/social/{platform}/{capability}returns public data from Douyin, Xiaohongshu, TikTok, YouTube and other social platforms, with the same API key and balance as your model calls. Each platform and capability is priced per successful call, anddatais the platform's own response — fields are not normalized across platforms.model_requires_topup. The beta has no SLA, and its platforms, endpoints and prices may change.Authentication and billing
Send your ChinaAPI key as a bearer token to
https://api.chinaapi.ai, as for any model call. A call is charged once, at the price listed for its endpoint, only when it returns HTTP 200 with data; an empty result, a rejected parameter or a failed upstream costs nothing. Every page you fetch is a separate call. Your usage log lists each call under the name shown with its endpoint, such associal-douyin-search.Responses and errors
A successful response wraps the platform's data in a small envelope. Everything inside
data— field names, pagination cursors, IDs — is the platform's own; pass cursors back exactly as you received them.codesays which, such asunknown_parameterormissing_parameter.model_requires_topup— the account has not completed its first top-up.social_data_no_result).social_data_capacity_reached— the beta's capacity for the day is used up and resets at 00:00 UTC, or the platform is busy and a retry a few seconds later will do. Do not retry in a tight loop.social_data_unavailable— this endpoint is paused right now; the live catalog lists it aspaused.None of these responses is charged.
Acceptable use
Follow each platform's terms and the data-protection rules that apply to you. Do not use this API to build profiles of individuals. Logging in, extracting contact details, manipulating engagement and reaching private or paid content are outside this beta.
Platforms and prices
USD per successful call. Each price links to its endpoint below, and a dash means the platform does not offer that capability. The live catalog —
GET https://dash.chinaapi.ai/api/social/catalog, no key needed — is the authority on what is on sale right now, including any endpoint that is paused.Endpoints
Parameters go in the query string under the platform's own names. Examples come from the catalog; replace identifiers with the content you want to retrieve.
Douyin
Search posts
GET /v1/social/douyin/searchsocial-douyin-searchkeyword"猫咪"cursor0sort_type"0"publish_time"0"filter_duration"0"content_type"0"search_id""backtrace""Post details
GET /v1/social/douyin/postsocial-douyin-postshare_url"https://v.douyin.com/e3x2fjE/"Profiles
GET /v1/social/douyin/usersocial-douyin-usersec_user_id"MS4wLjABAAAAW9FWcqS7RdQAWPd2AA5fL_ilmqsIFUCQ_Iym6Yh9_cUa6ZRqVLjVQSUjlHrfXY1Y"Comments
GET /v1/social/douyin/commentssocial-douyin-commentsaweme_id"7372484719365098803"cursor0count20User posts
GET /v1/social/douyin/user-postssocial-douyin-user-postssec_user_id"MS4wLjABAAAANXSltcLCzDGmdNFI2Q_QixVTr67NiYzjKOIP5s03CAE"max_cursor"0"count20filter_type"0"Trending
GET /v1/social/douyin/trendingsocial-douyin-trendingThis endpoint takes no parameters.
Xiaohongshu (RED)
Search posts
GET /v1/social/xiaohongshu/searchsocial-xiaohongshu-searchkeyword"美食推荐"page1sort_type"general"note_type"不限"time_filter"不限"search_id""search_session_id""source"explore_feed"ai_mode0Post details
GET /v1/social/xiaohongshu/postsocial-xiaohongshu-postnote_id·share_textnote_id"697c0eee000000000a03c308"share_text"http://xhslink.com/o/8GqargIxrko"Profiles
GET /v1/social/xiaohongshu/usersocial-xiaohongshu-useruser_id·share_textuser_id"61b46d790000000010008153"share_text"https://xhslink.com/m/3ZSCJZAMz0a"Comments
GET /v1/social/xiaohongshu/commentssocial-xiaohongshu-commentsnote_id·share_textnote_id"697c0eee000000000a03c308"share_text"http://xhslink.com/o/8GqargIxrko"cursor""index0pageArea"UNFOLDED"sort_strategy"latest_v2"User posts
GET /v1/social/xiaohongshu/user-postssocial-xiaohongshu-user-postsuser_id·share_textuser_id"61b46d790000000010008153"share_text"http://xhslink.com/o/8GqargIxrko"cursor""Kuaishou
Search posts
GET /v1/social/kuaishou/searchsocial-kuaishou-searchkeyword"人工智能"pcursor""Post details
GET /v1/social/kuaishou/postsocial-kuaishou-postshare_text"https://v.kuaishou.com/cNYP0Z"Profiles
GET /v1/social/kuaishou/usersocial-kuaishou-useruser_id"3xz63mn6fngqtiq"Comments
GET /v1/social/kuaishou/commentssocial-kuaishou-commentsphoto_id"3x7gxp2zhgjv832"pcursorUser posts
GET /v1/social/kuaishou/user-postssocial-kuaishou-user-postsuser_id"903511772"pcursor""sort"latest"Trending
GET /v1/social/kuaishou/trendingsocial-kuaishou-trendingThis endpoint takes no parameters.
Bilibili
Search posts
GET /v1/social/bilibili/searchsocial-bilibili-searchkeyword"火影忍者"order"totalrank""totalrank"page11page_size2042duration0pubtime_begin_s0pubtime_end_s0Post details
GET /v1/social/bilibili/postsocial-bilibili-posturl"https://www.bilibili.com/video/BV1S5uKzzE4r"Profiles
GET /v1/social/bilibili/usersocial-bilibili-useruid"178360345"Comments
GET /v1/social/bilibili/commentssocial-bilibili-commentsbv_id"BV1M1421t7hT"pn1User posts
GET /v1/social/bilibili/user-postssocial-bilibili-user-postsuid"178360345"pn1ps25order"pubdate"Trending
GET /v1/social/bilibili/trendingsocial-bilibili-trendingpn1Weibo
Search posts
GET /v1/social/weibo/searchsocial-weibo-searchquery"NVIDIA"page1search_type1Post details
GET /v1/social/weibo/postsocial-weibo-poststatus_id"5016922058656962"Profiles
GET /v1/social/weibo/usersocial-weibo-useruid"7648703289"Comments
GET /v1/social/weibo/commentssocial-weibo-commentsstatus_id"5258708168476831"max_idsort_type"0"User posts
GET /v1/social/weibo/user-postssocial-weibo-user-postsuid"7648703289"page1filter_type"all"month"20251010"Trending
GET /v1/social/weibo/trendingsocial-weibo-trendingThis endpoint takes no parameters.
Zhihu
Search posts
GET /v1/social/zhihu/searchsocial-zhihu-searchkeywordoffset"0"limit"20"show_all_topics0search_source"Normal"search_hash_id""vertical""sort""time_interval""vertical_info""Post details
GET /v1/social/zhihu/postsocial-zhihu-postanswer_idProfiles
GET /v1/social/zhihu/usersocial-zhihu-useruser_url_tokenComments
GET /v1/social/zhihu/commentssocial-zhihu-commentsanswer_idorder_by"score"limit"20"offset""Trending
GET /v1/social/zhihu/trendingsocial-zhihu-trendinglimit"50"desktop"true"WeChat Channels
Search posts
GET /v1/social/wechat-channels/searchsocial-wechat-channels-searchkeyword"美食"duration"short"sort"hot"publish_time"week"offset0cursorPost details
GET /v1/social/wechat-channels/postsocial-wechat-channels-postobject_id·export_id·share_urlobject_id"14941130915890399732"export_id""object_nonce_id""share_url""rawtrueProfiles
GET /v1/social/wechat-channels/usersocial-wechat-channels-userusername"v2_060000231003b20faec8c6e4811dc1d4c602ee30b0771bbcf220c67926bb76ab7702ac335a53@finder"rawtrueComments
GET /v1/social/wechat-channels/commentssocial-wechat-channels-commentsobject_id"14941130915890399732"last_buffer""comment_id""rawtrueUser posts
GET /v1/social/wechat-channels/user-postssocial-wechat-channels-user-postsusername"v2_060000231003b20faec8c6e4811dc1d4c602ee30b0771bbcf220c67926bb76ab7702ac335a53@finder"last_buffer""rawtrueWeChat Official Accounts
Search posts
GET /v1/social/wechat-mp/searchsocial-wechat-mp-searchkeyword"人民日报"sort"hot"publish_time"week"offset0cursorPost details
GET /v1/social/wechat-mp/postsocial-wechat-mp-posturl"https://mp.weixin.qq.com/s/TSNQKkRpN1qbKsT7BvzqIw"rawtrueProfiles
GET /v1/social/wechat-mp/usersocial-wechat-mp-userusername"gh_363b924965e9"gh_…,gh_…@app(an account linked to a mini program), and a custom WeChat ID such asnikejdi. Take it from$.data.content.user_namein an article-details response.rawtrueComments
GET /v1/social/wechat-mp/commentssocial-wechat-mp-commentsurl"https://mp.weixin.qq.com/s/TSNQKkRpN1qbKsT7BvzqIw"buffer""comment_idrawtrueUser posts
GET /v1/social/wechat-mp/user-postssocial-wechat-mp-user-postsusername"gh_363b924965e9"gh_…,gh_…@app(an account linked to a mini program), and a custom WeChat ID such asnikejdi. Take it from$.data.content.user_namein an article-details response.page_size20offset""item_show_typerawtrueWeChat Search
Search posts
GET /v1/social/wechat-search/searchsocial-wechat-search-searchkeyword"人民日报"business_type"account"sort"hot"publish_time"week"offset0cursorrawtrueToutiao
Post details
GET /v1/social/toutiao/postsocial-toutiao-postaweme_id"7450114952884503059"Profiles
GET /v1/social/toutiao/usersocial-toutiao-useruser_id"1352838578180211"Comments
GET /v1/social/toutiao/commentssocial-toutiao-commentsgroup_id"7453372680222523931"offset"0"Xigua Video
Search posts
GET /v1/social/xigua/searchsocial-xigua-searchkeyword"抖音"offset0order_typemin_durationmax_durationPost details
GET /v1/social/xigua/postsocial-xigua-postitem_id"7354954305222377999"Profiles
GET /v1/social/xigua/usersocial-xigua-useruser_id"52712347586"Comments
GET /v1/social/xigua/commentssocial-xigua-commentsitem_id"7354954305222377999"offset0count20User posts
GET /v1/social/xigua/user-postssocial-xigua-user-postsuser_id"1922379661976311"max_behot_timePipixia
Search posts
GET /v1/social/pipixia/searchsocial-pipixia-searchkeyword"皮皮虾"offset"0"search_type"1"Post details
GET /v1/social/pipixia/postsocial-pipixia-postcell_id"7411193113223371043"cell_type1Profiles
GET /v1/social/pipixia/usersocial-pipixia-useruser_id"1020401"Comments
GET /v1/social/pipixia/commentssocial-pipixia-commentscell_id"7411193113223371043"cell_type1offset"0"User posts
GET /v1/social/pipixia/user-postssocial-pipixia-user-postsuser_id"1310254082831248"cursor"0"feed_count"0"Trending
GET /v1/social/pipixia/trendingsocial-pipixia-trendingThis endpoint takes no parameters.
TikTok
Search posts
GET /v1/social/tiktok/searchsocial-tiktok-searchkeyword"TikTok"offset0search_id""Post details
GET /v1/social/tiktok/postsocial-tiktok-postitemId"7339393672959757570"region"US"Profiles
GET /v1/social/tiktok/usersocial-tiktok-useruniqueId·secUiduniqueId"tiktok"secUid""Comments
GET /v1/social/tiktok/commentssocial-tiktok-commentsaweme_id"7304809083817774382"cursor0count20current_region""User posts
GET /v1/social/tiktok/user-postssocial-tiktok-user-postssecUid"MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM"cursor0count15coverFormat2post_item_list_request_type0Trending
GET /v1/social/tiktok/trendingsocial-tiktok-trendingcount15region"US"Instagram
Search posts
GET /v1/social/instagram/searchsocial-instagram-searchkeyword"cat"pagination_tokenPost details
GET /v1/social/instagram/postsocial-instagram-postpost_url"https://www.instagram.com/p/DPwhVB-jo9k/"Profiles
GET /v1/social/instagram/usersocial-instagram-userusername"instagram"Comments
GET /v1/social/instagram/commentssocial-instagram-commentscode_or_url"DRhvwVLAHAG"sort_by"recent"pagination_token""User posts
GET /v1/social/instagram/user-postssocial-instagram-user-postsusername·user_idusername"instagram"user_id"18527"pagination_tokenTrending
GET /v1/social/instagram/trendingsocial-instagram-trendingmax_idYouTube
Search posts
GET /v1/social/youtube/searchsocial-youtube-searchkeyword·continuation_tokenkeyword"Python tutorial"continuation_tokenupload_datetypedurationfeaturessort_byPost details
GET /v1/social/youtube/postsocial-youtube-postvideo_id·video_urlvideo_id"dQw4w9WgXcQ"video_url"https://www.youtube.com/watch?v=dQw4w9WgXcQ"need_formattrueProfiles
GET /v1/social/youtube/usersocial-youtube-userchannel_id"UCXuqSBlHAE6Xw-yeJA0Tunw"Comments
GET /v1/social/youtube/commentssocial-youtube-commentsvideo_id"LuIL5JATZsc"language_code"zh-CN"country_code"US"sort_by"top"continuation_tokenneed_formattrueUser posts
GET /v1/social/youtube/user-postssocial-youtube-user-postschannel_id"UCJHBJ7F-nAIlMGolm0Hu4vg"language_code"zh-CN"country_code"US"continuation_tokenneed_formattrueX (Twitter)
Search posts
GET /v1/social/twitter/searchsocial-twitter-searchkeyword"Elon Musk"search_type"Top"cursorPost details
GET /v1/social/twitter/postsocial-twitter-posttweet_id"1808168603721650364"Profiles
GET /v1/social/twitter/usersocial-twitter-userscreen_name·rest_idscreen_name"elonmusk"rest_id"44196397"Comments
GET /v1/social/twitter/commentssocial-twitter-commentstweet_id"1835124037934367098"cursorUser posts
GET /v1/social/twitter/user-postssocial-twitter-user-postsscreen_name·rest_idscreen_name"elonmusk"rest_id"44196397"cursorTrending
GET /v1/social/twitter/trendingsocial-twitter-trendingcountry"UnitedStates"Reddit
Search posts
GET /v1/social/reddit/searchsocial-reddit-searchlanguage"en-US"query"python programming"search_type"post"sort"RELEVANCE"time_range"all"safe_search"unset"allow_nsfw"0"after""need_formatfalsePost details
GET /v1/social/reddit/postsocial-reddit-postlanguage"en-US"post_id"t3_1ojnh50"include_comment_idfalsecomment_id""need_formatfalseProfiles
GET /v1/social/reddit/usersocial-reddit-userlanguage"en-US"username"spez"need_formatfalseComments
GET /v1/social/reddit/commentssocial-reddit-commentslanguage"en-US"post_id"t3_1ojnvca"sort_type"CONFIDENCE"after""need_formatfalseUser posts
GET /v1/social/reddit/user-postssocial-reddit-user-postslanguage"en-US"username"spez"sort"NEW"after""need_formatfalseTrending
GET /v1/social/reddit/trendingsocial-reddit-trendinglanguage"en-US"need_formatfalseLinkedIn
Post details
GET /v1/social/linkedin/postsocial-linkedin-posturl"https://www.linkedin.com/posts/orlenchner_scrapecon-activity-7180537307521769472-oSYN"Profiles
GET /v1/social/linkedin/usersocial-linkedin-userurl"https://www.linkedin.com/in/williamhgates/"Comments
GET /v1/social/linkedin/commentssocial-linkedin-commentsurn"7267273010393358336"sort_bypagepagination_tokenshare_urnUser posts
GET /v1/social/linkedin/user-postssocial-linkedin-user-postsurl"https://www.linkedin.com/in/williamhgates/"type"posts"startpagination_tokenThreads
Search posts
GET /v1/social/threads/searchsocial-threads-searchquery"bitcoin"Post details
GET /v1/social/threads/postsocial-threads-postpost_id"3349029093483693129"Profiles
GET /v1/social/threads/usersocial-threads-userusername"jlo"User posts
GET /v1/social/threads/user-postssocial-threads-user-postsuser_id"63625256886"end_cursorLemon8
Search posts
GET /v1/social/lemon8/searchsocial-lemon8-searchquery"lemon8"max_cursor""filter_type""order_by""search_tab"main"Post details
GET /v1/social/lemon8/postsocial-lemon8-postitem_id"7361926875709129222"Profiles
GET /v1/social/lemon8/usersocial-lemon8-useruser_id"7217844966059656197"Comments
GET /v1/social/lemon8/commentssocial-lemon8-commentsgroup_id"7361926875709129222"item_id"7361926875709129222"media_id"7428056850216862763"offset"0"Trending
GET /v1/social/lemon8/trendingsocial-lemon8-trendingThis endpoint takes no parameters.