API reference · beta

Social data API reference

101 available GET endpoints. Platform-specific parameters, required alternatives and USD prices come from one public catalog snapshot.

Authentication and eligibility

Base URL: https://api.chinaapi.ai. Send Authorization: Bearer $CHINAAPI_API_KEY. A completed first top-up is required; this API shares your model key and balance.

Public social catalog (no authentication). Snapshot: 2026-09-29T22:19:36Z. Recheck the live catalog before integration because beta coverage and rates may change.

Beta: paid accounts only. Complete your first top-up before calling this API. Trial credits cannot be used for social-data requests. This beta has no SLA and platform coverage may change.

You must comply with each platform's terms and applicable data rules. Do not use this API to build personal profiles. Login, contact extraction, engagement manipulation, and private or paid-content access are outside this beta.

Calls use your existing ChinaAPI key and balance. Only a successful HTTP 200 response with data is charged. Empty or failed results are not charged. A daily beta budget may return HTTP 429; retry after the UTC day resets. Repeating a successful request creates another billable call.

Responses, billing and errors

A successful response has this envelope. data contains the platform's original response structure; pagination fields are platform-specific.

{
  "object": "social.result",
  "platform": "PLATFORM",
  "capability": "CAPABILITY",
  "data": {
    "platform_specific_fields": "..."
  }
}

Use cursor, page and identifier fields exactly as listed below. Each successful page request is a separate billable call. Keep your key on the server; do not put it in browser code or public repositories.

Platform and capability reference

Expand an endpoint for all parameters and a curl example. Resource identifiers in examples must refer to the content you intend to retrieve.

Douyin · Post details — $0.002 / successful call

GET /v1/social/douyin/post

ParameterTypeRequiredDefaultExampleDescription
share_urlstringYes—"https://v.douyin.com/e3x2fjE/"Share link

curl request

curl --fail-with-body --get "https://api.chinaapi.ai/v1/social/douyin/post" \
  -H "Authorization: Bearer $CHINAAPI_API_KEY" \
  --data-urlencode 'share_url=https://v.douyin.com/e3x2fjE/'
Douyin · Profiles — $0.006 / successful call

GET /v1/social/douyin/user

ParameterTypeRequiredDefaultExampleDescription
sec_user_idstringYes—"MS4wLjABAAAAW9FWcqS7RdQAWPd2AA5fL_ilmqsIFUCQ_Iym6Yh9_cUa6ZRqVLjVQSUjlHrfXY1Y"User sec_user_id

curl request

curl --fail-with-body --get "https://api.chinaapi.ai/v1/social/douyin/user" \
  -H "Authorization: Bearer $CHINAAPI_API_KEY" \
  --data-urlencode 'sec_user_id=MS4wLjABAAAAW9FWcqS7RdQAWPd2AA5fL_ilmqsIFUCQ_Iym6Yh9_cUa6ZRqVLjVQSUjlHrfXY1Y'
Douyin · Comments — $0.002 / successful call

GET /v1/social/douyin/comments

ParameterTypeRequiredDefaultExampleDescription
aweme_idstringYes—"7372484719365098803"Video id
cursorintegerNo—0Cursor
countintegerNo—20Number

curl request

curl --fail-with-body --get "https://api.chinaapi.ai/v1/social/douyin/comments" \
  -H "Authorization: Bearer $CHINAAPI_API_KEY" \
  --data-urlencode 'aweme_id=7372484719365098803'
Douyin · User posts — $0.002 / successful call

GET /v1/social/douyin/user-posts

ParameterTypeRequiredDefaultExampleDescription
sec_user_idstringYes—"MS4wLjABAAAANXSltcLCzDGmdNFI2Q_QixVTr67NiYzjKOIP5s03CAE"User sec_user_id
max_cursorstringNo—"0"Maximum cursor
countintegerNo—20Number per page
filter_typestringNo—"0"Filter type

curl request

curl --fail-with-body --get "https://api.chinaapi.ai/v1/social/douyin/user-posts" \
  -H "Authorization: Bearer $CHINAAPI_API_KEY" \
  --data-urlencode 'sec_user_id=MS4wLjABAAAANXSltcLCzDGmdNFI2Q_QixVTr67NiYzjKOIP5s03CAE'
Xiaohongshu (RED) · Post details — $0.02 / successful call

GET /v1/social/xiaohongshu/post

Provide at least one of: note_id, share_text.

ParameterTypeRequiredDefaultExampleDescription
note_idstringNo—"697c0eee000000000a03c308"Note ID
share_textstringNo—"http://xhslink.com/o/8GqargIxrko"xhslink.com/xhslink.cn/Share link, supports xiaohongshu.com, xhslink.com, xhslink.cn

curl request

curl --fail-with-body --get "https://api.chinaapi.ai/v1/social/xiaohongshu/post" \
  -H "Authorization: Bearer $CHINAAPI_API_KEY" \
  --data-urlencode 'note_id=697c0eee000000000a03c308'
Xiaohongshu (RED) · Profiles — $0.02 / successful call

GET /v1/social/xiaohongshu/user

Provide at least one of: user_id, share_text.

ParameterTypeRequiredDefaultExampleDescription
user_idstringNo—"61b46d790000000010008153"User ID
share_textstringNo—"https://xhslink.com/m/3ZSCJZAMz0a"xhslink.com/xhslink.cn/Share link, supports xiaohongshu.com, xhslink.com, xhslink.cn

curl request

