{"uid":"cap_DJQ-4IfjPzHlN40hMl5ZX","slug":"sna4an-youtube-data-api-v2-3ea341fd","name":"Sna4an YouTube Data API v2","description":"Social media data APIs - YouTube, TikTok, Instagram, Twitter, Medium","url":"https://sna4an-social.vercel.app/api/yt-v2","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"path":{"type":"string","description":"RapidAPI sub-endpoint path"},"params":{"type":"object","description":"Query parameters"}}},"responseSchema":{"type":"object"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.135","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.135/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.135","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.135","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_dKReJFH908-xeh0Zm6kug","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.135","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches YouTube data (videos, channels, search, trends, comments, etc.) by proxying RapidAPI sub-endpoints via a pay-per-call x402 gateway","exampleAgentPrompt":"Can you search YouTube for the top videos about 'machine learning tutorials' and give me the titles, view counts, and channel names for the first 10 results?","exampleUseCases":null,"resultDescription":"A JSON object containing YouTube data corresponding to the queried sub-endpoint — could include video metadata (title, description, view count, likes, duration), channel info (subscribers, uploads), search result listings, comment threads, or trending video lists depending on the path and params supplied.","failureModes":["Invalid or unsupported RapidAPI sub-endpoint path returns an error or empty response","Missing required query parameters (e.g. video ID, search query) cause downstream API errors","Payment not settled via x402 protocol results in 402 response and no data returned","RapidAPI rate limits or quota exhaustion cause upstream failures","YouTube content region-locked or removed returns empty or error payload","Malformed params object causes request parsing failure"],"whenToPreferThis":"Use this endpoint when you need programmatic access to YouTube data (video info, channel stats, search results, comments, trends) without managing a YouTube Data API key or quota. Prefer this over direct YouTube API calls when operating in an agent context that supports x402 micropayments and you want pay-as-you-go access at $0.135 per call. Best suited for one-off lookups or low-to-medium volume enrichment tasks.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:36:11.832Z","isFirstParty":false}