PeumeAPI

Social media data · YouTube

Search YouTube by keyword with filters

Youtube: get general 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-by-keyword-with-filters \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "search_query": "Python编程",
    "language_code": "zh-CN",
    "country_code": "US",
    "time_zone": "America/Los_Angeles"
  }
}'

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-by-keyword-with-filters.

Parameters

search_queryRequiredstring

Search keyword

Example: Python编程

language_codestring

Language code

Example: zh-CN

country_codestring

Country code

Example: US

time_zonestring

Time zone

Example: America/Los_Angeles

upload_timestring

上传时间过滤 | Upload time filter

durationstring

视频时长过滤 | Duration filter

content_typestring

内容类型过滤 | Content type filter

featurestring

特征过滤 | Feature filter

sort_bystring

排序方式 | Sort by

continuation_tokenstring

Pagination token

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.