AR Digital ClientAPI Documentation & Integration Hub
Explore endpoints, authentication mechanisms, and code integration templates across all 3 extraction engines.
Your Integration API Key
your_api_key
TeraBox Extraction Endpoint
POST /v1/api
High-throughput extraction engine returning direct CDN downloads, HLS/m3u8 streaming links, and folder file listings.
Base URL: https://api.teraboxdl.site
Endpoint: /v1/api
Method: POST
Headers: Content-Type: application/json, X-API-Key: your_api_key, X-Timestamp, X-Signature
Payload: {"url": "https://terabox.com/s/...", "dir_path": "", "page": 1}
HMAC Signature Formula:
message = "POST/v1/api" + timestamp + body. Then compute HMAC-SHA256 using your API Secret.Integration Code Templates
Python (Requests)
import json
import time
import hmac
import hashlib
import requests
BASE_URL = "https://api.teraboxdl.site"
API_KEY = "your_api_key"
API_SECRET = "your_api_secret"
payload = {
"url": "https://terabox.com/s/your-link",
"dir_path": "",
"page": 1
}
body = json.dumps(payload, separators=(",", ":"))
timestamp = str(int(time.time()))
message = f"POST/v1/api{timestamp}{body}"
signature = hmac.new(
API_SECRET.encode("utf-8"),
message.encode("utf-8"),
hashlib.sha256,
).hexdigest()
response = requests.post(
f"{BASE_URL}/v1/api",
headers={
"Content-Type": "application/json",
"X-API-Key": API_KEY,
"X-Timestamp": timestamp,
"X-Signature": signature,
},
data=body,
timeout=40,
)
print(response.json())Node.js (ESM / Fetch)
import crypto from "node:crypto";
const baseUrl = "https://api.teraboxdl.site";
const apiKey = "your_api_key";
const apiSecret = "your_api_secret";
const body = JSON.stringify({
url: "https://terabox.com/s/your-link",
dir_path: "", // Optional folder path
page: 1,
});
const timestamp = Math.floor(Date.now() / 1000).toString();
const signature = crypto
.createHmac("sha256", apiSecret)
.update(`POST/v1/api${timestamp}${body}`)
.digest("hex");
const res = await fetch(`${baseUrl}/v1/api`, {
method: "POST",
headers: {
"Content-Type": "application/json",
"X-API-Key": apiKey,
"X-Timestamp": timestamp,
"X-Signature": signature,
},
body,
});
const data = await res.json();
console.log(data);TeraBox Response Format Sample
JSON output with direct CDN links and streaming playback
{
"errno": 0,
"request_id": 1744212345678900,
"server_time": 1744212345,
"list": [
{
"fs_id": 123456789,
"server_filename": "sample-video.mp4",
"size": 104857600,
"formatted_size": "100.00 MB",
"direct_link": "https://d.terabox.app/file/...",
"stream_url": "https://stream.terabox.app/stream/...",
"thumbs": {
"url1": "https://...",
"icon": "https://..."
}
}
],
"title": "Terabox Download",
"total_size_bytes": 104857600
}