TeraBox Downloader API
Dokumentasi resmi TeraBox Downloader API dari Maelyn API untuk mengambil metadata, direct link, dan streaming dari TeraBox
Base Information
- BASE_URL_API:
https://api.maelyn.eu/api - Path / Endpoint:
/downloader/terabox - Method:
GET - Credit Usage:
2
Authentication
Gunakan header berikut pada setiap request:
x-maelyn-auth: YOUR_API_KEY
Query Parameters
Endpoint ini digunakan untuk mengambil informasi file, folder, serta URL download dan streaming dari TeraBox.
Example Request
GET /download/terabox?url=https://terabox.com/s/1ZdiYMWn2JsklSZxGdKJEBw
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
url | string | Yes | URL share TeraBox |
tree | boolean | No | Tampilkan struktur folder (default: false) |
Supported File Types
API ini mendukung berbagai jenis file:
- Video (
mp4,mkv, dll) - Image (
jpg,png,webp, dll) - Audio (
mp3,wav, dll) - Document (
pdf,docx, dll) - Archive (
zip,rar, dll) - Application (
apk,exe, dll) - Folder (rekursif)
Example Usage
GET /download/terabox?url=https://terabox.com/s/1abc123
Dengan struktur folder:
GET /download/terabox?url=https://terabox.com/s/1abc123&tree=true
Success Response
{
"success": true,
"message": "Berhasil mengambil data TeraBox",
"share_info": {
"input_url": "https://terabox.com/s/xxxx",
"resolved_url": "https://www.terabox.com/sharing/link?surl=xxxx",
"domain": "www.terabox.com",
"short_url_raw": "1xxxx",
"short_url_plain": "xxxx"
},
"stats": {
"total_files": 1,
"total_folders": 0,
"images": 0,
"videos": 1,
"audios": 0,
"documents": 0,
"archives": 0,
"applications": 0,
"others": 0
},
"files": [
{
"is_dir": false,
"fs_id": "749470424551158",
"name": "video.mp4",
"path": "/folder/video.mp4",
"type": "video",
"size": 1659020169,
"size_text": "1.55 GB",
"thumbnail": "https://dm-data.terabox.com/thumbnail/...",
"md5": "abc123",
"dlink": null,
"url": "https://dm.terabox.com/share/streaming?...",
"url_type": "m3u8",
"stream_url": "https://dm.terabox.com/share/streaming?...",
"stream_manifest": "https://dm.terabox.com/share/streaming?...",
"stream_type": "page_video_src",
"stream_segments_sample": [],
"error": null
}
]
}
Response Fields Explanation
| Field | Description |
|---|---|
type | Jenis file (video, image, audio, dll) |
thumbnail | Preview image (untuk video/image) |
url | URL utama (download atau streaming) |
url_type | Jenis URL (direct, m3u8, dlink) |
dlink | Direct link asli dari TeraBox |
stream_url | URL streaming video |
stream_manifest | URL manifest .m3u8 |
stream_segments_sample | Contoh segmen video |
error | Error jika gagal mendapatkan URL |
Notes
- Video menggunakan format HLS (m3u8 streaming)
⚠️ Penting
-
Tidak semua file memiliki direct URL (
url) -
Jika field
url:- tidak bisa diakses
- atau gagal diputar / didownload
👉 Gunakan field dlink sebagai fallback
-
dlinkadalah URL asli dari TeraBox -
Biasanya lebih stabil untuk:
- download file besar
- bypass player streaming
Error Response
Missing URL
{
"success": false,
"message": "Query url wajib diisi"
}
Failed Fetch
{
"success": false,
"message": "Gagal mengambil data TeraBox"
}
Internal Server Error
{
"success": false,
"message": "Internal server error"
}