Documentation
API reference
One endpoint reads a link from any supported platform and returns the formats available. The base URL is https://downloaderku.web.id.
Authentication
Send your key in the x-api-key header, or as Authorization: Bearer. Keys start with dlku_live_. Keep them on the server.
Resolve a link
POST /api/v1/resolve with a JSON body. GET with a ?url= query also works.
| Parameter | Type | Required | Description |
|---|---|---|---|
| url | string | Yes | Public link to the media. Up to 2048 characters. |
resolve
curl -X POST https://downloaderku.web.id/api/v1/resolve \
-H "x-api-key: dlku_live_your_key" \
-H "Content-Type: application/json" \
-d '{"url": "https://www.tiktok.com/@tiktok/video/7106594312292453675"}'Response
quota shows what is left on your key after this request.
response.json
{
"success": true,
"platform": "tiktok",
"cached": false,
"data": {
"id": "7106594312292453675",
"title": "TikTok sample clip",
"uploader": "TikTok",
"duration": 15,
"durationFormatted": "00:15",
"formats": [
{
"id": "fhd_nowm",
"label": "MP4 1080p",
"quality": "1080p",
"type": "video",
"ext": "mp4"
},
{
"id": "mp3",
"label": "MP3 Audio",
"quality": "320kbps",
"type": "audio",
"ext": "mp3"
}
]
},
"quota": {
"tier": "free",
"credits_remaining": 0,
"daily_limit": 100,
"daily_used": 1
}
}Errors
Failed requests return { "success": false, "error": "…" }.
| Status | Meaning |
|---|---|
| 400 | The url field is missing or invalid. |
| 401 | The API key is missing or invalid. |
| 402 | No credits left. Top up to continue. |
| 403 | The API key has been disabled. |
| 422 | The media could not be read. It may be private or removed. |
| 429 | Daily quota or per-minute rate limit reached. |
| 500 | Internal server error. |
Limits
Rate limits apply per key on a sliding one-minute window. Paid top-ups add credits that stay on the key until spent.
| Plan | Rate | Quota |
|---|---|---|
| Free | 30 / min | 100 / day, resets at 00:00 WIB |
| Starter | 60 / min | 2,500 requests, no expiry |
| Pro | 120 / min | 8,000 requests, no expiry |
| Monster | 240 / min | 25,000 requests, no expiry |