PeumeAPI

Social media data · YouTube

Search YouTube

Search YouTube for videos, Shorts, channels, playlists, and live streams.

$0.0028 per call

Call it

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

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

Parameters

durationstring

Duration of the video. Only applies to videos (not shorts).

under_3_min · between_3_and_20_min · over_20_min

uploadDatestring

Upload date

today · this_week · this_month · this_year

queryRequiredstring

Search query. For stricter title matching, use YouTube's intitle: operator, for example intitle:"Foursquare Swarm". Quoted queries by themselves may still be broadened by YouTube when no fresh exact matches are available.

sortBystring

Sort by

relevance · popular

includeExtrasstring

This will get you the like + comment count and the description. To get the full details of the video, use the /youtube/video endpoint. *This will slow down the response slightly.*

typestring

Type of content to search for

videos · shorts · channels · playlists

regionstring

2 letter country code of the country to put the proxy in.

continuationTokenstring

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

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.