PeumeAPI

Search & SEO · YouTube

YouTube Comments

Fetch top comments on a YouTube video with authors and like counts.

$0.003 per call

Call it

curl https://api.peume.com/v1/call/youtube-comments \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "video_id": "your video id"
  }
}'

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: youtube-comments.

Parameters

video_idRequiredstring

YouTube video id, e.g. 'Y8Wu4rSNJms'.

location_namestring

Full location name exactly as listed in the locations dictionary, e.g. 'London,England,United Kingdom' or 'United States'.

location_codeinteger

Numeric location code from the locations dictionary, e.g. 2840 (United States).

language_namestring

Full language name, e.g. 'English'.

language_codestring

Language code, e.g. 'en'.

devicestring

Device type

osstring

Os

depthinteger

Comments to collect (1-200, default 20). The vendor returns whole pages of 20, so depth is rounded up to the next multiple of 20: depth 10 returns 20 comments, depth 30 returns 40. Billed per page of 20; trim the list client-side if you need fewer.

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.