Features API Providers Pricing Documentation FAQ Login Sign Up

xAPIverse TeraBox API

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.

On this page
Overview & features ยท Authentication ยท Endpoint ยท Code samples ยท Responses ยท Errors

API Overview

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.

โœ”
Success guarantee โ€” you are only charged for requests that return a successful 200 OK. Errors are on us.

Key Features

  • Slow Download Link โ€” get a normal download link for downloading any file.
  • Multiple Streaming Options โ€” HLS fast streams up to 480p (360p, 480p).
  • Multi-language Subtitles โ€” M3U8 format subtitle files with multi-language support.
  • Complete Metadata โ€” file size, duration, quality, type, and thumbnail extraction.
  • Video Quality Detection โ€” automatic detection of video resolution up to 4K.
  • Unlimited Bandwidth โ€” no extra cost for streaming or downloading.

Authentication

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.

โš 
Keep your API key secure. Never expose it in client-side code, public repositories or screenshots.

Request Credits

Each successful request deducts 1 credit from your balance.

๐Ÿ’Ž
Lifetime validity โ€” credits never expire (no 30-day expiry). They only reduce with usage. Buy any plan from โ‚น90 = 20,000 requests and stack purchases anytime.

Base URL

POSThttps://teraboxdevapi.in/api/terabox.php
โ„น
This is our managed gateway. It authenticates you, deducts credits and forwards to the xAPIverse upstream โ€” you never need to touch the upstream directly.

Endpoint

MethodEndpointDescription
POSThttps://teraboxdevapi.in/api/terabox.phpExtract TeraBox link data (download, stream, metadata)
GEThttps://teraboxdevapi.in/api/terabox.php?url=...&key=...Same as POST (query-string alternative)

Required Headers

HeaderValueRequired
AuthorizationBearer <your_api_key>Yes
Content-Typeapplication/jsonYes (POST)
X-ProviderxapiverseOptional (default)

cURL Example

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;

JavaScript (Fetch)

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);

Python (Requests)

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 (cURL)

<?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;

Response Structure

On success, the API returns a JSON object containing a list array with file details, a status of success and file counts.

Success Response Example

// 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"
}

Response Fields

FieldTypeDescription
statusstring"success" or "error"
total_filesintegerNumber of files in the response
total_foldersstringNumber of folders in the response
namestringOriginal file name
file_pathstringOriginal file path
size / size_formattedint / stringFile size in bytes and human-readable format
typestringFile type (video, audio, document, etc.)
durationstringVideo duration in MM:SS format
qualitystringVideo resolution (360p, 480p)
normal_dlinkstringSlow/normal download link
stream_urlstringPrimary stream URL
fast_stream_urlobjectHLS m3u8 streams per quality (360p, 480p)
thumbnailstringVideo thumbnail URL
subtitle_urlstringMulti-language subtitle (M3U8) URL

Error Handling

API errors return JSON with a status and a message:

{ "status": "error", "message": "Insufficient credits. Please top up." }
CodeMeaning
200Success โ€” request processed, data returned
401Invalid or missing API key
402Insufficient credit balance โ€” top up from plans page
403Key disabled or account suspended
422Invalid request parameters (missing/invalid TeraBox URL)
429Too many requests in a short window
500Upstream provider error โ€” you are NOT charged
โœ”
Failed or upstream-error requests never deduct credits.

Success Guarantee

  • Only successful 200 OK responses are charged.
  • Upstream failures return 500 โ€” you are not billed.
  • Credits are deducted atomically before forwarding; refunded on failure.

Ready to integrate xAPIverse?

Buy lifetime credits and get your key instantly.

๐Ÿ’Ž Top Up Credits