Douyin Fetch Douplus User Posts

2.07 credits/call
ae_douyin_fetch_douplus_user_posts

Retrieve posts from a specified Douyin user's homepage, one page at a time. Inputs: - request_body (required): Object containing the following fields. - sec_uid (required string): The target user's sec_uid. - cursor (optional string or null): Pagination cursor, default "0". Use "0" for the first page, then use the cursor returned by the previous response. - count (optional integer or null): Page size, default 10. - cookie (optional string or null): The user's www.douyin.com web Cookie. Returns: The user's posts and pagination information in a response envelope. The detailed fields of individual posts and pagination data are not specified.

SocialVideo
2.07 credits/call

Pricing

2.07 credits/call
ConditionCharge
Each call2.07 credits/call

2.07 credits/call Charges are per query. A successful query is billed even if it returns no results.

Parameters

Optional parameters use the platform defaults when omitted.

ParameterTypeRequiredDescriptionDefault
request_bodyobjectYes用于获取指定抖音用户主页作品列表的请求体对象,包含必填的用户 sec_uid,以及可选的翻页游标 cursor、每页数量 count 和用户 www.douyin.com 网页版 Cookie(cookie)。/ Request body object for retrieving a specified Douyin user's homepage posts, containing the required user sec_uid and optional pagination cursor (cursor), page size (count), and user's www.douyin.com web Cookie (cookie).—
request_body.countinteger | nullNo每页数量/Page size10
request_body.cookiestring | nullNo用户 www.douyin.com 网页版 Cookie/User www.douyin.com web Cookie—
request_body.cursorstring | nullNo翻页游标(字符串),首页传 "0",后续传上一页响应里的 cursor/Pagination cursor (string), "0" for first page, then pass the cursor from the previous response0
request_body.sec_uidstringYes用户 sec_uid/User sec_uid—

Invocation example

Copy the request and explore its response example.

POST/agent-api/v1/tool/executeX-Api-Key
Request coderequest.sh
curl --request POST \
  --url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_douyin_fetch_douplus_user_posts' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "request_body": {
      "count": 20,
      "cursor": "1791518432000",
      "sec_uid": "MS4wLjABAAAAYqdC-XnEKdodGwGdQ8z-V4rJ9KNLqkL30MVIn2KGldfZJGSlXFVmBjJJm7OuILHp"
    }
  }
}'
Response exampleresponse.json
JSONPartial content
{
  "code": 200,
  "data": {
    "code": 0,
    "data": {
      "cursor": "0",
      "hasMore": false,
      "itemInfoList": []
    },
    "msg": "success"
  },
  "docs": "https://api.tikhub.io/#/Douyin-DouPlus-API/fetch_user_posts_api_v1_douyin_douplus_fetch_user_posts_post",
  "message": "Request successful. This request will incur a charge.",
  "message_zh": "请求成功,本次请求将被计费。",
  "params": {}
}

This example shows part of the response. Copied content is valid JSON.