{"openapi":"3.0.0","info":{"title":"x402vid — AI Video Intelligence","version":"1.0.0","description":"AI-powered YouTube video intelligence via Muse Spark 1.3 (Meta AI). YouTube transcript summarizer, AI-ranked YouTube video search, multi-video research reports, and podcast episode intelligence — podcasts on YouTube work with every tool. Pay per call in USDC on Base via x402. Try free first: health_check and video_preview cost nothing.","contact":{"name":"x402vid","url":"https://x402vid.com","email":"hello@x402vid.com"},"x-guidance":"Use POST /tools/search_and_rank_videos with JSON body {search_term: string, num_videos?: number} for AI-ranked search. Use POST /tools/get_video_intelligence with JSON body {video_url: string} for a full video report (works on podcast episodes too). Use POST /tools/analyze_youtube_topic with JSON body {search_term: string, num_videos?: number} for multi-video research. New to the service? Start free: GET /health or POST /tools/video_preview {video_url} cost nothing. Agent pipelines (cheapest path first): research = niche_research -> search_and_rank_videos -> get_video_intelligence; shorts = shorts_intelligence -> shorts_to_script; competitor = compare_channels -> grow_channel_report. Start pipelines at transcript_text ($0.001) for cheap caption pulls. All paid endpoints require x402 USDC payment via X-PAYMENT header (see x-payment-info for per-tool prices); unpaid probes receive HTTP 402 with a parseable x402 challenge."},"x-discovery":{"ownershipProofs":["0xcee93aae231c693905e09b8bce7b800c98b176e1"]},"servers":[{"url":"https://x402vid.com"}],"paths":{"/tools/search_and_rank_videos":{"post":{"operationId":"search_and_rank_videos","summary":"AI-Ranked YouTube Video Search","description":"Rank YouTube videos by relevance, credibility, and content quality. YouTube transcript summarizer and AI video search for research agents: returns an AI-ranked shortlist with relevance scores and reasoning generated by Muse Spark 1.3 (Meta AI).","x-payment-info":{"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.010000"},"payTo":"0xcee93aae231c693905e09b8bce7b800c98b176e1","network":"eip155:8453","token":"USDC"},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["search_term"],"properties":{"search_term":{"type":"string","description":"Topic or keyword to search for","example":"machine learning tutorial 2024"},"num_videos":{"type":"integer","description":"Number of results (default 5, max 20)","default":5,"maximum":20}}}}}},"responses":{"200":{"description":"AI-ranked video list with relevance scores and reasoning","content":{"application/json":{"schema":{"type":"object","properties":{"search_term":{"type":"string"},"videos":{"type":"array","items":{"type":"object"}},"ai_ranking":{"type":"object"},"model":{"type":"string"}}}}}},"402":{"description":"Payment Required"}}},"get":{"operationId":"search_and_rank_videos_get","summary":"AI-Ranked YouTube Video Search","description":"Rank YouTube videos by relevance, credibility, and content quality. YouTube transcript summarizer and AI video search for research agents: pass search_term as a query param for a pay-per-call AI-ranked shortlist.","x-payment-info":{"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.010000"},"payTo":"0xcee93aae231c693905e09b8bce7b800c98b176e1","network":"eip155:8453","token":"USDC"},"parameters":[{"name":"search_term","in":"query","required":true,"schema":{"type":"string"},"description":"Topic or keyword to search for","example":"machine learning tutorial 2024"},{"name":"num_videos","in":"query","required":false,"schema":{"type":"integer","default":5,"maximum":20},"description":"Number of results (default 5, max 20)"}],"responses":{"200":{"description":"AI-ranked video list with relevance scores and reasoning","content":{"application/json":{"schema":{"type":"object","properties":{"search_term":{"type":"string"},"videos":{"type":"array","items":{"type":"object"}},"ai_ranking":{"type":"object"},"model":{"type":"string"}}}}}},"402":{"description":"Payment Required"}}}},"/tools/get_video_intelligence":{"post":{"operationId":"get_video_intelligence","summary":"YouTube Transcript Summarizer + Video Intelligence Report","description":"YouTube transcript summarizer and video summarization report. Fetches captions for any YouTube video and returns an executive summary, key insights, notable quotes with timestamps, sentiment, content quality score, and actionable takeaways.","x-payment-info":{"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.050000"},"payTo":"0xcee93aae231c693905e09b8bce7b800c98b176e1","network":"eip155:8453","token":"USDC"},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["video_url"],"properties":{"video_url":{"type":"string","description":"YouTube video URL or video ID","example":"https://www.youtube.com/watch?v=dQw4w9WgXcQ"},"video_url_or_title":{"type":"string","description":"Alias for video_url (accepted for compatibility)"}}}}}},"responses":{"200":{"description":"Structured AI intelligence report","content":{"application/json":{"schema":{"type":"object","properties":{"video_id":{"type":"string"},"title":{"type":"string"},"channel":{"type":"string"},"url":{"type":"string"},"intelligence_report":{"type":"object"},"model":{"type":"string"}}}}}},"402":{"description":"Payment Required"}}}},"/tools/analyze_youtube_topic":{"post":{"operationId":"analyze_youtube_topic","summary":"Multi-Video YouTube Research Report","description":"Multi-video YouTube research report on any topic. Cross-analyzes up to 5 video transcripts to surface consensus views, contrasting viewpoints, knowledge gaps, expert credibility, and top insights.","x-payment-info":{"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.070000"},"payTo":"0xcee93aae231c693905e09b8bce7b800c98b176e1","network":"eip155:8453","token":"USDC"},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["search_term"],"properties":{"search_term":{"type":"string","description":"Topic to research across multiple videos","example":"AI agent frameworks comparison"},"num_videos":{"type":"integer","description":"Videos to analyze (default 3, max 5)","default":3,"maximum":5}}}}}},"responses":{"200":{"description":"Cross-video research report","content":{"application/json":{"schema":{"type":"object","properties":{"topic":{"type":"string"},"videos_analyzed":{"type":"array","items":{"type":"object"}},"research_report":{"type":"object"},"model":{"type":"string"}}}}}},"402":{"description":"Payment Required"}}}},"/tools/grow_channel_report":{"post":{"operationId":"grow_channel_report","summary":"YouTube Channel Growth Audit","description":"Channel growth audit for a specific YouTube channel. Give a channel URL, @handle, or channel ID; returns packaging grades with rewritten titles, niche demand validation, and a 90-day action plan. Slow call (audits multiple videos) — allow up to 5 minutes and set your client timeout accordingly.","x-payment-info":{"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.150000"},"payTo":"0xcee93aae231c693905e09b8bce7b800c98b176e1","network":"eip155:8453","token":"USDC"},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["channel_input"],"properties":{"channel_input":{"type":"string","description":"Channel URL, @handle, or UC channel ID","example":"https://www.youtube.com/@george.xander"},"format":{"type":"string","description":"Response format: html (default, styled report included) or json","default":"html","example":"html"}}}}}},"responses":{"200":{"description":"Channel growth audit with grades and 90-day plan","content":{"application/json":{"schema":{"type":"object","properties":{"channel":{"type":"object"},"videos_audited":{"type":"array","items":{"type":"object"}},"demand_proof":{"type":"array","items":{"type":"object"}},"growth_report":{"type":"object"},"model":{"type":"string"}}}}}},"402":{"description":"Payment Required"}}}},"/tools/transcript_markdown":{"post":{"operationId":"transcript_markdown","summary":"Raw Transcript as Markdown File","description":"Raw YouTube transcript formatted as a Markdown document with metadata header, minute-grouped sections, and timestamp links. No AI analysis — for summaries use get_video_intelligence.","x-payment-info":{"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.030000"},"payTo":"0xcee93aae231c693905e09b8bce7b800c98b176e1","network":"eip155:8453","token":"USDC"},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["video_url"],"properties":{"video_url":{"type":"string","description":"YouTube video URL or video ID","example":"https://www.youtube.com/watch?v=dQw4w9WgXcQ"}}}}}},"responses":{"200":{"description":"Markdown transcript with filename","content":{"application/json":{"schema":{"type":"object","properties":{"video_id":{"type":"string"},"title":{"type":"string"},"markdown":{"type":"string"},"filename":{"type":"string"}}}}}},"402":{"description":"Payment Required"}}}},"/tools/live_monitor":{"post":{"operationId":"live_monitor","summary":"Live Stream Monitor","description":"Live-now YouTube streams with concurrent viewers plus upcoming premieres on any topic, with a 3-sentence AI brief on which stream matters most. Trader sentinel for launches and sentiment.","x-payment-info":{"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.030000"},"payTo":"0xcee93aae231c693905e09b8bce7b800c98b176e1","network":"eip155:8453","token":"USDC"},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["topic"],"properties":{"topic":{"type":"string","description":"Keyword to monitor (e.g. bitcoin)","example":"bitcoin"},"region":{"type":"string","description":"2-letter region code","example":"US"},"include_upcoming":{"type":"boolean","description":"Also list scheduled premieres"},"num_videos":{"type":"integer","description":"Streams per bucket (default 10, max 15)","default":10,"maximum":15}}}}}},"responses":{"200":{"description":"Live Stream Monitor result","content":{"application/json":{"schema":{"type":"object","properties":{"topic":{"type":"string"},"live_now":{"type":"array"},"upcoming":{"type":"array"},"brief":{"type":"object"}}}}}},"402":{"description":"Payment Required"}}}},"/tools/transcript_text":{"post":{"operationId":"transcript_text","summary":"Bare Transcript Extraction","description":"Bare YouTube transcript extraction as plain text with timestamps, cleaned and LLM-ready for agent pipelines. Cheapest caption pull, no AI — for summaries use get_video_intelligence.","x-payment-info":{"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.001000"},"payTo":"0xcee93aae231c693905e09b8bce7b800c98b176e1","network":"eip155:8453","token":"USDC"},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["video_url"],"properties":{"video_url":{"type":"string","description":"YouTube video URL or video ID","example":"https://www.youtube.com/watch?v=dQw4w9WgXcQ"}}}}}},"responses":{"200":{"description":"Bare Transcript Extraction result","content":{"application/json":{"schema":{"type":"object","properties":{"video_id":{"type":"string"},"title":{"type":"string"},"transcript":{"type":"string"}}}}}},"402":{"description":"Payment Required"}}}},"/tools/niche_research":{"post":{"operationId":"niche_research","summary":"Niche and Keyword Research","description":"YouTube niche research with AI scoring: top videos by views for a keyword, demand verdict, saturation signal, opportunity grade, underserved angles, and winning title patterns.","x-payment-info":{"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.070000"},"payTo":"0xcee93aae231c693905e09b8bce7b800c98b176e1","network":"eip155:8453","token":"USDC"},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["keyword"],"properties":{"keyword":{"type":"string","description":"Niche or seed keyword to research","example":"sourdough for beginners"},"num_videos":{"type":"integer","description":"Videos to sample (default 8, max 12)","default":8,"maximum":12}}}}}},"responses":{"200":{"description":"Niche and Keyword Research result","content":{"application/json":{"schema":{"type":"object","properties":{"keyword":{"type":"string"},"videos_sampled":{"type":"array","items":{"type":"object"}},"niche_report":{"type":"object"}}}}}},"402":{"description":"Payment Required"}}}},"/tools/compare_channels":{"post":{"operationId":"compare_channels","summary":"Multi-Channel Competitor Comparison","description":"Compare 2-3 YouTube channels head to head with AI verdicts: scoreboard, packaging grades, tactics worth copying, gaps to exploit. Slow call — allow up to 5 minutes.","x-payment-info":{"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.250000"},"payTo":"0xcee93aae231c693905e09b8bce7b800c98b176e1","network":"eip155:8453","token":"USDC"},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["channels"],"properties":{"channels":{"type":"string","description":"2-3 channels, comma-separated (URLs, @handles, or UC ids)","example":"https://www.youtube.com/@george.xander, https://www.youtube.com/@someother"},"topic":{"type":"string","description":"Optional niche context for the comparison"}}}}}},"responses":{"200":{"description":"Multi-Channel Competitor Comparison result","content":{"application/json":{"schema":{"type":"object","properties":{"channels":{"type":"array","items":{"type":"object"}},"comparison_report":{"type":"object"}}}}}},"402":{"description":"Payment Required"}}}},"/tools/shorts_intelligence":{"post":{"operationId":"shorts_intelligence","summary":"YouTube Shorts Intelligence","description":"Top YouTube Shorts by views for a topic, analyzed for opening hooks, pacing, and repeatable formats. Podcast clips and short-form repurposing included where relevant.","x-payment-info":{"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.050000"},"payTo":"0xcee93aae231c693905e09b8bce7b800c98b176e1","network":"eip155:8453","token":"USDC"},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["search_term"],"properties":{"search_term":{"type":"string","description":"Topic to find breakout Shorts for","example":"sourdough scoring"},"num_videos":{"type":"integer","description":"Shorts to sample (default 8, max 12)","default":8,"maximum":12}}}}}},"responses":{"200":{"description":"YouTube Shorts Intelligence result","content":{"application/json":{"schema":{"type":"object","properties":{"search_term":{"type":"string"},"shorts_sampled":{"type":"array","items":{"type":"object"}},"shorts_report":{"type":"object"}}}}}},"402":{"description":"Payment Required"}}}},"/tools/title_optimizer":{"post":{"operationId":"title_optimizer","summary":"Title and Description Optimizer","description":"YouTube SEO copy generation: 3 CTR-ranked title rewrites under 60 chars, keyword-front-loaded description draft, and tags. Pure AI, no video lookup — fastest endpoint.","x-payment-info":{"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002000"},"payTo":"0xcee93aae231c693905e09b8bce7b800c98b176e1","network":"eip155:8453","token":"USDC"},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["title"],"properties":{"title":{"type":"string","description":"Working title to optimize","example":"My sourdough tutorial"},"niche":{"type":"string","description":"Optional niche for keyword targeting"}}}}}},"responses":{"200":{"description":"Title and Description Optimizer result","content":{"application/json":{"schema":{"type":"object","properties":{"original_title":{"type":"string"},"title_report":{"type":"object"}}}}}},"402":{"description":"Payment Required"}}}},"/tools/trending_on_youtube":{"post":{"operationId":"trending_on_youtube","summary":"Trending on YouTube","description":"Today's most-popular YouTube videos by region, optionally scored by AI against your niche with ways to ride trends.","x-payment-info":{"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.020000"},"payTo":"0xcee93aae231c693905e09b8bce7b800c98b176e1","network":"eip155:8453","token":"USDC"},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"region":{"type":"string","description":"2-letter region code (default US)","default":"US","example":"US"},"niche":{"type":"string","description":"Optional niche to score trends against"},"num_videos":{"type":"integer","description":"Videos to return (default 10, max 15)","default":10,"maximum":15}}}}}},"responses":{"200":{"description":"Trending on YouTube result","content":{"application/json":{"schema":{"type":"object","properties":{"region":{"type":"string"},"trending":{"type":"array","items":{"type":"object"}},"trending_report":{"type":"object"}}}}}},"402":{"description":"Payment Required"}}}},"/tools/analyze_comments":{"post":{"operationId":"analyze_comments","summary":"Comment Intelligence","description":"YouTube comment section mining: audience questions, sentiment, and the video ideas viewers are begging for.","x-payment-info":{"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.030000"},"payTo":"0xcee93aae231c693905e09b8bce7b800c98b176e1","network":"eip155:8453","token":"USDC"},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["video_url"],"properties":{"video_url":{"type":"string","description":"YouTube video URL or video ID","example":"https://www.youtube.com/watch?v=dQw4w9WgXcQ"},"max_comments":{"type":"integer","description":"Comments to sample (default 50, max 100)","default":50,"maximum":100}}}}}},"responses":{"200":{"description":"Comment Intelligence result","content":{"application/json":{"schema":{"type":"object","properties":{"video_id":{"type":"string"},"comments_sampled":{"type":"integer"},"comments_report":{"type":"object"}}}}}},"402":{"description":"Payment Required"}}}},"/tools/shorts_to_script":{"post":{"operationId":"shorts_to_script","summary":"Shorts Script Writer","description":"Shoot-ready YouTube Shorts script from a topic: hook, timestamped beats, caption overlays, CTA. Pure AI, pairs with shorts_intelligence patterns.","x-payment-info":{"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.020000"},"payTo":"0xcee93aae231c693905e09b8bce7b800c98b176e1","network":"eip155:8453","token":"USDC"},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["topic"],"properties":{"topic":{"type":"string","description":"Video topic for the script","example":"sourdough scoring mistakes"},"duration_secs":{"type":"integer","description":"Target length 15-90s (default 30)","default":30},"hook_style":{"type":"string","description":"Optional hook flavor (vs-battle, fear, curiosity)"}}}}}},"responses":{"200":{"description":"Shorts Script Writer result","content":{"application/json":{"schema":{"type":"object","properties":{"topic":{"type":"string"},"script_report":{"type":"object"}}}}}},"402":{"description":"Payment Required"}}}},"/tools/revenue_estimate":{"post":{"operationId":"revenue_estimate","summary":"Revenue Estimate","description":"YouTube ad-revenue range for a channel: niche CPM benchmarks, estimated monthly earnings, and an AI read on raising RPM.","x-payment-info":{"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.050000"},"payTo":"0xcee93aae231c693905e09b8bce7b800c98b176e1","network":"eip155:8453","token":"USDC"},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["channel_input"],"properties":{"channel_input":{"type":"string","description":"Channel URL, @handle, or UC channel ID","example":"https://www.youtube.com/@george.xander"},"monthly_views":{"type":"integer","description":"Optional known monthly views (else estimated)"}}}}}},"responses":{"200":{"description":"Revenue Estimate result","content":{"application/json":{"schema":{"type":"object","properties":{"monthly_views_assumed":{"type":"integer"},"estimated_monthly_usd":{"type":"array","items":{"type":"number"}},"revenue_report":{"type":"object"}}}}}},"402":{"description":"Payment Required"}}}},"/tools/thumbnail_concept":{"post":{"operationId":"thumbnail_concept","summary":"Thumbnail Concept","description":"Click-worthy thumbnail spec from video content: layout, max 3-word overlay text, mood, plus a ready-to-render image prompt. Text phase of thumbnail_creation.","x-payment-info":{"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.050000"},"payTo":"0xcee93aae231c693905e09b8bce7b800c98b176e1","network":"eip155:8453","token":"USDC"},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["video_url"],"properties":{"video_url":{"type":"string","description":"YouTube video URL or video ID","example":"https://www.youtube.com/watch?v=dQw4w9WgXcQ"},"niche":{"type":"string","description":"Optional niche for style targeting"}}}}}},"responses":{"200":{"description":"Thumbnail Concept result","content":{"application/json":{"schema":{"type":"object","properties":{"video_id":{"type":"string"},"thumbnail_concept":{"type":"object"}}}}}},"402":{"description":"Payment Required"}}}},"/tools/thumbnail_creation":{"post":{"operationId":"thumbnail_creation","summary":"Thumbnail Creation (Premium Render)","description":"AI image generation from a text prompt plus a photo: renders the thumbnail concept via Muse Image (16:9). Photo optional — omit it with a video_url and the video's own thumbnail is used as the base. Give image_prompt from thumbnail_concept, or video_url to derive + render. Slow call — allow up to 5 minutes. Filter rejections are never charged.","x-payment-info":{"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.500000"},"payTo":"0xcee93aae231c693905e09b8bce7b800c98b176e1","network":"eip155:8453","token":"USDC"},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"image_b64":{"type":"string","description":"Optional photo as base64 (skip with video_url alone; prefer image_url)"},"image_url":{"type":"string","description":"Optional photo URL for server-side download (skip with video_url alone; preferred for large photos)","example":"https://example.com/photo.jpg"},"image_prompt":{"type":"string","description":"Render prompt from thumbnail_concept"},"video_url":{"type":"string","description":"Optional video to derive the concept from first"},"niche":{"type":"string","description":"Optional niche for style targeting"}}}}}},"responses":{"200":{"description":"Thumbnail Creation (Premium Render) result","content":{"application/json":{"schema":{"type":"object","properties":{"image_url":{"type":"string"},"prompt_used":{"type":"string"}}}}}},"402":{"description":"Payment Required"}}}},"/tools/channel_launch_kit":{"post":{"operationId":"channel_launch_kit","summary":"Channel Launch Kit (Start Here)","description":"New to YouTube? Start here. Give a topic; get niche validation with demand proof, a full word-for-word launch script with visuals, a 5-video cluster plan, a 30s teaser, and thumbnail spec with render handoff. Slow call — allow up to 5 minutes.","x-payment-info":{"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"1.000000"},"payTo":"0xcee93aae231c693905e09b8bce7b800c98b176e1","network":"eip155:8453","token":"USDC"},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["topic"],"properties":{"topic":{"type":"string","description":"The niche/topic to launch into (only required field)","example":"sourdough for beginners"},"duration_mins":{"type":"integer","description":"Target runtime 4-20 min (default 10)","default":10},"tone":{"type":"string","description":"Optional tone (skeptical reviewer, hype coach)"},"audience":{"type":"string","description":"Optional audience (total beginners)"}}}}}},"responses":{"200":{"description":"Channel Launch Kit (Start Here) result","content":{"application/json":{"schema":{"type":"object","properties":{"topic":{"type":"string"},"positioning":{"type":"object"},"launch_report":{"type":"object"}}}}}},"402":{"description":"Payment Required"}}}},"/api/v1/chat/completions":{"post":{"operationId":"chat_completions","summary":"YouTube Answers (OpenAI-compatible, pay per request, no API key)","description":"Ask anything about YouTube content with the standard OpenAI chat-completions shape (model, messages) — pay per request in USDC via x402, no API key, no account. Repoint base_url, keep your OpenAI client. Models: x402vid-youtube ($0.05 full report) or x402vid-youtube-micro ($0.01 short answer for high-frequency agent loops). Grounded answers with video citations. Non-streaming only.","x-payment-info":{"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.050000"},"payTo":"0xcee93aae231c693905e09b8bce7b800c98b176e1","network":"eip155:8453","token":"USDC"},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["messages"],"properties":{"model":{"type":"string","description":"Model id (use x402vid-youtube)","example":"x402vid-youtube"},"messages":{"type":"array","description":"Chat messages; last user message is the question","example":[{"role":"user","content":"best budget mic for YouTube?"}]},"stream":{"type":"boolean","description":"Must be false (streaming unsupported)","default":false}}}}}},"responses":{"200":{"description":"YouTube Answers (OpenAI-compatible, pay per request, no API key) result","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"choices":{"type":"array"}}}}}},"402":{"description":"Payment Required"}}}},"/health":{"get":{"operationId":"health_check","summary":"Service Health Check (free)","description":"Free liveness check. Returns status, model, and per-tool prices. No payment required.","responses":{"200":{"description":"Service status","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string"},"service":{"type":"string"},"model":{"type":"string"}}}}}}}}},"/tools/video_preview":{"post":{"operationId":"video_preview","summary":"Free YouTube Video Preview (taster)","description":"Free taster for get_video_intelligence. Returns title, channel, stats, and a capped transcript excerpt with no AI analysis. No payment required.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["video_url"],"properties":{"video_url":{"type":"string","description":"YouTube video URL or video ID","example":"https://www.youtube.com/watch?v=dQw4w9WgXcQ"}}}}}},"responses":{"200":{"description":"Capped video preview (free)"}}}}}}