{"uid":"cap_4vd51Iz6riuS4yPcZhvog","slug":"agdata-youtube-search-profile-api-bd76a349","name":"agdata YouTube Search & Profile API","description":"Unblocking and fresh web data for AI agents. Social, maps, search, news, jobs and reviews as structured data, and unblocking for any other page, as Markdown or HTML. Pay per call in stablecoins over x402 or MPP, with no API key, no account and no proxy setup. (x402 on Base and Polygon (plus Solana on most routes) or MPP on Base)","url":"https://agdata.shveik.dev/mpp/youtube?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"mode":{"enum":["profile","search"],"type":"string"},"limit":{"type":"integer","maximum":20,"minimum":1},"query":{"type":"string","maxLength":500}}},"responseSchema":{"type":"json","example":{"id":"QhD015WU…","url":"https://…","likes":13000,"title":"Beginner…","views":483801,"thumbnail":"https://…","channel_id":"UCZDA1kA…","channel_url":"https://…","description":"The web…","subscribers":627000,"channel_name":"Tinkernu…","published_at":"2021-11-…","comments_count":232,"duration_seconds":456}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.032","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.032/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.032","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.032","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_c_PSHyl0RG5pjpEsNbi4z","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.032","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches structured YouTube video data by searching keywords or retrieving a channel's videos, returning rich metadata like views, likes, subscribers, and thumbnails.","exampleAgentPrompt":"Search YouTube for 'beginner Python tutorials' and give me the top 10 results with their titles, view counts, and channel names.","exampleUseCases":[{"title":"Competitor content research","prompt":"Search YouTube for 'electric vehicle reviews 2024' and return the top 15 videos with their titles, view counts, likes, and channel subscriber counts so I can see who's dominating that topic."},{"title":"Creator channel video audit","prompt":"Get me the latest videos from the YouTube channel 'mkbhd' — up to 20 — with their view counts, durations, and publish dates."},{"title":"Trending topic discovery","prompt":"Find the top 10 YouTube videos about 'sourdough bread baking' and show me which ones have the most views and comments so I can identify the most engaging content."}],"resultDescription":"Returns a JSON object (or array) with structured video metadata for each result, including: video ID, URL, title, description, thumbnail URL, view count, like count, comment count, duration in seconds, publish date, channel name, channel ID, channel URL, and subscriber count of the channel.","failureModes":["Invalid mode value (not 'profile' or 'search') returns a validation error","Query string exceeding 500 characters is rejected","Limit outside 1–20 range is rejected","Channel not found returns empty results or 404-equivalent","Payment failure (insufficient USDC balance or unsupported chain) blocks the request","YouTube rate limiting or blocking on the backend may return partial or empty results","Non-existent or private YouTube channel returns no data"],"whenToPreferThis":"Choose this endpoint when you need structured YouTube video metadata (views, likes, subscribers, thumbnails) without setting up the official YouTube Data API, managing API keys, or handling proxy infrastructure. It's ideal for AI agents that need fresh YouTube data on demand, pay per call in stablecoins, and want results as clean JSON rather than raw HTML. Prefer it over the official YouTube API when you want zero-setup access or need to avoid quota limits.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T06:37:56.048Z","isFirstParty":false,"canonicalSlug":"agdata-youtube-search-profile-api-bd76a349"}