PlayTeraBox extracts metadata, download links and streaming URLs from TeraBox links with under 200ms response time and 4K HLS streaming support.
Make a GET request to the proxy endpoint with your API key as the secret parameter and the TeraBox URL as the url parameter. The API returns a JSON object containing a list array with file details.
All API requests are authenticated with your personal API key. Get your key instantly from the developer dashboard.
| Key | Value |
|---|---|
Authorization | Bearer YOUR_API_KEY |
Content-Type | application/json (POST) |
Each successful request deducts 2 credits (provider rate $0.000100/request). Credits never expire and only reduce with usage.
| Method | Endpoint | Description |
|---|---|---|
| POST | https://teraboxdevapi.in/api/terabox.php | Extract TeraBox link data (JSON body) |
| GET | https://teraboxdevapi.in/api/terabox.php?url=...&key=... | Query-string alternative |
| Parameter | Type | Required | Description |
|---|---|---|---|
url | string | Yes | The TeraBox file or folder URL to process (e.g. https://terabox.com/s/...) |
provider | string | No | Set to playterabox to force this provider (default when using X-Provider: playterabox) |
key | string | Alt | API key alternative to the Authorization header |
# GET request (query-string style) curl -G "https://teraboxdevapi.in/api/terabox.php" \ -H "Authorization: Bearer YOUR_API_KEY" \ --data-urlencode "url=https://1024terabox.com/s/1sMvGvA-DkxjhpC1AS3uLlg" \ --data-urlencode "provider=playterabox"
curl -X POST "https://teraboxdevapi.in/api/terabox.php" \ -H "Content-Type: application/json" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "X-Provider: playterabox" \ -d '{"url":"https://1024terabox.com/s/1sMvGvA-DkxjhpC1AS3uLlg"}'
const res = await fetch('https://teraboxdevapi.in/api/terabox.php', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_API_KEY', 'X-Provider': 'playterabox' }, body: JSON.stringify({ url: 'https://1024terabox.com/s/1sMvGvA-DkxjhpC1AS3uLlg' }) }); const data = await res.json(); console.log(data);
import requests url = "https://teraboxdevapi.in/api/terabox.php" headers = { "Authorization": "Bearer YOUR_API_KEY", "X-Provider": "playterabox" } params = { "url": "https://1024terabox.com/s/1sMvGvA-DkxjhpC1AS3uLlg" } res = requests.post(url, json=params, headers=headers) print(res.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/1sMvGvA-DkxjhpC1AS3uLlg"]), CURLOPT_HTTPHEADER => ["Content-Type: application/json", "Authorization: Bearer YOUR_API_KEY", "X-Provider: playterabox"] ]); $res = curl_exec($ch); curl_close($ch); echo $res;
<?php $baseUrl = "https://teraboxdevapi.in/api/terabox.php"; $params = http_build_query([ 'url' => 'https://1024terabox.com/s/1sMvGvA-DkxjhpC1AS3uLlg', 'provider' => 'playterabox' ]); $ch = curl_init($baseUrl . '?' . $params); curl_setopt_array($ch, [ CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => ["Authorization: Bearer YOUR_API_KEY"] ]); $response = curl_exec($ch); curl_close($ch); echo $response;
The API returns a JSON object containing the list array with file details.
// Example Response { "status": "success", "total_files": 1, "list": [ { "fs_id": 1234567890, "name": "example_video.mp4", "size": 98085682, "size_formatted": "93.54 MB", "type": "video", "is_dir": "0", "duration": "10:18", "quality": "720p", "download_link": "https://.../download?token=...", "fast_download_link": "https://.../download?token=...", "stream_url": "https://.../stream?token=...", "fast_stream_url": { "360p": "https://.../fast_stream?token=...m3u8", "480p": "https://.../fast_stream?token=...m3u8", "720p": "https://.../fast_stream?token=...m3u8" }, "subtitle_url": "https://.../subtitle?token=...", "thumbnail": "https://.../thumbnail?token=...", "folder": "root" } ] }
| Field | Type | Description |
|---|---|---|
status | string | "success" or "error" |
total_files | integer | Number of files in the response |
fs_id | integer | TeraBox file ID |
name | string | Original file name |
size / size_formatted | int / string | File size in bytes and human-readable format |
type | string | File type (video, audio, document, etc.) |
is_dir | string | "0" = file, "1" = folder |
duration | string | Video duration in MM:SS format |
quality | string | Video resolution (up to 4K supported) |
download_link | string | Normal download link |
fast_download_link | string | Fast download link |
stream_url | string | Primary stream URL |
fast_stream_url | object | HLS m3u8 streams per quality (360p/480p/720p+) |
subtitle_url | string | Subtitle file URL |
thumbnail | string | Video thumbnail URL |
API errors return JSON with status and message. Common error codes:
| Code | Meaning |
|---|---|
401 | Invalid or missing API key |
402 | Insufficient credit balance โ top up now |
403 | Key disabled / account suspended / not subscribed to this API |
422 | Invalid request parameters |
429 | Too many requests in a short window |
500 | Upstream provider error โ you are not charged |
Buy lifetime credits and get your key instantly.
๐ Top Up Credits