{"uid":"cap_ASrqClEMNA1M1NXCGqrvE","slug":"agentx-sale-youtube-search-ab97cde2","name":"agentx.sale YouTube Search","description":"YouTube search: up to 20 results with title, channel, views, publish age and thumbnails. GET ?q=<query>&limit=<1-20>&filter=<video|channel>","url":"https://agentx.sale/x402/youtube-search?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["q"],"properties":{"q":{"type":"string"},"limit":{"type":"integer"},"filter":{"enum":["video","channel"],"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"count":2,"query":"x402 payments","filter":"video","results":[{"url":"https://www.youtube.com/watch?v=S6wc6yvoZLY","title":"AI agents are paying each other now","views":"488,749 views","channel":"Fireship","videoId":"S6wc6yvoZLY"}]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_iSQ-AywzztQUPiJFdAKvz","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Search YouTube and retrieve up to 20 results with title, channel, views, publish age, and thumbnails","exampleAgentPrompt":"Search YouTube for 'sourdough bread recipe' and give me the top 10 video results, including titles, channels, view counts, and thumbnails.","exampleUseCases":[{"title":"Research trending YouTube content","prompt":"Search YouTube for 'electric vehicle 2025' and show me up to 15 video results with their titles, channels, view counts, and how old they are."},{"title":"Discover niche YouTube channels","prompt":"Find me up to 10 YouTube channels focused on 'urban gardening' — I want channel names and thumbnails so I can browse them."},{"title":"Competitive video landscape analysis","prompt":"Search YouTube for 'AI coding assistant tutorial' and return the top 20 videos — I need titles, view counts, and publish ages to understand what content is performing well."}],"resultDescription":"A list of up to 20 YouTube search results, each containing the video or channel title, channel name, view count, publish age (how long ago it was posted), and a thumbnail image URL. Results are filtered by type (video or channel) based on the query parameters.","failureModes":["Missing required 'q' parameter returns a 400 error","Limit value outside 1-20 range may be rejected or clamped","Invalid filter value (not 'video' or 'channel') returns a 400 error","Payment not provided or insufficient USDC results in 402 Payment Required","YouTube query returns zero results for very obscure or misspelled queries","Rate limiting or upstream YouTube availability issues may cause 5xx errors"],"whenToPreferThis":"Use this endpoint when you need programmatic YouTube search results with structured metadata (titles, channels, views, thumbnails, publish age) without scraping YouTube directly or using the official YouTube Data API. It is ideal for agents that need quick, pay-per-call access to YouTube data at $0.01 per query, especially when you want to filter results by videos or channels specifically.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-16T18:32:35.413Z","isFirstParty":false,"canonicalSlug":"agentx-sale-youtube-search-ab97cde2"}