πŸ” Telegram WebApp Protected

Stream audio & video with a secure API.

Build music bots, web players, and media apps using a clean flow: request from /song, then use /streamaudio in your app.

700 Free requests/day
60/min Free rate limit
Audio Default stream mode
Video Optional video=true
πŸ›‘οΈ

Private by design

Your API key stays in your input. Keep it secret and do not share it publicly.

⚑

Fast response

Get JSON stream response quickly and use the returned URL in your own player.

πŸ”’

WebApp only testing

The playground unlocks only when opened through Telegram WebApp context.

Simple, reliable, developer friendly

Everything is designed to feel clean, safe, and easy for users testing your API.

🎡

Audio streaming

Use YouTube video ID and receive a playable audio stream URL for your app or bot.

🎬

Video mode

Add video=true to request video mode where your plan and backend support it.

πŸ§ͺ

Safe playground

Test API key, video ID, request URL, and JSON response without auto-playing media.

API Playground

Open this page inside Telegram WebApp to unlock testing. Stream preview is disabled; copy/open only.

πŸ” Open in Telegram WebApp

This playground needs Telegram WebApp user context. Please open APIxHub from the Telegram bot button, not directly from a normal browser.

Open @apixhubbot

Request Builder

β€”

Response

Idle
{
  "message": "Fill API key and click Test /song"
}

Stream URL received. Auto preview is disabled here, so this page will not start playback. You can copy or open the stream manually.

β€”
β†— Open Stream

API Documentation

Use /song to get JSON response and /streamaudio as the playable stream URL.

🎡 Audio request

GET https://bot.apixhub.fun/song/{video_id}?key={api_key}
  • Returns JSON with stream_url
  • Default mode is audio
  • Best for music bots and audio players

🎬 Video request

GET https://bot.apixhub.fun/song/{video_id}?key={api_key}&video=true
  • Returns JSON with video stream URL
  • Uses your video quota/limit
  • Works with HTML5 video player

πŸ”Š Direct stream

GET https://bot.apixhub.fun/streamaudio/{video_id}?key={api_key}
  • Actual audio stream endpoint
  • Supports range-based playback
  • Used internally by /song response

πŸ“¦ Example JSON

{ "status": "done", "video_id": "dQw4w9WgXcQ", "video": false, "stream_url": "https://bot.apixhub.fun/streamaudio/dQw4w9WgXcQ?key=...", "ensure_status": "stored" }
  • Use stream_url in your audio/video player
  • Status can be done, processing, or error

Plans

Start free from Telegram bot. Upgrade by contacting admin.

πŸ†“

Free

β‚Ή0

700 requests/day
60 requests/min
15 video requests

πŸ’ 

Premium

β‚Ή50

3000 requests/day
180 requests/min
50 video requests

πŸ’Ž

Pro

β‚Ή100

7500 requests/day
400 requests/min
150 video requests

πŸ†

Custom

Custom

Unlimited/custom limits
Priority support
Contact @heySiddhant

πŸ‘€ Telegram WebApp Profile
TG

Checking Telegram WebApp…

Please wait

Detecting Telegram environment
Your Telegram WebApp details will appear here when this page is opened from the bot.
Open Bot

Account Details

User ID β€”
Username β€”
First Name β€”
Last Name β€”
Language β€”
Premium β€”
Platform β€”
Theme β€”
Base URL: https://bot.apixhub.fun
Admin: @heySiddhant
Telegram WebApp data will appear here.
Copied