Lyra Cloudv1.0
Ultra-Fast Song Download & Streaming API

Music Bot API
Engineered for Speed.

Stream YouTube and Spotify audio into Telegram voice chats in milliseconds. Zero IP bans, high-throughput caching, and 100% native compatibility with Py-TgCalls.

< 15ms
Cached Latency
99.99%
Uptime SLA
Py-TgCalls
Native Support
Lyra API Console
STATUS: 200 OK
8fLyra1d4a
Starboy - The Weeknd
03:50•128 kbps m4a
Response Latency:11.8 ms
Daily Request QuotaUnlimited / No Limits

Why Telegram Bot Creators Choose Lyra

Designed from the ground up to solve YouTube 429 rate limits, slow extraction, and server memory exhaustion.

Sub-50ms Response

Direct InnerTube API protocol integration skips heavy browser rendering. Cached audio streams resolve in single-digit milliseconds.

Zero 429 IP Bans

Stop getting your VPS banned by YouTube. Lyra routes stream requests with automatic session management and proxy failovers.

Native Py-TgCalls Ready

Outputs clean audio stream URLs that feed directly into AudioPiped(stream_url) without CPU-heavy local ffmpeg transcoding.

Instant Py-TgCalls Integration

Replace slow local yt-dlp calls in your bot with 3 lines of code:

import httpx
from pytgcalls import PyTgCalls
from pytgcalls.types import AudioPiped

LYRA_API_URL = "https://api.shnwaz.dev/api/v1/stream"
LYRA_API_KEY = "8fLyra1d4a"

async def play_song(chat_id: int, query: str):
    # 1. Fetch ultra-fast stream URL from Lyra API
    async with httpx.AsyncClient() as client:
        res = await client.get(
            LYRA_API_URL, 
            params={"id": query, "api_key": LYRA_API_KEY}
        )
        stream_data = res.json()

    # 2. Pipe direct stream into Telegram Voice Chat (zero local ffmpeg lag)
    stream_url = stream_data["stream_url"]
    await app.calls.join_group_call(
        chat_id,
        AudioPiped(stream_url)
    )
    print(f"Now Playing: {stream_data['title']} (Latency: {stream_data['latency_ms']}ms)")