The xAPIverse TeraBox API gives you direct download links, HLS fast streams up to 480p, multi-language subtitles and complete file metadata โ all in clean JSON.
The xAPIverse TeraBox API provides a powerful and programmatic way to interact with TeraBox file links. Whether you're building a video streaming app, a file downloader, or a metadata scraper, this API delivers the data you need in a clean JSON format.
Every request is authenticated with your personal API key, sent as a Authorization: Bearer header. Get your key instantly from the developer dashboard after signup.
Each successful request deducts 1 credit from your balance.
https://teraboxdevapi.in/api/terabox.php| Method | Endpoint | Description |
|---|---|---|
| POST | https://teraboxdevapi.in/api/terabox.php | Extract TeraBox link data (download, stream, metadata) |
| GET | https://teraboxdevapi.in/api/terabox.php?url=...&key=... | Same as POST (query-string alternative) |
| Header | Value | Required |
|---|---|---|
Authorization | Bearer <your_api_key> | Yes |
Content-Type | application/json | Yes (POST) |
X-Provider | xapiverse | Optional (default) |
curl -X POST "https://teraboxdevapi.in/api/terabox.php" \ -H "Content-Type: application/json" \ -H "Authorization: Bearer YOUR_API_KEY" \ -d '{"url":"https://1024terabox.com/s/1jV4tzRwAj_9sTwW7b30sXQ"}'
const res = await fetch('https://teraboxdevapi.in/api/terabox.php', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_API_KEY' }, body: JSON.stringify({ url: 'https://1024terabox.com/s/1jV4tzRwAj_9sTwW7b30sXQ' }) }); const result = await res.json(); console.log(result);
import requests url = "https://teraboxdevapi.in/api/terabox.php" payload = { "url": "https://1024terabox.com/s/1jV4tzRwAj_9sTwW7b30sXQ" } headers = { "Content-Type": "application/json", "Authorization": "Bearer YOUR_API_KEY" } response = requests.post(url, json=payload, headers=headers) print(response.json())
<?php $ch = curl_init(); curl_setopt_array($ch, [ CURLOPT_URL => "https://teraboxdevapi.in/api/terabox.php", CURLOPT_RETURNTRANSFER => true, CURLOPT_POST => true, CURLOPT_POSTFIELDS => json_encode(["url" => "https://1024terabox.com/s/1jV4tzRwAj_9sTwW7b30sXQ"]), CURLOPT_HTTPHEADER => ["Content-Type: application/json", "Authorization: Bearer YOUR_API_KEY"] ]); $res = curl_exec($ch); curl_close($ch); echo $res;
const response = await fetch('https://teraboxdevapi.in/api/terabox.php', { method: 'POST', headers: { "Content-Type": "application/json", "Authorization": "Bearer YOUR_API_KEY" }, body: JSON.stringify({ "url": "https://1024terabox.com/s/1jV4tzRwAj_9sTwW7b30sXQ" }) }); const result = await response.json(); console.log(result);
import requests url = "https://teraboxdevapi.in/api/terabox.php" payload = { "url": "https://1024terabox.com/s/1jV4tzRwAj_9sTwW7b30sXQ" } headers = { "Content-Type": "application/json", "Authorization": "Bearer YOUR_API_KEY" } response = requests.post(url, json=payload, headers=headers) print(response.json())
<?php $ch = curl_init(); curl_setopt_array($ch, [ CURLOPT_URL => "https://teraboxdevapi.in/api/terabox.php", CURLOPT_RETURNTRANSFER => true, CURLOPT_POST => true, CURLOPT_POSTFIELDS => json_encode(["url" => "https://1024terabox.com/s/1jV4tzRwAj_9sTwW7b30sXQ"]), CURLOPT_HTTPHEADER => ["Content-Type: application/json", "Authorization: Bearer YOUR_API_KEY"] ]); $response = curl_exec($ch); curl_close($ch); echo $response;
On success, the API returns a JSON object containing a list array with file details, a status of success and file counts.
// Success Response { "list": [ { "name": "video_example.mp4", "size": 43162336, "type": "video", "folder": "root", "is_dir": "0", "quality": "480p", "duration": "09:16", "file_path": "/video_example.mp4", "thumbnail": "https://.../thumbnail?token=...", "stream_url": "https://.../stream?token=...", "normal_dlink": "https://.../download?token=...", "subtitle_url": "https://.../subtitle?token=...", "size_formatted": "41.16 MB", "fast_stream_url": { "360p": "https://.../fast_stream?token=...m3u8", "480p": "https://.../fast_stream?token=...m3u8" } } ], "status": "success", "total_files": 1, "total_folders": "0" }
| Field | Type | Description |
|---|---|---|
status | string | "success" or "error" |
total_files | integer | Number of files in the response |
total_folders | string | Number of folders in the response |
name | string | Original file name |
file_path | string | Original file path |
size / size_formatted | int / string | File size in bytes and human-readable format |
type | string | File type (video, audio, document, etc.) |
duration | string | Video duration in MM:SS format |
quality | string | Video resolution (360p, 480p) |
normal_dlink | string | Slow/normal download link |
stream_url | string | Primary stream URL |
fast_stream_url | object | HLS m3u8 streams per quality (360p, 480p) |
thumbnail | string | Video thumbnail URL |
subtitle_url | string | Multi-language subtitle (M3U8) URL |
API errors return JSON with a status and a message:
{ "status": "error", "message": "Insufficient credits. Please top up." }
| Code | Meaning |
|---|---|
200 | Success โ request processed, data returned |
401 | Invalid or missing API key |
402 | Insufficient credit balance โ top up from plans page |
403 | Key disabled or account suspended |
422 | Invalid request parameters (missing/invalid TeraBox URL) |
429 | Too many requests in a short window |
500 | Upstream provider error โ you are NOT charged |
500 โ you are not billed.