Complete reference for Blaze API
http://localhost:3000
Make unlimited requests
Free for everyone
Auto-delete temp files
Use from any domain
Download media from Facebook, Instagram, TikTok, Twitter/X, or YouTube.
| Parameter | Type | Required | Description |
|---|---|---|---|
url | string | ✓ Yes | Direct URL to the media (Facebook, Instagram, TikTok, Twitter, YouTube) |
GET /api/download?url=https://www.tiktok.com/@user/video/123456789
{
"success": true,
"data": {
"thumbnailUrl": "https://...",
"tempDownloadUrl": "/temp/video_123456789.mp4",
"title": "Amazing TikTok Video",
"platform": "tiktok",
"duration": "15",
"expiresIn": "10 minutes",
"tempUrl": "/temp/video_123456789.mp4"
}
}
Search and download audio from YouTube.
| Parameter | Type | Required | Description |
|---|---|---|---|
q | string | Yes* | Song name or artist to search |
url | string | Yes* | Direct YouTube URL |
GET /api/song?q=Blinding Lights The Weeknd GET /api/song?url=https://youtu.be/4NRXx6U8ABQ
{
"success": true,
"data": {
"thumbnailUrl": "https://...",
"tempDownloadUrl": "/temp/song_123456789.mp3",
"title": "Blinding Lights",
"artist": "The Weeknd",
"duration": "3:20",
"quality": "128kbps",
"expiresIn": "10 minutes"
}
}
Check API health and status.
{
"status": "online",
"system": "Blaze API",
"version": "1.0.0",
"uptime": 1234.56,
"tempFiles": 3
}
Download temporary files directly.
GET /temp/video_1734567890.mp4
| Platform | Endpoint | Format | Command |
|---|---|---|---|
| YouTube | /api/download + /api/song | MP4 / MP3 | `.yt |
| TikTok | /api/download | MP4 (No watermark) | `.tt |
| /api/download | MP4 / JPG | `.ig | |
| /api/download | MP4 | `.fb | |
| Twitter/X | /api/download | MP4 / JPG | `.tw |
| Spotify | /api/song | MP3 | `.sp |
{
"success": false,
"error": "Error message description"
}
| HTTP Code | Description |
|---|---|
| 400 | Bad Request - Missing or invalid parameters |
| 404 | Not Found - Endpoint or file not found |
| 500 | Internal Server Error - Download failed |
curl "http://localhost:3000/api/download?url=https://www.tiktok.com/@user/video/123"
fetch('http://localhost:3000/api/song?q=Bohemian Rhapsody')
.then(res => res.json())
.then(data => console.log(data))
.catch(err => console.error(err));
import requests
response = requests.get('http://localhost:3000/api/download',
params={'url': 'https://youtu.be/dQw4w9WgXcQ'})
data = response.json()
print(data)
const axios = require('axios');
const response = await axios.get('http://localhost:3000/api/song', {
params: { q: 'Shape of You' }
});
console.log(response.data);