curl --fail-with-body --get "https://api.chinaapi.ai/v1/social/xiaohongshu/user" \
  -H "Authorization: Bearer $CHINAAPI_API_KEY" \
  --data-urlencode 'user_id=61b46d790000000010008153'
Xiaohongshu (RED) · Comments — $0.02 / successful call

GET /v1/social/xiaohongshu/comments

Provide at least one of: note_id, share_text.

ParameterTypeRequiredDefaultExampleDescription
note_idstringNo—"697c0eee000000000a03c308"Note ID
share_textstringNo—"http://xhslink.com/o/8GqargIxrko"xhslink.com/xhslink.cn/Share link, supports xiaohongshu.com, xhslink.com, xhslink.cn
cursorstringNo—""Pagination cursor, leave empty for first request
indexintegerNo—0Comment index, pass 0 for first request
pageAreastringNo—"UNFOLDED"Fold state: UNFOLDED (default), FOLDED.
sort_strategystringNo—"latest_v2"Sort strategy: default, latest_v2, like_count

curl request

curl --fail-with-body --get "https://api.chinaapi.ai/v1/social/xiaohongshu/comments" \
  -H "Authorization: Bearer $CHINAAPI_API_KEY" \
  --data-urlencode 'note_id=697c0eee000000000a03c308'
Xiaohongshu (RED) · User posts — $0.02 / successful call

GET /v1/social/xiaohongshu/user-posts

Provide at least one of: user_id, share_text.

ParameterTypeRequiredDefaultExampleDescription
user_idstringNo—"61b46d790000000010008153"User ID
share_textstringNo—"http://xhslink.com/o/8GqargIxrko"xhslink.com/xhslink.cn/Share link, supports xiaohongshu.com, xhslink.com, xhslink.cn
cursorstringNo—""Pagination cursor, leave empty for first request

curl request

curl --fail-with-body --get "https://api.chinaapi.ai/v1/social/xiaohongshu/user-posts" \
  -H "Authorization: Bearer $CHINAAPI_API_KEY" \
  --data-urlencode 'user_id=61b46d790000000010008153'
Kuaishou · Post details — $0.002 / successful call

GET /v1/social/kuaishou/post

ParameterTypeRequiredDefaultExampleDescription
share_textstringYes—"https://v.kuaishou.com/cNYP0Z"Photo URL

curl request

curl --fail-with-body --get "https://api.chinaapi.ai/v1/social/kuaishou/post" \
  -H "Authorization: Bearer $CHINAAPI_API_KEY" \
  --data-urlencode 'share_text=https://v.kuaishou.com/cNYP0Z'
Kuaishou · Profiles — $0.02 / successful call

GET /v1/social/kuaishou/user

ParameterTypeRequiredDefaultExampleDescription
user_idstringYes—"3xz63mn6fngqtiq"User ID

curl request

curl --fail-with-body --get "https://api.chinaapi.ai/v1/social/kuaishou/user" \
  -H "Authorization: Bearer $CHINAAPI_API_KEY" \
  --data-urlencode 'user_id=3xz63mn6fngqtiq'
Kuaishou · Comments — $0.002 / successful call

GET /v1/social/kuaishou/comments

ParameterTypeRequiredDefaultExampleDescription
photo_idstringYes—"3x7gxp2zhgjv832"Photo ID
pcursorstringNo——Comment cursor

curl request

curl --fail-with-body --get "https://api.chinaapi.ai/v1/social/kuaishou/comments" \
  -H "Authorization: Bearer $CHINAAPI_API_KEY" \
  --data-urlencode 'photo_id=3x7gxp2zhgjv832'
Kuaishou · User posts — $0.02 / successful call

GET /v1/social/kuaishou/user-posts

ParameterTypeRequiredDefaultExampleDescription
user_idstringYes—"903511772"User ID
pcursorstringNo—""Leave empty for the first request; then use pcursor from the previous response.
sortstringNo—"latest"latest (default, newest) / hot (popular)

curl request

curl --fail-with-body --get "https://api.chinaapi.ai/v1/social/kuaishou/user-posts" \
  -H "Authorization: Bearer $CHINAAPI_API_KEY" \
  --data-urlencode 'user_id=903511772'
Bilibili · Post details — $0.002 / successful call

GET /v1/social/bilibili/post

ParameterTypeRequiredDefaultExampleDescription
urlstringYes—"https://www.bilibili.com/video/BV1S5uKzzE4r"Video URL

curl request

curl --fail-with-body --get "https://api.chinaapi.ai/v1/social/bilibili/post" \
  -H "Authorization: Bearer $CHINAAPI_API_KEY" \
  --data-urlencode 'url=https://www.bilibili.com/video/BV1S5uKzzE4r'
Bilibili · Profiles — $0.002 / successful call

GET /v1/social/bilibili/user

ParameterTypeRequiredDefaultExampleDescription
uidstringYes—"178360345"User UID

curl request

curl --fail-with-body --get "https://api.chinaapi.ai/v1/social/bilibili/user" \
  -H "Authorization: Bearer $CHINAAPI_API_KEY" \
  --data-urlencode 'uid=178360345'
Bilibili · Comments — $0.002 / successful call

GET /v1/social/bilibili/comments

ParameterTypeRequiredDefaultExampleDescription
bv_idstringYes—"BV1M1421t7hT"Video id
pnintegerNo—1Page number

curl request

curl --fail-with-body --get "https://api.chinaapi.ai/v1/social/bilibili/comments" \
  -H "Authorization: Bearer $CHINAAPI_API_KEY" \
  --data-urlencode 'bv_id=BV1M1421t7hT'
