SPACE API V2

Universal Media
Gateway

High-performance media extraction for YouTube and Spotify. Supports direct MP3/MP4 streaming and detailed metadata.

Lightning Fast
Secure & Reliable
Well Documented

Getting Started

Start using the API in seconds. No authentication required for basic usage.

Base URL

https://apex.spacebilla01.workers.dev

YouTube Gateway

GET

Download MP3 (ID)

High-quality audio extraction.

/yt?id={video_id}&format=mp3
GET

Download MP4 (ID)

Full video download.

/yt?id={video_id}&format=mp4
GET

Direct Stream MP3

Stream audio content directly.

/yt?id={video_id}&format=mp3&direct
GET

Direct Stream MP4

Direct video stream.

/yt?id={video_id}&format=mp4&direct
GET

Download MP3 (URL)

Extract audio from full URL.

/yt?url={video_url}&format=mp3
GET

Download MP4 (URL)

Extract video from full URL.

/yt?url={video_url}&format=mp4

Spotify Gateway

GET

Get Metadata & Link

Fetches track details and download URL.

/sp?url={spotify_track_url}
GET

Direct Stream Track

Instant audio stream for Spotify tracks.

/sp?url={spotify_track_url}&direct

Response Examples

See what you'll get back from the API

YouTube Response

{
  "status": "success",
  "title": "Video Title",
  "duration": "3:45",
  "thumbnail": "https://...",
  "download_url": "https://..."
}

API Playground

Test all endpoints live and see real-time responses

Select Endpoint

YouTube
Spotify

Download MP3 (ID)

High-quality audio extraction using video ID

Parameters

Request URL

https://apex.spacebilla01.workers.dev/yt?id=TzqIEE8bEdU&format=mp3
SPACE LogoSPACE API

Universal media gateway for YouTube and Spotify content.

Connect

© 2025 SPACE API. All rights reserved.