PeumeAPI

Social media data · YouTube

Get YouTube Video

Get one YouTube video's details, chapters, and related videos.

$0.023 per call

Call it

curl https://api.peume.com/v1/call/get-youtube-video-3 \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "hl": "your hl",
    "next_page_token": "your next page token"
  }
}'

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: get-youtube-video-3.

Parameters

hlstring

The language to use for the Youtube video. It's a two or three-letter language code. (e.g., `en` for English, `es` for Spanish, or `fr` for French), optionally followed by a two-letter or three-digit region code (e.g., `en-gb` for British English, or `es-419` for Latin American Spanish).

next_page_tokenstring

The next page token. It is used for retrieving the next page results for related videos, comments or replies. It should be one of - `related_videos_next_page_token` - `comments_next_page_token` - `comments_sorting_token.token` - `replies_next_page_token` from the search results.

glstring

The country to use for the YouTube video. It's a two-letter country code. (e.g., `us` for the United States, `uk` for United Kingdom, or `fr` for France)

vstring

The Video ID.

json_restrictorstring

The fields you want to include in the output, reducing payload size for faster response. See the JSON Restrictor documentation for more details.

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.