[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"api-page:tuberelay":3},{"status":4,"api":5,"seo":228},"success",{"blocked":6,"description":7,"about":8,"stats":9,"name":11,"title":12,"slug":13,"logo":14,"created_at":15,"agent":16,"user":28,"endpoint_groups":31,"faqs":167,"features":174,"periodic_plans":175,"payasyougo_plans":227},false,"Stream YouTube videos effortlessly — secure temporary URLs, no file size limits, and seamless server-side processing.","TubeRelay is a powerful and secure API for streaming YouTube content. Unlike traditional download APIs, TubeRelay generates temporary streaming URLs that expire after 5 minutes, protecting your content and ensuring secure access.\n\nNo more dealing with 50MB file limits, client-side conversion tools, or complicated setups. TubeRelay handles everything server-side — just request a stream and play it directly.\n\nBuilt with global accessibility in mind, TubeRelay works reliably from anywhere, giving you access to the content you need without restrictions.\n\nKey Features:\n• Secure temporary streaming URLs (auto-expire after 5 minutes)\n• No file size limits — stream videos of any length\n• Server-side processing — no client-side software required\n• Global access — works from any location\n• Intelligent error handling with automatic failover\n\nUse Cases:\n• Build streaming apps without hosting video files\n• Integrate YouTube playback into your platform\n• Create secure, expiring links for content delivery\n• Access content reliably from anywhere in the world\n\nEndpoints:\n• /stream-url — Generate a secure temporary streaming URL\n• /info — Get detailed video metadata\n• /search — Search YouTube videos by query",{"score":10},"2.13","TubeRelay","TubeRelay API","tuberelay","https://cdn.jojapi.com/api/4460358b-e424-455e-96c2-56c9d9cf9b18","2026-08-31 13:45:46",{"enabled":17,"closed":18,"request_enabled":6,"catalog_url":19,"discovery_url":20,"directory_url":21,"rails":22,"networks":25,"docs":27},true,null,"https://jojapi.jojapi.net/_jojapi/agent/plans","https://jojapi.jojapi.net/.well-known/x402","https://agents.jojapi.net/apis/tuberelay",[23,24],"x402","mpp",[26],"eip155:8453","https://docs.jojapi.com/consumers/agents",{"nick":29,"name":30,"verified":6,"website":18},"ahmed-ayyad","Ahmed Ayyad",[32],{"endpoints":33,"name":166,"description":40,"ungrouped":17,"open":6},[34,83,121],{"blocked":6,"hidden":6,"agent_price":18,"credits":18,"flexible_credits_description":18,"consumptions":35,"description":41,"method":42,"name":43,"url_path":43,"root_url":44,"parameters":45,"responses":60,"result_stats":18},[36],{"name":37,"slug":38,"cost":39,"label":40,"avg":18},"Requests","requests","1","","Fetch detailed metadata for a YouTube video including title, duration, thumbnail, channel, views, and description.","GET","/info","https://jojapi.jojapi.net",{"url":46,"header":51,"post":57,"body":58,"path":59},[47],{"key":48,"example":40,"schema":18,"example_disabled":6,"example_type":49,"value_type":49,"enum_values":18,"default_value":40,"required":17,"name":40,"description":50},"video_id","string","YouTube video ID (11-12 characters)",[52],{"key":53,"is_auth":17,"example":54,"example_disabled":17,"example_type":49,"name":55,"description":54,"required":17,"always_error":56},"X-JoJAPI-Key","You must log in to get API key","JoJ API Key","Please log in to get API key",[],[],[],[61,70,77],{"status":62,"status_code":63,"description":64,"schema":65,"examples":66,"example":69},"200",200,"OK — video metadata returned","{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\",\"description\":\"YouTube video ID\"},\"title\":{\"type\":\"string\",\"description\":\"Video title\"},\"duration\":{\"type\":\"integer\",\"description\":\"Duration in seconds\"},\"duration_string\":{\"type\":\"string\",\"description\":\"Formatted duration (e.g. 3:33)\"},\"thumbnail\":{\"type\":\"string\",\"description\":\"Video thumbnail URL\"},\"channel\":{\"type\":\"string\",\"description\":\"Channel name\"},\"channel_id\":{\"type\":\"string\",\"description\":\"Channel ID\"},\"views\":{\"type\":\"integer\",\"description\":\"View count\"},\"views_text\":{\"type\":\"string\",\"description\":\"Formatted view count (e.g. 1.8B views)\"},\"is_live\":{\"type\":\"boolean\",\"description\":\"Whether the video is a live stream\"},\"description\":{\"type\":\"string\",\"description\":\"Video description\"},\"keywords\":{\"type\":\"array\",\"items\":{\"type\":\"string\"},\"description\":\"Video keywords\\/tags\"}}}",[67],{"name":68,"summary":40,"description":40,"example":69},"Example_1","{\"id\":\"\",\"title\":\"\",\"duration\":0,\"duration_string\":\"\",\"thumbnail\":\"\",\"channel\":\"\",\"channel_id\":\"\",\"views\":0,\"views_text\":\"\",\"is_live\":true,\"description\":\"\",\"keywords\":[]}",{"status":71,"status_code":72,"description":73,"schema":18,"examples":74,"example":76},"400",400,"Bad request — missing or invalid video_id",[75],{"name":68,"summary":40,"description":40,"example":76},"{}",{"status":78,"status_code":79,"description":80,"schema":18,"examples":81,"example":76},"404",404,"Video not found",[82],{"name":68,"summary":40,"description":40,"example":76},{"blocked":6,"hidden":6,"agent_price":18,"credits":18,"flexible_credits_description":18,"consumptions":84,"description":87,"method":42,"name":88,"url_path":88,"root_url":44,"parameters":89,"responses":104,"result_stats":115},[85],{"name":37,"slug":38,"cost":39,"label":40,"avg":86},0.67,"Search YouTube for videos or resolve a YouTube URL to video metadata. Returns a list of matching videos.","/search",{"url":90,"header":99,"post":101,"body":102,"path":103},[91,94],{"key":92,"example":40,"schema":18,"example_disabled":6,"example_type":49,"value_type":49,"enum_values":18,"default_value":40,"required":17,"name":40,"description":93},"query","Search text or a YouTube URL",{"key":95,"example":96,"schema":18,"example_disabled":6,"example_type":49,"value_type":97,"enum_values":18,"default_value":96,"required":6,"name":40,"description":98},"limit","10","number","Maximum results to return (1-50)",[100],{"key":53,"is_auth":17,"example":54,"example_disabled":17,"example_type":49,"name":55,"description":54,"required":17,"always_error":56},[],[],[],[105,111],{"status":62,"status_code":63,"description":106,"schema":107,"examples":108,"example":110},"OK — search results returned","{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\",\"description\":\"YouTube video ID\"},\"title\":{\"type\":\"string\",\"description\":\"Video title\"},\"url\":{\"type\":\"string\",\"description\":\"YouTube video URL\"},\"duration\":{\"type\":\"integer\",\"description\":\"Duration in seconds\"},\"duration_string\":{\"type\":\"string\",\"description\":\"Formatted duration\"},\"thumbnail\":{\"type\":\"string\",\"description\":\"Video thumbnail URL\"},\"channel\":{\"type\":\"string\",\"description\":\"Channel name\"},\"views\":{\"type\":\"integer\",\"description\":\"View count\"},\"views_text\":{\"type\":\"string\",\"description\":\"Formatted view count\"},\"is_live\":{\"type\":\"boolean\",\"description\":\"Whether the video is a live stream\"},\"published\":{\"type\":\"string\",\"description\":\"How long ago the video was published\"}}}}",[109],{"name":68,"summary":40,"description":40,"example":110},"[{\"id\":\"\",\"title\":\"\",\"url\":\"\",\"duration\":0,\"duration_string\":\"\",\"thumbnail\":\"\",\"channel\":\"\",\"views\":0,\"views_text\":\"\",\"is_live\":true,\"published\":\"\"}]",{"status":71,"status_code":72,"description":112,"schema":18,"examples":113,"example":76},"Bad request — missing query",[114],{"name":68,"summary":40,"description":40,"example":76},{"x2":116,"x3":117,"x4":116,"x5":118,"uptime":119,"avg_latency":120,"avg_credits":117},"33.33","0.00","33.34","66.66","436",{"blocked":6,"hidden":6,"agent_price":18,"credits":18,"flexible_credits_description":18,"consumptions":122,"description":124,"method":42,"name":125,"url_path":125,"root_url":44,"parameters":126,"responses":145,"result_stats":18},[123],{"name":37,"slug":38,"cost":39,"label":40,"avg":18},"Returns a time-limited streaming URL (valid for 5 minutes). The returned URL streams the video directly without exposing your API key.","/stream-url",{"url":127,"header":140,"post":142,"body":143,"path":144},[128,132,139],{"key":129,"example":130,"schema":18,"example_disabled":6,"example_type":49,"value_type":49,"enum_values":18,"default_value":130,"required":6,"name":40,"description":131},"quality","best","Quality: best, worst, 128k (audio only), 720p (video)",{"key":133,"example":40,"schema":18,"example_disabled":6,"example_type":49,"value_type":134,"enum_values":135,"default_value":136,"required":6,"name":40,"description":138},"type","enum",[136,137],"audio","video","Stream type: audio or video",{"key":48,"example":40,"schema":18,"example_disabled":6,"example_type":49,"value_type":49,"enum_values":18,"default_value":40,"required":17,"name":40,"description":50},[141],{"key":53,"is_auth":17,"example":54,"example_disabled":17,"example_type":49,"name":55,"description":54,"required":17,"always_error":56},[],[],[],[146,152,156,160],{"status":62,"status_code":63,"description":147,"schema":148,"examples":149,"example":151},"OK — temporary streaming URL generated","{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\",\"description\":\"Temporary streaming URL (valid for 5 minutes)\"},\"expires_in\":{\"type\":\"integer\",\"description\":\"Token TTL in seconds\"}}}",[150],{"name":68,"summary":40,"description":40,"example":151},"{\"url\":\"\",\"expires_in\":300}",{"status":71,"status_code":72,"description":153,"schema":18,"examples":154,"example":76},"Bad request — missing or invalid parameters",[155],{"name":68,"summary":40,"description":40,"example":76},{"status":78,"status_code":79,"description":157,"schema":18,"examples":158,"example":76},"Video not found or streaming token expired",[159],{"name":68,"summary":40,"description":40,"example":76},{"status":161,"status_code":162,"description":163,"schema":18,"examples":164,"example":76},"429",429,"Rate limit exceeded",[165],{"name":68,"summary":40,"description":40,"example":76},"Ungrouped Endpoints",[168,171],{"question":169,"answer":170},"What features does TubeRelay API support?","TubeRelay API allows you to search videos, download content, stream media, and retrieve detailed video information from YouTube.",{"question":172,"answer":173},"How do I handle errors or failed requests?","The API returns standard HTTP status codes along with detailed JSON error messages to help you diagnose and resolve issues.",[],[176,194,205,216],{"type":177,"slug":178,"blocked":6,"period":179,"currency":180,"pricing":181,"rate_limit":185,"objects":188,"name":192,"display_name":192,"features":193},"periodic","h8j2sh12q3vgo078x6mcb0w2","1 MONTH","usd",{"price":182,"credits":182,"past_due_timeout_num":183,"past_due_timeout_type":184},0,3,"DAY",{"max_requests":186,"time_window":187},2,1,[189],{"id":190,"name":37,"slug":38,"quota":191,"tiers":18},"n308af724",50,"BASIC",[],{"type":177,"slug":195,"blocked":6,"period":179,"currency":180,"pricing":196,"rate_limit":198,"objects":200,"name":203,"display_name":203,"features":204},"oyb4kkna3h1e10y3p9q0lqsr",{"price":197,"credits":182,"past_due_timeout_num":183,"past_due_timeout_type":184},6.99,{"max_requests":199,"time_window":187},5,[201],{"id":190,"name":37,"slug":38,"quota":202,"tiers":18},5000,"PRO",[],{"type":177,"slug":206,"blocked":6,"period":179,"currency":180,"pricing":207,"rate_limit":209,"objects":211,"name":214,"display_name":214,"features":215},"104q6h0n6ungfhv3wjt5ciln",{"price":208,"credits":182,"past_due_timeout_num":183,"past_due_timeout_type":184},14.99,{"max_requests":210,"time_window":187},10,[212],{"id":190,"name":37,"slug":38,"quota":213,"tiers":18},25000,"ULTRA",[],{"type":177,"slug":217,"blocked":6,"period":179,"currency":180,"pricing":218,"rate_limit":220,"objects":222,"name":225,"display_name":225,"features":226},"y05m4j0yfwzenmepd0sk14ty",{"price":219,"credits":182,"past_due_timeout_num":183,"past_due_timeout_type":184},19.99,{"max_requests":221,"time_window":187},20,[223],{"id":190,"name":37,"slug":38,"quota":224,"tiers":18},80000,"MEGA",[],[],{"canonical":229,"page_title":230,"meta":231},"https://jojapi.com/hub/api/tuberelay","TubeRelay API Documentation & Playground - JoJ API",{"description":7,"keywords":232},"API,API Documentation,API Playground,Plans & Pricing,TubeRelay,ahmed-ayyad"]