Integrate TeraBox features into your applications.
Back to PlayerRetrieves metadata, thumbnails, and direct download links (dlink) for files.
| Field | Type | Required | Description |
|---|---|---|---|
url |
string | Yes | The TeraBox share URL. |
cookies |
string | No | Netscape formatted cookies (optional). |
{
"url": "https://terabox.com/s/1A2b3C...",
"cookies": "# Netscape HTTP Cookie File..."
}
// Standard /api/download?url=https://terabox.com/s/1A2b3C... // With Cookies (URLEncoded) /api/download?url=...&cookies=%23%20Netscape...
// 200 OK { "status": "success", "ShortLink": "https://terabox.com/s/...", "cookie_used": true, "Extracted Info": [ { "Title": "video.mp4", "Size": "150 MB", "Direct Download Link": "https://d.terabox.app/...", "streaming_url": "https://...", "Thumbnails": { ... } } ] }
Optimized endpoint specifically for video players to get the m3u8 playlist URL.
| Field | Type | Required | Description |
|---|---|---|---|
url |
string | Yes | The TeraBox share URL. |
cookies |
string | No | Netscape formatted cookies (optional). |
{
"url": "https://terabox.com/s/1A2b3C...",
"cookies": "# Netscape HTTP Cookie File..."
}
// Standard /api/play?url=https://terabox.com/s/1A2b3C... // With Cookies (URLEncoded) /api/play?url=...&cookies=%23%20Netscape...
// 200 OK { "ok": true, "list": [ "https://ab-m3u8.terabox.com/..." // The .m3u8 URL ], "token": "..." }
Acts as a bridge to stream TeraBox content. Requires url and optionally
cookies.
It injects the required Referer headers that standard players cannot add.
| Param | Required | Description |
|---|---|---|
url |
Yes | The Target URL (dlink or m3u8) obtained from API #1 or #2. |
cookies |
No | Base64 encoded Netscape cookies. If missing, it falls back to Server Internal Cookies. |
// Simple (Uses Internal Cookies) /proxy?url=https://d.terabox.app/file/... // Advanced (With Custom Cookies) /proxy?url=https://...&cookies=TXkgQ29va2llc...
// Construct the URL like this: http://your-server.com/proxy?url=ENCODED_TARGET_URL&cookies=BASE64_COOKIES