Bilibili · User posts — $0.002 / successful call

GET /v1/social/bilibili/user-posts

ParameterTypeRequiredDefaultExampleDescription
uidstringYes—"178360345"User UID
pnintegerNo—1Page number, max 100
psintegerNo—25Page size, max 50
orderstringNo—"pubdate"Order method

curl request

curl --fail-with-body --get "https://api.chinaapi.ai/v1/social/bilibili/user-posts" \
  -H "Authorization: Bearer $CHINAAPI_API_KEY" \
  --data-urlencode 'uid=178360345'
Weibo · Post details — $0.002 / successful call

GET /v1/social/weibo/post

ParameterTypeRequiredDefaultExampleDescription
status_idstringYes—"5016922058656962"Weibo post ID

curl request

curl --fail-with-body --get "https://api.chinaapi.ai/v1/social/weibo/post" \
  -H "Authorization: Bearer $CHINAAPI_API_KEY" \
  --data-urlencode 'status_id=5016922058656962'
Weibo · Profiles — $0.002 / successful call

GET /v1/social/weibo/user

ParameterTypeRequiredDefaultExampleDescription
uidstringYes—"7648703289"User ID

curl request

curl --fail-with-body --get "https://api.chinaapi.ai/v1/social/weibo/user" \
  -H "Authorization: Bearer $CHINAAPI_API_KEY" \
  --data-urlencode 'uid=7648703289'
Weibo · Comments — $0.002 / successful call

GET /v1/social/weibo/comments

ParameterTypeRequiredDefaultExampleDescription
status_idstringYes—"5258708168476831"Weibo post ID
max_idstringNo——Pagination cursor
sort_typestringNo—"0"Sort type: 0=popularity, 1=time.

curl request

curl --fail-with-body --get "https://api.chinaapi.ai/v1/social/weibo/comments" \
  -H "Authorization: Bearer $CHINAAPI_API_KEY" \
  --data-urlencode 'status_id=5258708168476831'
Weibo · User posts — $0.002 / successful call

GET /v1/social/weibo/user-posts

ParameterTypeRequiredDefaultExampleDescription
uidstringYes—"7648703289"User ID
pageintegerNo—1Page number
filter_typestringNo—"all"Filter type
monthstringNo—"20251010"Time filter (YYYYMMDD).

curl request

curl --fail-with-body --get "https://api.chinaapi.ai/v1/social/weibo/user-posts" \
  -H "Authorization: Bearer $CHINAAPI_API_KEY" \
  --data-urlencode 'uid=7648703289'
Zhihu · Post details — $0.002 / successful call

GET /v1/social/zhihu/post

ParameterTypeRequiredDefaultExampleDescription
answer_idstringYes——Answer ID

curl request

curl --fail-with-body --get "https://api.chinaapi.ai/v1/social/zhihu/post" \
  -H "Authorization: Bearer $CHINAAPI_API_KEY" \
  --data-urlencode 'answer_id=YOUR_ANSWER_ID'
Zhihu · Profiles — $0.002 / successful call

GET /v1/social/zhihu/user

ParameterTypeRequiredDefaultExampleDescription
user_url_tokenstringYes——User ID

curl request

curl --fail-with-body --get "https://api.chinaapi.ai/v1/social/zhihu/user" \
  -H "Authorization: Bearer $CHINAAPI_API_KEY" \
  --data-urlencode 'user_url_token=YOUR_USER_URL_TOKEN'
Zhihu · Comments — $0.002 / successful call

GET /v1/social/zhihu/comments

ParameterTypeRequiredDefaultExampleDescription
answer_idstringYes——Answer ID
order_bystringNo—"score"Sort
limitstringNo—"20"Number of comments per page
offsetstringNo—""Offset

curl request

curl --fail-with-body --get "https://api.chinaapi.ai/v1/social/zhihu/comments" \
  -H "Authorization: Bearer $CHINAAPI_API_KEY" \
  --data-urlencode 'answer_id=YOUR_ANSWER_ID'
WeChat Channels · Post details — $0.02 / successful call

GET /v1/social/wechat-channels/post

Provide at least one of: object_id, export_id, share_url.

