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.

Install
pip install dramaapi
npm install dramaapi

Quick start

cURL
# 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'
Python
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"])
JavaScript
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.

EndpointParametersReturns
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/searchkeyword*, lang, provider (comma list), page, limit ≤ 100Search every provider at once; each result carries its provider.
GET /{provider}/api/v1/searchkeyword*, lang, page, limit ≤ 100Search one provider's catalogue.
GET /{provider}/api/v1/homelang, page, limit ≤ 100Browse 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

GET /api/v1/search
{
  "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": ["…"]
    }
  ]
}
GET /{provider}/api/v1/play/{series_id}/{ep}
{
  "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.

HTTPMeaning
401Missing, invalid or expired API key.
404Unknown provider or series ID.
429Monthly request quota used up.
502The stream backend could not be reached; retry.
503No 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.

Providers