youtube_youtube_search_videos $0.001 per call

Search YouTube videos by keyword (YouTube · YouTube)

For AI agents: call youtube_youtube_search_videos
POST https://toll402.dev/v1/p/youtube.youtube.search.videos
{
 "part": "snippet",
 "q": "coffee",
 "type": "video",
 "publishedAfter": "2026-01-01T00:00:00Z",
 "regionCode": "US",
 "maxResults": 10
}
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": {
  "part": {
   "type": "string",
   "examples": [
    "snippet"
   ]
  },
  "q": {
   "type": "string",
   "examples": [
    "coffee"
   ]
  },
  "type": {
   "type": "string",
   "description": "video | channel | playlist; omit to mix all three",
   "examples": [
    "video"
   ]
  },
  "order": {
   "type": "string",
   "description": "relevance (default) | date | viewCount | rating | title"
  },
  "publishedAfter": {
   "type": "string",
   "description": "RFC 3339 timestamp",
   "examples": [
    "2026-01-01T00:00:00Z"
   ]
  },
  "regionCode": {
   "type": "string",
   "description": "ISO 3166-1 alpha-2",
   "examples": [
    "US"
   ]
  },
  "maxResults": {
   "type": "integer",
   "description": "1–50, default 5",
   "examples": [
    10
   ]
  }
 },
 "additionalProperties": true,
 "required": [
  "part",
  "q"
 ],
 "description": "search results carry NO statistics — pass the returned video ids to youtube.video.detail for view/like counts"
}

MCP

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

All tools · OpenAPI