DramaAPI documentation
One REST API for 20 short-drama platforms: search 173,969 series, list episodes and get playable stream URLs. Every provider returns the same JSON shape.
Authentication
Base URL: https://dramaapi.live. Send your key on every request in the X-API-Key header (or ?api_key=).
Trial
- Free, 7 days
- 1,000 requests
Starter · $15/mo
- 200,000 requests / 30 days
- Paid in crypto
Pro · $50/mo
- 1,000,000 requests / 30 days
- Paid in crypto
Business · $99/mo
- 10,000,000 requests / 30 days
- Paid in crypto
SDKs
Official clients with no dependencies: Python on PyPI, JavaScript / TypeScript on npm, source on GitHub.
pip install dramaapi npm install dramaapi
Quick start
# 1. find a series curl -H 'X-API-Key: YOUR_KEY' \ 'https://dramaapi.live/api/v1/search?keyword=billionaire&limit=5' # 2. list its episodes curl -H 'X-API-Key: YOUR_KEY' \ 'https://dramaapi.live/reelshort/api/v1/episodes/SERIES_ID' # 3. get a stream URL curl -H 'X-API-Key: YOUR_KEY' \ 'https://dramaapi.live/reelshort/api/v1/play/SERIES_ID/1'
import requests
API = "https://dramaapi.live"
H = {"X-API-Key": "YOUR_KEY"}
hits = requests.get(f"{API}/api/v1/search", params={"keyword": "billionaire"}, headers=H).json()
first = hits["results"][0]
play = requests.get(f"{API}/{first['provider']}/api/v1/play/{first['id']}/1", headers=H).json()
print(play["format"], play["streamUrl"])const API = "https://dramaapi.live";
const H = { "X-API-Key": "YOUR_KEY" };
const hits = await fetch(`${API}/api/v1/search?keyword=billionaire`, { headers: H }).then(r => r.json());
const s = hits.results[0];
const play = await fetch(`${API}/${s.provider}/api/v1/play/${s.id}/1`, { headers: H }).then(r => r.json());
console.log(play.format, play.streamUrl);Endpoints
{provider} is a provider slug such as reelshort or dramabox. * marks required parameters.
| Endpoint | Parameters | Returns |
|---|---|---|
GET /api/status | — | Service status, provider list and catalogue counts. No key needed. |
GET /api/providers | — | Provider slugs and names you can use in the paths below. |
GET /api/v1/search | keyword*, lang, provider (comma list), page, limit ≤ 100 | Search every provider at once; each result carries its provider. |
GET /{provider}/api/v1/search | keyword*, lang, page, limit ≤ 100 | Search one provider's catalogue. |
GET /{provider}/api/v1/home | lang, page, limit ≤ 100 | Browse a provider's catalogue page by page. |
GET /{provider}/api/v1/detail/{series_id} | — | Series details: title, cover, description, genres, language, episode count. |
GET /{provider}/api/v1/episodes/{series_id} | page, limit ≤ 500 (default 100) | Episode list with numbers and titles; hasMore for paging. |
GET /{provider}/api/v1/play/{series_id}/{ep} | — | streamUrl and format (HLS or MP4) for one episode, plus subtitles when the source has them. |
Responses
{
"status": true,
"keyword": "billionaire",
"page": 1,
"hasMore": true,
"totalResults": 1240,
"results": [
{
"id": "rs-churakechanay-th",
"title": "…",
"thumbnail": "https://…jpg",
"totalEpisodes": 54,
"language": "th",
"provider": "reelshort",
"genres": ["…"]
}
]
}{
"status": true,
"provider": "reelshort",
"dramaId": "rs-churakechanay-th",
"episode": 1,
"streamUrl": "https://…/playlist.m3u8",
"format": "HLS",
"subtitles": [
{ "language": "en", "label": "English", "url": "https://…/en.vtt" }
]
}Some stream URLs are proxied through stream.dramaapi.live because the source requires a referer; play them as returned.
Errors
Errors return {"status": false, "error": "…", "code": N} with a matching HTTP status.
| HTTP | Meaning |
|---|---|
401 | Missing, invalid or expired API key. |
404 | Unknown provider or series ID. |
429 | Monthly request quota used up. |
502 | The stream backend could not be reached; retry. |
503 | No playable source for this episode (locked or removed on the source platform). |
FAQ
How do I authenticate?
Send your key in the X-API-Key header, or as the api_key query parameter. Keys come from /register.
What are the limits?
A free trial key lasts 7 days with 1,000 requests. Starter allows 200,000, Pro 1,000,000 and Business 10,000,000 requests per 30 days.
How long are stream URLs valid?
Many sources sign their URLs for a limited time, usually around an hour. Request play again instead of storing URLs.
Do all providers return playable streams?
Most do. A few are catalogue-only; their provider page says so. A locked or removed episode returns 503.
Is the response shape the same for every provider?
Yes. Search, details, episodes and play return the same fields whichever provider you call.