serpapi_youtube_search_videos $0.01875 per call

YouTube video search for a query — views, channels. Search YouTube videos by keyword and get titles, channels, view counts and links (SerpApi · YouTube)

For AI agents: call serpapi_youtube_search_videos
POST https://toll402.dev/v1/p/serpapi.youtube.search.videos
{
 "engine": "youtube",
 "search_query": "coffee",
 "gl": "us",
 "hl": "en"
}
Answers 402 with x402 payment requirements; pay with any x402 client (@x402/fetch, x402 for Python, toll402-client, toll402-mcp) or send a prepaid-credits key as x-toll402-key (https://toll402.dev/credits). Paid per call via x402 (USDC on Base) or with a prepaid-credits key (x-toll402-key, card at /credits); charged only on success. Start at /llms.txt or connect the MCP server: npx -y toll402-mcp · remote https://toll402.dev/mcp.

Input schema

{
 "type": "object",
 "properties": {
  "engine": {
   "type": "string",
   "examples": [
    "youtube"
   ]
  },
  "search_query": {
   "type": "string",
   "description": "THE QUERY PARAM IS `search_query`, NOT `q` — sending `q` to this engine returns nothing",
   "examples": [
    "coffee"
   ]
  },
  "gl": {
   "type": "string",
   "description": "country code, e.g. us",
   "examples": [
    "us"
   ]
  },
  "hl": {
   "type": "string",
   "description": "interface language code, e.g. en",
   "examples": [
    "en"
   ]
  },
  "sp": {
   "type": "string",
   "description": "YouTube's encoded filter/pagination token — carries sort order, upload date and result-type filters"
  }
 },
 "additionalProperties": true,
 "required": [
  "engine",
  "search_query"
 ],
 "description": "answers arrive in `video_results`; the response may also carry `channel_results`, `movie_results`, `ads_results` and `serpapi_pagination`."
}

MCP

{"mcpServers":{"toll402":{"command":"npx","args":["-y","toll402-mcp"],"env":{"TOLL402_WALLET_KEY":"0x..."}}}}

All tools · OpenAPI