PeumeAPI

Social media data · Douyin

Douyin Comments

Pull viewer comments on a Douyin video.

$0.00083 per result

Call it

curl https://api.peume.com/v1/call/douyin-comments \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "limit": 20,
    "url": "your url"
  }
}'

Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: douyin-comments.

Parameters

page_tokenstring

Page token for `user_posts` and `comments`. To start paging, send an empty string `page_token=""`; then pass back the previous response's `next_page_token` exactly as received to get the next page, keeping every other parameter unchanged. Tokens last 24 hours and only work for the same account and the same parameters; an expired or mismatched token returns 422, so start again from the first page. On the last page the response has no `next_page_token` (`pagination.has_more` is false). Each `user_posts` page is one call and holds up to 20 rows, newest first, and is not filtered by `since` (filte

limitinteger

Maximum number of results, 1 to 150 (default 20). For some actions it counts pages or items per parent rather than final rows.

Example: 20

urlRequiredstring

Full URL of the target Douyin video, formatted as `https://www.douyin.com/video/<video_id>`. Fetches video details in `video`, comments in `comments`, the replies under one comment in `comment_replies` (the video the comment sits on), audio transcripts in `transcript`, the videos recommended next to it in `related_posts`, or its count history in `post_history`. Do not pass user profile or search page URLs.

Start free · $1 of calls included

Every API your product needs. One key.

7,267 endpoints, one bill, and you only pay for calls that work.