{"uid":"cap_4w7f8K_ZVU0J3kpCZRyHg","slug":"meld402-web-video-search-4d010e16","name":"meld402 Web Video Search","description":"14 paid data endpoints for autonomous agents and developers. Covers crypto intelligence (token, chain, Solana, gas), markets (FX, market pulse), location (weather), and research (news, brief). Each route aggregates multiple public sources into one stable schema with a single USDC payment over x402 on Base.","url":"https://meld402.vercel.app/api/web/video","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"gl":{"type":"string","default":"us","maxLength":2,"minLength":2,"description":"Country code"},"hl":{"type":"string","default":"en","maxLength":2,"minLength":2,"description":"Language code"},"num":{"type":"integer","default":10,"maximum":20,"minimum":1,"description":"Number of videos"},"query":{"type":"string","maxLength":500,"minLength":1,"description":"Video search query"},"duration":{"enum":["short","medium","long"],"type":"string","description":"Video duration filter"}}},"responseSchema":{"type":"json","example":{"data":{"query":"how to train a neural network","videos":[{"url":"https://youtube.com/watch?v=abc123","date":"2023-01-15T00:00:00Z","title":"Neural Networks from Scratch","views":2500000,"engine":"youtube","channel":"3Blue1Brown","duration":"20:15","position":1},{"url":"https://youtube.com/watch?v=def456","date":"2023-03-20T00:00:00Z","title":"PyTorch Tutorial for Beginners","views":850000,"engine":"youtube","channel":"Sentdex","duration":"45:30","position":2}],"total_results":1200000},"meta":{"as_of":"2026-08-24T00:00:00.000Z","sources":["serpapi"],"degraded":[],"attribution":["Search data by SerpApi (serpapi.com)"]}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.15","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.15/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.15","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.15","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_V2edZSDcfXTCEuDnL5BxJ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.15","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Searches for videos on YouTube and other sources using a query, returning ranked results with titles, URLs, views, channels, and durations — paid per request via USDC over x402.","exampleAgentPrompt":"Search for the top 10 English-language YouTube videos about 'machine learning for beginners' — filter for medium-length videos and use US results.","exampleUseCases":[{"title":"Tutorial discovery for learning agents","prompt":"Find me the top 5 long YouTube videos about 'how to build a REST API in Python' — I want results in English for a US audience."},{"title":"Trend monitoring for content teams","prompt":"Search for the 20 most recent videos about 'generative AI news' so I can see what's trending right now — give me US English results."},{"title":"Short-form content research","prompt":"Look up the top 10 short videos on YouTube about 'sourdough bread recipe' in English — I want to see which channels are covering it and how many views they have."}],"resultDescription":"Returns a JSON object with a ranked list of up to 20 videos, each including the video URL, title, channel name, view count, publication date, duration, search engine source, and position. Also includes total result count, the original query, timestamp of the data, sources used (e.g. SerpApi), and attribution details.","failureModes":["Empty or missing query returns a validation error","num outside 1–20 range returns a schema error","gl or hl not valid 2-letter codes returns a validation error","Upstream SerpApi outage may result in degraded or empty results with the degraded field populated","Payment failure over x402 returns 402 before any data is served","Very niche queries may return few or zero results"],"whenToPreferThis":"Use this endpoint when an AI agent needs structured, ranked video search results from YouTube without managing a direct SerpApi subscription. It is ideal for agents that need to discover tutorials, trending content, or channel-specific videos on demand, paid per call in USDC with no API key management. Prefer this over raw SerpApi when you need a stable schema, x402 micropayment compatibility, and multi-source aggregation under one call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:44:33.899Z","isFirstParty":false}