{"uid":"cap_8y7rVLT1p7bDGcxtQzlDm","slug":"sna4an-youtube-data-api-edc2e919","name":"Sna4an YouTube Data API","description":"Social media data APIs - YouTube, TikTok, Instagram, Twitter, Medium","url":"https://sna4an-social.vercel.app/api/yt-api","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.09","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.09/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.09","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.09","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ZvHudhPzurVBciEMRLPyd","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.09","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 results, trending, comments) via a RapidAPI-backed proxy endpoint using path-based sub-endpoint routing","exampleAgentPrompt":"Can you pull the YouTube video details and stats for video ID 'dQw4w9WgXcQ' — I need the title, view count, like count, and channel name?","exampleUseCases":[{"title":"Monitor competitor channel growth trends","prompt":"Check the subscriber count and recent video stats for our competitor's YouTube channel — I need to track if they're gaining momentum faster than us this quarter."},{"title":"Find viral content in your niche","prompt":"Search YouTube for the top trending videos about sustainable fashion and pull back the view counts, like ratios, and channel names so I can see who's winning the conversation."},{"title":"Analyze audience sentiment via comments","prompt":"Grab the last 50 comments from our latest product launch video and show me the overall sentiment — are people excited, confused, or critical about what we announced?"}],"resultDescription":"Returns a JSON object containing YouTube data corresponding to the requested sub-endpoint — could include video metadata (title, description, duration, views, likes), channel info (subscriber count, name, thumbnails), search result lists, or comment threads, depending on the 'path' and 'params' provided.","failureModes":["Invalid or unsupported 'path' sub-endpoint returns an error or empty response","Missing required query parameters for the sub-endpoint cause a bad request or malformed response","Payment not received (402) blocks the request from being processed","RapidAPI rate limit exceeded returns a quota error","Non-existent video ID or channel ID returns empty or null data","Vercel cold start may add latency on first call"],"whenToPreferThis":"Choose this endpoint when you need programmatic access to YouTube data — video metadata, search results, trending content, channel stats, or comments — without setting up your own YouTube Data API key. Useful for agents that need to enrich content pipelines, monitor YouTube channels, or analyze video performance at $0.09 per call with x402 micropayment settlement.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:30:52.475Z","isFirstParty":false}