PeumeAPI

Social media data · YouTube

YouTube channel videos by id or username — views, dates

Fetches a paginated list of videos uploaded by a YouTube channel, including each video's title, URL, thumbnail, view count (views), publish date, duration, and description.

$0.0028 per callUsually answers in a few seconds

Call it

curl https://api.peume.com/v1/call/youtube-channel-videos-by-id-or-username-views-dates \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "channelId": "UC-9-kyTW8ZkZNDHQJ6FgpwQ",
    "handle": "ThePatMcAfeeShow",
    "sort": "latest",
    "continuationToken": "4qmFsgKrCBIYVUNkRkpXVWE0M3NtUm00SXBIQnB",
    "is_paid_promotions": "false",
    "includeExtras": "false"
  }
}'

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-channel-videos-by-id-or-username-views-dates.

Parameters

channelIdstring

YouTube channel ID

Example: UC-9-kyTW8ZkZNDHQJ6FgpwQ

handlestring

YouTube channel handle

Example: ThePatMcAfeeShow

sortstring

Sort by latest or popular

Example: latest

continuationTokenstring

Continuation token to get more videos. Get 'continuationToken' from previous response.

Example: 4qmFsgKrCBIYVUNkRkpXVWE0M3NtUm00SXBIQnB

is_paid_promotionsstring

Set to 'true' to search YouTube's public paid product placement / sponsorship / endorsement search surface. This returns normal YouTube videos where the creator declared paid promotion. Cannot be combined with filter,...

Example: false

includeExtrasstring

This will get you the like + comment count and the description. To get the full details of the video, use the /v1/youtube/video endpoint. Honestly, if you use this param, the error rate is higher. We might deprecate t...

Example: false

Other ways to do it

Same job, other sources, cheapest first.

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.