{"uid":"cap_hRyHx8cKyvIsDTS6RNEHP","slug":"agent-social-relay-youtube-videos-4c26326a","name":"Agent Social Relay – YouTube Videos","description":"Pay-per-call public social data API for autonomous agents. No social account login required.","url":"https://agent-social-relay.biv-ai-lab.workers.dev/v1/youtube/videos?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":["handle"],"properties":{"sort":{"enum":["latest","popular"],"type":"string"},"handle":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"data":{"next":null,"videos":[]},"source":"youtube","fetched_at":"2026-09-25T12:00:00.000Z"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.04","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.04/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.04","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.04","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_VAB-VlVNs5gHu2eLDikOW","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.04","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches public YouTube video data for a given query or channel without requiring a YouTube account login, billed per call via x402.","exampleAgentPrompt":"Grab the latest public YouTube videos from the channel 'Fireship' — no login needed, just return the video titles, IDs, and upload dates.","exampleUseCases":[{"title":"Monitor competitor YouTube channel","prompt":"Pull the most recent videos from the YouTube channel 'MrBeast' so I can see what content they've posted this week — give me titles, video IDs, and publish dates."},{"title":"Keyword video research for content team","prompt":"Search YouTube for public videos about 'large language models' and return me the top results with their titles and metadata — I need this for a content research report."},{"title":"Automated newsletter with latest uploads","prompt":"Fetch the newest YouTube uploads from the channel 'Lex Fridman' so my newsletter agent can include the latest episode titles and links in today's digest."}],"resultDescription":"Returns a JSON object with a 'data' key containing a list of video objects (titles, IDs, metadata) and a pagination cursor ('next'), plus a 'source' field confirming 'youtube' and a 'fetched_at' ISO timestamp indicating when the data was retrieved.","failureModes":["Invalid or non-existent channel ID returns empty video list","Query returns no results, yielding an empty videos array","Rate limiting or upstream YouTube access issues may cause errors","Malformed request parameters may result in a 4xx response","Pagination cursor mismatch may skip or repeat results"],"whenToPreferThis":"Choose this endpoint when your agent needs public YouTube video data without managing a Google OAuth flow, YouTube Data API quotas, or social account credentials — especially in autonomous pipelines where per-call USDC micropayments (x402) are acceptable and simplicity of integration matters. Prefer this over direct YouTube API access when you want to avoid quota management and API key provisioning.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-14T12:31:39.982Z","isFirstParty":false,"canonicalSlug":"agent-social-relay-youtube-videos-4c26326a"}