PeumeAPI

Social media data · YouTube

Search YouTube Shorts by keyword

Youtube: get shorts search (web_v2)

$0.0015 per callBackup source if the first one failsUsually answers in a few seconds

Call it

curl https://api.peume.com/v1/call/search-youtube-shorts-by-keyword \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "search_query": "Python编程",
    "language_code": "en-US",
    "country_code": "US",
    "time_zone": "America/Los_Angeles",
    "filter_mixed_content": true
  }
}'

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-shorts-by-keyword.

Parameters

search_queryRequiredstring

Search keyword

Example: Python编程

language_codestring

Language code

Example: en-US

country_codestring

Country code

Example: US

time_zonestring

Time zone

Example: America/Los_Angeles

upload_timestring

上传时间过滤 | Upload time filter for Shorts

sort_bystring

排序方式 | Sort by for Shorts

continuation_tokenstring

Pagination token

filter_mixed_contentboolean

Filter mixed content (long videos), default True

Example: true

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.