ParameterTypeRequiredDefaultExampleDescription
object_idstringNo—"14941130915890399732"Video objectId (numeric, highest priority)
export_idstringNo—""exportId from search results (starts with export/, expires soon)
object_nonce_idstringNo—""Optional objectNonceId (numeric, improves hit rate)
share_urlstringNo—""Share URL (https://weixin.qq.com/sph/…), used only when object_id and export_id are empty
rawbooleanNo—trueTrue=raw response; False=simplified parsed structure (recommended for media download)

curl request

curl --fail-with-body --get "https://api.chinaapi.ai/v1/social/wechat-channels/post" \
  -H "Authorization: Bearer $CHINAAPI_API_KEY" \
  --data-urlencode 'object_id=14941130915890399732'
WeChat Channels · Profiles — $0.02 / successful call

GET /v1/social/wechat-channels/user

ParameterTypeRequiredDefaultExampleDescription
usernamestringYes—"v2_060000231003b20faec8c6e4811dc1d4c602ee30b0771bbcf220c67926bb76ab7702ac335a53@finder"WeChat Channels finder username (v2_…@finder format)
rawbooleanNo—trueTrue=raw response; False=simplified parsed structure

curl request

curl --fail-with-body --get "https://api.chinaapi.ai/v1/social/wechat-channels/user" \
  -H "Authorization: Bearer $CHINAAPI_API_KEY" \
  --data-urlencode 'username=v2_060000231003b20faec8c6e4811dc1d4c602ee30b0771bbcf220c67926bb76ab7702ac335a53@finder'
WeChat Channels · Comments — $0.02 / successful call

GET /v1/social/wechat-channels/comments

ParameterTypeRequiredDefaultExampleDescription
object_idstringYes—"14941130915890399732"Video objectId (numeric)
last_bufferstringNo—""Pagination cursor (base64), leave empty for first page
comment_idstringNo—""Pass a commentId (numeric) to expand its replies, leave empty for first-level comments
rawbooleanNo—trueTrue=raw response; False=simplified parsed structure

curl request

curl --fail-with-body --get "https://api.chinaapi.ai/v1/social/wechat-channels/comments" \
  -H "Authorization: Bearer $CHINAAPI_API_KEY" \
  --data-urlencode 'object_id=14941130915890399732'
WeChat Channels · User posts — $0.02 / successful call

GET /v1/social/wechat-channels/user-posts

ParameterTypeRequiredDefaultExampleDescription
usernamestringYes—"v2_060000231003b20faec8c6e4811dc1d4c602ee30b0771bbcf220c67926bb76ab7702ac335a53@finder"WeChat Channels finder username (v2_…@finder format)
last_bufferstringNo—""Pagination cursor (base64), leave empty for first page
rawbooleanNo—trueTrue=raw response; False=simplified parsed structure (recommended for media download)

curl request

curl --fail-with-body --get "https://api.chinaapi.ai/v1/social/wechat-channels/user-posts" \
  -H "Authorization: Bearer $CHINAAPI_API_KEY" \
  --data-urlencode 'username=v2_060000231003b20faec8c6e4811dc1d4c602ee30b0771bbcf220c67926bb76ab7702ac335a53@finder'
WeChat Official Accounts · Post details — $0.02 / successful call

GET /v1/social/wechat-mp/post

ParameterTypeRequiredDefaultExampleDescription
urlstringYes—"https://mp.weixin.qq.com/s/TSNQKkRpN1qbKsT7BvzqIw"WeChat MP article URL (https://mp.weixin.qq.com/s/… or long URL with __biz)
rawbooleanNo—trueTrue=raw response; False=simplified parsed structure

curl request

curl --fail-with-body --get "https://api.chinaapi.ai/v1/social/wechat-mp/post" \
  -H "Authorization: Bearer $CHINAAPI_API_KEY" \
  --data-urlencode 'url=https://mp.weixin.qq.com/s/TSNQKkRpN1qbKsT7BvzqIw'
WeChat Official Accounts · Profiles — $0.02 / successful call

GET /v1/social/wechat-mp/user

ParameterTypeRequiredDefaultExampleDescription
usernamestringYes—"gh_363b924965e9"Official account username. Three forms are supported: `gh_…`, `gh_…@app` (mini-program-lin
rawbooleanNo—trueTrue=raw response; False=simplified parsed structure

curl request

curl --fail-with-body --get "https://api.chinaapi.ai/v1/social/wechat-mp/user" \
  -H "Authorization: Bearer $CHINAAPI_API_KEY" \
  --data-urlencode 'username=gh_363b924965e9'
WeChat Official Accounts · Comments — $0.02 / successful call

GET /v1/social/wechat-mp/comments

ParameterTypeRequiredDefaultExampleDescription
urlstringYes—"https://mp.weixin.qq.com/s/TSNQKkRpN1qbKsT7BvzqIw"mp.weixin.qq.com/s/…)/WeChat MP article URL (https://mp.weixin.qq.com/s/…)
bufferstringNo—""Pagination cursor, leave empty for first page; pass buffer from the previous response
comment_idstringNo——Optional article comment ID. Reuse data.content.comment_id from an article-details response when available to reduce retrieval work.
rawbooleanNo—trueTrue=raw response; False=simplified parsed structure

curl request

curl --fail-with-body --get "https://api.chinaapi.ai/v1/social/wechat-mp/comments" \
  -H "Authorization: Bearer $CHINAAPI_API_KEY" \
  --data-urlencode 'url=https://mp.weixin.qq.com/s/TSNQKkRpN1qbKsT7BvzqIw'
WeChat Official Accounts · User posts — $0.02 / successful call

GET /v1/social/wechat-mp/user-posts

ParameterTypeRequiredDefaultExampleDescription
usernamestringYes—"gh_363b924965e9"Official account username. Three forms are supported: `gh_…`, `gh_…@app` (mini-program-lin
page_sizeintegerNo—20next_offset/Articles per page (default 20). NOTE: WeChat currently ignores this parameter — the count is decided by the accou
offsetstringNo—""Pagination cursor (base64), leave empty for first page; for the next page pass next_offset from the previous response
item_show_typeintegerNo——Content tab: empty/0=articles (default), 5=videos, 7=audios, 8=image-text posts
rawbooleanNo—trueTrue=raw response; False=simplified parsed structure

curl request

curl --fail-with-body --get "https://api.chinaapi.ai/v1/social/wechat-mp/user-posts" \
  -H "Authorization: Bearer $CHINAAPI_API_KEY" \
  --data-urlencode 'username=gh_363b924965e9'
Toutiao · Post details — $0.002 / successful call

GET /v1/social/toutiao/post

ParameterTypeRequiredDefaultExampleDescription
aweme_idstringYes—"7450114952884503059"Post ID

curl request

curl --fail-with-body --get "https://api.chinaapi.ai/v1/social/toutiao/post" \
  -H "Authorization: Bearer $CHINAAPI_API_KEY" \
  --data-urlencode 'aweme_id=7450114952884503059'
Toutiao · Profiles — $0.002 / successful call

GET /v1/social/toutiao/user

ParameterTypeRequiredDefaultExampleDescription
user_idstringYes—"1352838578180211"User ID

curl request

curl --fail-with-body --get "https://api.chinaapi.ai/v1/social/toutiao/user" \
  -H "Authorization: Bearer $CHINAAPI_API_KEY" \
  --data-urlencode 'user_id=1352838578180211'
Toutiao · Comments — $0.002 / successful call

GET /v1/social/toutiao/comments

ParameterTypeRequiredDefaultExampleDescription
group_idstringYes—"7453372680222523931"Post ID
offsetstringYes—"0"Offset

curl request

curl --fail-with-body --get "https://api.chinaapi.ai/v1/social/toutiao/comments" \
  -H "Authorization: Bearer $CHINAAPI_API_KEY" \
  --data-urlencode 'group_id=7453372680222523931' \
  --data-urlencode 'offset=0'
Xigua Video · Post details — $0.002 / successful call

GET /v1/social/xigua/post

ParameterTypeRequiredDefaultExampleDescription
item_idstringYes—"7354954305222377999"Video id

curl request

curl --fail-with-body --get "https://api.chinaapi.ai/v1/social/xigua/post" \
  -H "Authorization: Bearer $CHINAAPI_API_KEY" \
  --data-urlencode 'item_id=7354954305222377999'
Xigua Video · Profiles — $0.002 / successful call

GET /v1/social/xigua/user

ParameterTypeRequiredDefaultExampleDescription
user_idstringYes—"52712347586"User id

curl request

curl --fail-with-body --get "https://api.chinaapi.ai/v1/social/xigua/user" \
  -H "Authorization: Bearer $CHINAAPI_API_KEY" \
  --data-urlencode 'user_id=52712347586'
Xigua Video · Comments — $0.002 / successful call

GET /v1/social/xigua/comments

ParameterTypeRequiredDefaultExampleDescription
item_idstringYes—"7354954305222377999"Video id
offsetintegerNo—0Offset
countintegerNo—20Count

curl request

curl --fail-with-body --get "https://api.chinaapi.ai/v1/social/xigua/comments" \
  -H "Authorization: Bearer $CHINAAPI_API_KEY" \
  --data-urlencode 'item_id=7354954305222377999'
Xigua Video · User posts — $0.002 / successful call

GET /v1/social/xigua/user-posts

ParameterTypeRequiredDefaultExampleDescription
user_idstringYes—"1922379661976311"User id
max_behot_timestringNo——Maximum behavior time

curl request

curl --fail-with-body --get "https://api.chinaapi.ai/v1/social/xigua/user-posts" \
  -H "Authorization: Bearer $CHINAAPI_API_KEY" \
  --data-urlencode 'user_id=1922379661976311'
Pipixia · Post details — $0.002 / successful call

GET /v1/social/pipixia/post

ParameterTypeRequiredDefaultExampleDescription
cell_idstringYes—"7411193113223371043"Video id
cell_typeintegerNo—1Video type

curl request

curl --fail-with-body --get "https://api.chinaapi.ai/v1/social/pipixia/post" \
  -H "Authorization: Bearer $CHINAAPI_API_KEY" \
  --data-urlencode 'cell_id=7411193113223371043'
Pipixia · Profiles — $0.002 / successful call

GET /v1/social/pipixia/user

ParameterTypeRequiredDefaultExampleDescription
user_idstringYes—"1020401"User id

curl request

curl --fail-with-body --get "https://api.chinaapi.ai/v1/social/pipixia/user" \
  -H "Authorization: Bearer $CHINAAPI_API_KEY" \
  --data-urlencode 'user_id=1020401'
Pipixia · Comments — $0.002 / successful call

GET /v1/social/pipixia/comments

ParameterTypeRequiredDefaultExampleDescription
cell_idstringYes—"7411193113223371043"Video id
cell_typeintegerNo—1Video type
offsetstringNo—"0"Page cursor

curl request

curl --fail-with-body --get "https://api.chinaapi.ai/v1/social/pipixia/comments" \
  -H "Authorization: Bearer $CHINAAPI_API_KEY" \
  --data-urlencode 'cell_id=7411193113223371043'
Pipixia · User posts — $0.002 / successful call

GET /v1/social/pipixia/user-posts

ParameterTypeRequiredDefaultExampleDescription
user_idstringYes—"1310254082831248"User id
cursorstringNo—"0"Page cursor
feed_countstringNo—"0"Page count

curl request

curl --fail-with-body --get "https://api.chinaapi.ai/v1/social/pipixia/user-posts" \
  -H "Authorization: Bearer $CHINAAPI_API_KEY" \
  --data-urlencode 'user_id=1310254082831248'
TikTok · Post details — $0.002 / successful call

GET /v1/social/tiktok/post

ParameterTypeRequiredDefaultExampleDescription
itemIdstringYes—"7339393672959757570"Video id
regionstringNo—"US"Region code, optional; affects content region, e.g. US/GB/JP/ID, default US.

curl request

curl --fail-with-body --get "https://api.chinaapi.ai/v1/social/tiktok/post" \
  -H "Authorization: Bearer $CHINAAPI_API_KEY" \
  --data-urlencode 'itemId=7339393672959757570'
TikTok · Profiles — $0.002 / successful call

GET /v1/social/tiktok/user

Provide at least one of: uniqueId, secUid.

ParameterTypeRequiredDefaultExampleDescription
uniqueIdstringNo—"tiktok"User uniqueId
secUidstringNo—""User secUid

curl request

curl --fail-with-body --get "https://api.chinaapi.ai/v1/social/tiktok/user" \
  -H "Authorization: Bearer $CHINAAPI_API_KEY" \
  --data-urlencode 'uniqueId=tiktok'
TikTok · Comments — $0.002 / successful call

GET /v1/social/tiktok/comments

ParameterTypeRequiredDefaultExampleDescription
aweme_idstringYes—"7304809083817774382"Video id
cursorintegerNo—0Page cursor
countintegerNo—20Number per page
current_regionstringNo—""Current region

curl request

curl --fail-with-body --get "https://api.chinaapi.ai/v1/social/tiktok/comments" \
  -H "Authorization: Bearer $CHINAAPI_API_KEY" \
  --data-urlencode 'aweme_id=7304809083817774382'
TikTok · User posts — $0.002 / successful call

GET /v1/social/tiktok/user-posts

ParameterTypeRequiredDefaultExampleDescription
secUidstringYes—"MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM"User secUid
cursorintegerNo—0Page cursor
countintegerNo—15Number per page, max 15
coverFormatintegerNo—2Cover format
post_item_list_request_typeintegerNo—0Sort type (deprecated, no longer effective)

curl request

curl --fail-with-body --get "https://api.chinaapi.ai/v1/social/tiktok/user-posts" \
  -H "Authorization: Bearer $CHINAAPI_API_KEY" \
  --data-urlencode 'secUid=MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM'
Instagram · Post details — $0.002 / successful call

GET /v1/social/instagram/post

ParameterTypeRequiredDefaultExampleDescription
post_urlstringYes—"https://www.instagram.com/p/DPwhVB-jo9k/"Post URL

curl request

curl --fail-with-body --get "https://api.chinaapi.ai/v1/social/instagram/post" \
  -H "Authorization: Bearer $CHINAAPI_API_KEY" \
  --data-urlencode 'post_url=https://www.instagram.com/p/DPwhVB-jo9k/'
Instagram · Profiles — $0.002 / successful call

GET /v1/social/instagram/user

ParameterTypeRequiredDefaultExampleDescription
usernamestringYes—"instagram"Instagram username

curl request

curl --fail-with-body --get "https://api.chinaapi.ai/v1/social/instagram/user" \
  -H "Authorization: Bearer $CHINAAPI_API_KEY" \
  --data-urlencode 'username=instagram'
Instagram · Comments — $0.004 / successful call

GET /v1/social/instagram/comments

ParameterTypeRequiredDefaultExampleDescription
code_or_urlstringYes—"DRhvwVLAHAG"Post shortcode or URL
sort_bystringNo—"recent"Sort by: recent or popular
pagination_tokenstringNo—""Pagination token

curl request

curl --fail-with-body --get "https://api.chinaapi.ai/v1/social/instagram/comments" \
  -H "Authorization: Bearer $CHINAAPI_API_KEY" \
  --data-urlencode 'code_or_url=DRhvwVLAHAG'
Instagram · User posts — $0.004 / successful call

GET /v1/social/instagram/user-posts

Provide at least one of: username, user_id.

ParameterTypeRequiredDefaultExampleDescription
usernamestringNo—"instagram"Username
user_idstringNo—"18527"User ID
pagination_tokenstringNo——Pagination token

curl request

curl --fail-with-body --get "https://api.chinaapi.ai/v1/social/instagram/user-posts" \
  -H "Authorization: Bearer $CHINAAPI_API_KEY" \
  --data-urlencode 'username=instagram'
YouTube · Post details — $0.002 / successful call

GET /v1/social/youtube/post

Provide at least one of: video_id, video_url.

ParameterTypeRequiredDefaultExampleDescription
video_idstringNo—"dQw4w9WgXcQ"Video ID
video_urlstringNo—"https://www.youtube.com/watch?v=dQw4w9WgXcQ"Video URL (ignored when video_id is provided).
need_formatbooleanNo—trueWhether to return cleaned payload

curl request

curl --fail-with-body --get "https://api.chinaapi.ai/v1/social/youtube/post" \
  -H "Authorization: Bearer $CHINAAPI_API_KEY" \
  --data-urlencode 'video_id=dQw4w9WgXcQ'
YouTube · Profiles — $0.002 / successful call

GET /v1/social/youtube/user

ParameterTypeRequiredDefaultExampleDescription
channel_idstringYes—"UCXuqSBlHAE6Xw-yeJA0Tunw"Channel ID

curl request

curl --fail-with-body --get "https://api.chinaapi.ai/v1/social/youtube/user" \
  -H "Authorization: Bearer $CHINAAPI_API_KEY" \
  --data-urlencode 'channel_id=UCXuqSBlHAE6Xw-yeJA0Tunw'
YouTube · Comments — $0.002 / successful call

GET /v1/social/youtube/comments

ParameterTypeRequiredDefaultExampleDescription
video_idstringYes—"LuIL5JATZsc"Video ID
language_codestringNo—"zh-CN"Language code
country_codestringNo—"US"Country code
sort_bystringNo—"top"Sort by
continuation_tokenstringNo——Pagination token
need_formatbooleanNo—trueWhether to clean and format the data

curl request

curl --fail-with-body --get "https://api.chinaapi.ai/v1/social/youtube/comments" \
  -H "Authorization: Bearer $CHINAAPI_API_KEY" \
  --data-urlencode 'video_id=LuIL5JATZsc'
YouTube · User posts — $0.002 / successful call

GET /v1/social/youtube/user-posts

ParameterTypeRequiredDefaultExampleDescription
channel_idstringYes—"UCJHBJ7F-nAIlMGolm0Hu4vg"Channel ID
language_codestringNo—"zh-CN"Language code
country_codestringNo—"US"Country code
continuation_tokenstringNo——Pagination token for next page
need_formatbooleanNo—trueWhether to clean and format the data

curl request

curl --fail-with-body --get "https://api.chinaapi.ai/v1/social/youtube/user-posts" \
  -H "Authorization: Bearer $CHINAAPI_API_KEY" \
  --data-urlencode 'channel_id=UCJHBJ7F-nAIlMGolm0Hu4vg'
X (Twitter) · Post details — $0.002 / successful call

GET /v1/social/twitter/post

ParameterTypeRequiredDefaultExampleDescription
tweet_idstringYes—"1808168603721650364"Tweet ID

curl request

curl --fail-with-body --get "https://api.chinaapi.ai/v1/social/twitter/post" \
  -H "Authorization: Bearer $CHINAAPI_API_KEY" \
  --data-urlencode 'tweet_id=1808168603721650364'
X (Twitter) · Profiles — $0.002 / successful call

GET /v1/social/twitter/user

Provide at least one of: screen_name, rest_id.

ParameterTypeRequiredDefaultExampleDescription
screen_namestringNo—"elonmusk"Screen Name
rest_idintegerNo—"44196397"User ID (If the user ID is used, the user name will be ignored)

curl request

curl --fail-with-body --get "https://api.chinaapi.ai/v1/social/twitter/user" \
  -H "Authorization: Bearer $CHINAAPI_API_KEY" \
  --data-urlencode 'screen_name=elonmusk'
X (Twitter) · Comments — $0.002 / successful call

GET /v1/social/twitter/comments

ParameterTypeRequiredDefaultExampleDescription
tweet_idstringYes—"1835124037934367098"Tweet ID
cursorstringNo——Cursor

curl request

curl --fail-with-body --get "https://api.chinaapi.ai/v1/social/twitter/comments" \
  -H "Authorization: Bearer $CHINAAPI_API_KEY" \
  --data-urlencode 'tweet_id=1835124037934367098'
X (Twitter) · User posts — $0.002 / successful call

GET /v1/social/twitter/user-posts

Provide at least one of: screen_name, rest_id.

ParameterTypeRequiredDefaultExampleDescription
screen_namestringNo—"elonmusk"Screen Name
rest_idintegerNo—"44196397"User ID
cursorstringNo——Cursor

curl request

curl --fail-with-body --get "https://api.chinaapi.ai/v1/social/twitter/user-posts" \
  -H "Authorization: Bearer $CHINAAPI_API_KEY" \
  --data-urlencode 'screen_name=elonmusk'
Reddit · Post details — $0.002 / successful call

GET /v1/social/reddit/post

ParameterTypeRequiredDefaultExampleDescription
languagestringNo—"en-US"Preferred response language as an IETF language tag; default: en-US
post_idstringYes—"t3_1ojnh50"Post ID
include_comment_idbooleanNo—falseInclude specific comment ID
comment_idstringNo—""Comment ID (when include_comment_id is True)
need_formatbooleanNo—falseWhether to clean and format the data

curl request

curl --fail-with-body --get "https://api.chinaapi.ai/v1/social/reddit/post" \
  -H "Authorization: Bearer $CHINAAPI_API_KEY" \
  --data-urlencode 'post_id=t3_1ojnh50'
Reddit · Profiles — $0.002 / successful call

GET /v1/social/reddit/user

ParameterTypeRequiredDefaultExampleDescription
languagestringNo—"en-US"Preferred response language as an IETF language tag; default: en-US
usernamestringYes—"spez"Username
need_formatbooleanNo—falseWhether to clean and format the data

curl request

curl --fail-with-body --get "https://api.chinaapi.ai/v1/social/reddit/user" \
  -H "Authorization: Bearer $CHINAAPI_API_KEY" \
  --data-urlencode 'username=spez'
Reddit · Comments — $0.002 / successful call

GET /v1/social/reddit/comments

ParameterTypeRequiredDefaultExampleDescription
languagestringNo—"en-US"Preferred response language as an IETF language tag; default: en-US
post_idstringYes—"t3_1ojnvca"Post ID
sort_typestringNo—"CONFIDENCE"Sort method: CONFIDENCE, NEW, TOP, HOT, CONTROVERSIAL, OLD, RANDOM
afterstringNo—""Pagination parameter for fetching next page
need_formatbooleanNo—falseWhether to clean and format the data

curl request

curl --fail-with-body --get "https://api.chinaapi.ai/v1/social/reddit/comments" \
  -H "Authorization: Bearer $CHINAAPI_API_KEY" \
  --data-urlencode 'post_id=t3_1ojnvca'
Reddit · User posts — $0.002 / successful call

GET /v1/social/reddit/user-posts

ParameterTypeRequiredDefaultExampleDescription
languagestringNo—"en-US"Preferred response language as an IETF language tag; default: en-US
usernamestringYes—"spez"Username
sortstringNo—"NEW"Sort method: NEW, TOP, HOT, CONTROVERSIAL
afterstringNo—""Pagination parameter
need_formatbooleanNo—falseWhether to clean and format the data

curl request

curl --fail-with-body --get "https://api.chinaapi.ai/v1/social/reddit/user-posts" \
  -H "Authorization: Bearer $CHINAAPI_API_KEY" \
  --data-urlencode 'username=spez'
LinkedIn · Post details — $0.002 / successful call

GET /v1/social/linkedin/post

ParameterTypeRequiredDefaultExampleDescription
urlstringYes—"https://www.linkedin.com/posts/orlenchner_scrapecon-activity-7180537307521769472-oSYN"Post or article URL

curl request

curl --fail-with-body --get "https://api.chinaapi.ai/v1/social/linkedin/post" \
  -H "Authorization: Bearer $CHINAAPI_API_KEY" \
  --data-urlencode 'url=https://www.linkedin.com/posts/orlenchner_scrapecon-activity-7180537307521769472-oSYN'
LinkedIn · Profiles — $0.016 / successful call

GET /v1/social/linkedin/user

ParameterTypeRequiredDefaultExampleDescription
urlstringYes—"https://www.linkedin.com/in/williamhgates/"Full profile URL

curl request

curl --fail-with-body --get "https://api.chinaapi.ai/v1/social/linkedin/user" \
  -H "Authorization: Bearer $CHINAAPI_API_KEY" \
  --data-urlencode 'url=https://www.linkedin.com/in/williamhgates/'
LinkedIn · Comments — $0.1 / successful call

GET /v1/social/linkedin/comments

ParameterTypeRequiredDefaultExampleDescription
urnstringYes—"7267273010393358336"Post activity urn
sort_bystringNo——Most relevant (default) | Most recent
pageintegerNo——Page number, starts at 1
pagination_tokenstringNo——Pagination token
share_urnstringNo——Share urn (optional)

curl request

curl --fail-with-body --get "https://api.chinaapi.ai/v1/social/linkedin/comments" \
  -H "Authorization: Bearer $CHINAAPI_API_KEY" \
  --data-urlencode 'urn=7267273010393358336'
LinkedIn · User posts — $0.1 / successful call

GET /v1/social/linkedin/user-posts

ParameterTypeRequiredDefaultExampleDescription
urlstringYes—"https://www.linkedin.com/in/williamhgates/"Profile URL
typestringNo—"posts"posts (posts/reposts) | comments (commented posts) | reactions (liked posts)
startintegerNo——Pagination offset
pagination_tokenstringNo——Pagination token

curl request

curl --fail-with-body --get "https://api.chinaapi.ai/v1/social/linkedin/user-posts" \
  -H "Authorization: Bearer $CHINAAPI_API_KEY" \
  --data-urlencode 'url=https://www.linkedin.com/in/williamhgates/'
Threads · Post details — $0.004 / successful call

GET /v1/social/threads/post

ParameterTypeRequiredDefaultExampleDescription
post_idstringYes—"3349029093483693129"Post ID

curl request

curl --fail-with-body --get "https://api.chinaapi.ai/v1/social/threads/post" \
  -H "Authorization: Bearer $CHINAAPI_API_KEY" \
  --data-urlencode 'post_id=3349029093483693129'
Threads · Profiles — $0.004 / successful call

GET /v1/social/threads/user

ParameterTypeRequiredDefaultExampleDescription
usernamestringYes—"jlo"Username

curl request

curl --fail-with-body --get "https://api.chinaapi.ai/v1/social/threads/user" \
  -H "Authorization: Bearer $CHINAAPI_API_KEY" \
  --data-urlencode 'username=jlo'
Threads · User posts — $0.004 / successful call

GET /v1/social/threads/user-posts

ParameterTypeRequiredDefaultExampleDescription
user_idstringYes—"63625256886"User ID
end_cursorstringNo——Pagination cursor (no pagination, has no effect)

curl request

curl --fail-with-body --get "https://api.chinaapi.ai/v1/social/threads/user-posts" \
  -H "Authorization: Bearer $CHINAAPI_API_KEY" \
  --data-urlencode 'user_id=63625256886'
Lemon8 · Post details — $0.002 / successful call

GET /v1/social/lemon8/post

ParameterTypeRequiredDefaultExampleDescription
item_idstringYes—"7361926875709129222"Post ID

curl request

curl --fail-with-body --get "https://api.chinaapi.ai/v1/social/lemon8/post" \
  -H "Authorization: Bearer $CHINAAPI_API_KEY" \
  --data-urlencode 'item_id=7361926875709129222'
Lemon8 · Profiles — $0.002 / successful call

GET /v1/social/lemon8/user

ParameterTypeRequiredDefaultExampleDescription
user_idstringYes—"7217844966059656197"User ID

curl request

curl --fail-with-body --get "https://api.chinaapi.ai/v1/social/lemon8/user" \
  -H "Authorization: Bearer $CHINAAPI_API_KEY" \
  --data-urlencode 'user_id=7217844966059656197'
Lemon8 · Comments — $0.002 / successful call

GET /v1/social/lemon8/comments

ParameterTypeRequiredDefaultExampleDescription
group_idstringYes—"7361926875709129222"Post's group_id
item_idstringYes—"7361926875709129222"Post's item_id
media_idstringYes—"7428056850216862763"Post's media_id
offsetstringNo—"0"Pagination parameter

curl request

curl --fail-with-body --get "https://api.chinaapi.ai/v1/social/lemon8/comments" \
  -H "Authorization: Bearer $CHINAAPI_API_KEY" \
  --data-urlencode 'group_id=7361926875709129222' \
  --data-urlencode 'item_id=7361926875709129222' \
  --data-urlencode 'media_id=7428056850216862763'