PeumeAPI

Social media data · YouTube

List YouTube comments by id or parent comment id

comments.list — Retrieves a list of resources, possibly filtered.

$0.0005 per call

Call it

curl https://api.peume.com/v1/call/list-youtube-comments-by-id-or-parent-comment-id \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "part": "your part"
  }
}'

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: list-youtube-comments-by-id-or-parent-comment-id.

Parameters

idstring

Returns the comments with the given IDs for One Platform.

maxResultsinteger

The *maxResults* parameter specifies the maximum number of items that should be returned in the result set.

pageTokenstring

The *pageToken* parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken properties identify other pages that could be retrieved.

parentIdstring

Returns replies to the specified comment. Note, currently YouTube features only one level of replies (ie replies to top level comments). However replies to replies may be supported in the future.

partRequiredstring

The *part* parameter specifies a comma-separated list of one or more comment resource properties that the API response will include.

textFormatstring

The requested text format for the returned comments.

textFormatUnspecified · html · plainText

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.