Douyin User Posts
/douyin.user_postsList public posts from a Douyin user with normalized engagement data and pagination. `views` is always null, even on posts with many likes: the play count is not returned here, so do not read it as zero plays. Likes, comments, saves and shares are populated. For the play count, run TikHub `/api/v1/douyin/xingtu_v2/get_item_play_count` with a row's `id` as `item_id` and read `watch_cnt`. With `sort` `newest`, the first page starts with the account's pinned posts, which can be years old and come on top of `limit` (`limit` 10 has returned 13 rows); the rest of the page and the following pages run newest first. Sort on `createdUtc` before counting posts in a time window. Rows by another author…
What to tell it
Say these in your message. Your AI agent fills them in when it runs the tool.
- Sec user idNeededDouyin sec_user_id for the public account.
- CursorOptionalPagination cursor: pass the previous response's nextCursor; omit for the first page. A raw integer cursor is still accepted. Pages can overlap: a page may repe…
- RouteOptionalUpstream source to run on; omit for "tiger". tiger ($0.0012 per call, 94.5% uptime).One of tiger
- LimitOptionalRequested page size. Values up to 20 are recommended.Like
20 - SortOptionalPost order: newest, most-popular.One of newest, most-popular
Use it in chat
Paste this in chat with what you need, or type @ and pick it. Your AI agents also use it on their own when the work needs it.
@anyapi:/douyin.user_posts