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.
Pricing
| Condition | Charge |
|---|---|
| Each call | 2.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.
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
request_body | object | Yes | 用于获取指定抖音用户主页作品列表的请求体对象,包含必填的用户 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.count | integer | null | No | 每页数量/Page size | 10 |
request_body.cookie | string | null | No | 用户 www.douyin.com 网页版 Cookie/User www.douyin.com web Cookie | — |
request_body.cursor | string | null | No | 翻页游标(字符串),首页传 "0",后续传上一页响应里的 cursor/Pagination cursor (string), "0" for first page, then pass the cursor from the previous response | 0 |
request_body.sec_uid | string | Yes | 用户 sec_uid/User sec_uid | — |
Invocation example
Copy the request and explore its response example.
/agent-api/v1/tool/executeX-Api-Keycurl --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"
}
}
}'{
"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.

