DramaAPI is a unified short drama API: one JSON REST interface in front of 20 vertical-drama platforms, including ReelShort, DramaBox, ShortMax, GoodShort, DramaWave, MoboReels and NetShort. Instead of reverse-engineering each app, you call one base URL, get one response shape, and receive a playable HLS or MP4 stream URL at the end. This quickstart takes you from zero to your first stream URL with curl, then repeats the same flow with the official Python and JavaScript SDKs.
1. Get a free API key
Register at /register for a free 7-day key with 1,000 requests. Paid plans start at $15/month, payable in crypto. Every authenticated call sends the key in an HTTP header:
X-API-Key: YOUR_KEY
Base URL for everything below is https://dramaapi.live. One endpoint needs no key at all: GET /api/status lists every provider with its current series and episode counts, so it is a good first request to confirm the service is reachable.
curl https://dramaapi.live/api/status
2. Search all providers at once
The global search endpoint queries every platform in a single call. Pass a keyword and a lang code:
curl -H 'X-API-Key: YOUR_KEY' \
'https://dramaapi.live/api/v1/search?keyword=billionaire&lang=en'
The response is a flat list. Each hit carries the provider slug and the series id you need for the next steps:
{
"results": [
{
"id": "abc123",
"provider": "reelshort",
"title": "The Billionaire's Secret Bride",
"thumbnail": "https://...jpg",
"totalEpisodes": 60
}
]
}
Because the same story is often published on several platforms, you may see near-duplicate titles with different providers; any of them will work for the steps below. Keep provider and id from the first result. If you only want one platform, use the per-provider form GET /{provider}/api/v1/search?keyword=...&lang=en; see Search Every Short-Drama Platform With One API Call for when each makes sense.
3. Fetch the episode list
Episodes are paginated. Request page 1 for the series you picked:
curl -H 'X-API-Key: YOUR_KEY' \
'https://dramaapi.live/reelshort/api/v1/episodes/abc123?page=1'
{
"status": true,
"totalEpisodes": 60,
"page": 1,
"hasMore": true,
"episodes": [
{ "number": 1, "season": 1, "title": "Episode 1" },
{ "number": 2, "season": 1, "title": "Episode 2" }
]
}
Keep calling with page=2, page=3 and so on while hasMore is true. The number field is what you pass to the play endpoint. Series metadata (description, language, thumbnail) lives at GET /{provider}/api/v1/detail/{seriesId} if you need it.
4. Get the stream URL
This is how to get a ReelShort stream URL, or any other provider's, with one request:
curl -H 'X-API-Key: YOUR_KEY' \
https://dramaapi.live/reelshort/api/v1/play/abc123/1
{
"status": true,
"streamUrl": "https://.../index.m3u8",
"kind": "hls"
}
kind is hls (an m3u8 playlist) for most providers and mp4 for DramaBox and NetShort. A subtitles array appears only when the provider has captions. Stream URLs are signed and expire, so request them right before playback rather than caching them. A 503 with status: false means that episode has no playable source right now. Details on players and formats are in How to Get Short-Drama Stream URLs.
Same flow with the Python SDK
pip install dramaapi
from dramaapi import DramaAPI
api = DramaAPI('YOUR_KEY')
hits = api.search('billionaire', lang='en')['results']
first = hits[0]
print(first['provider'], first['id'], first['title'])
page = api.episodes(first['provider'], first['id'], page=1)
print(page['totalEpisodes'], 'episodes, hasMore =', page['hasMore'])
play = api.play(first['provider'], first['id'], 1)
print(play['kind'], play['streamUrl'])
A longer walkthrough, including a dependency-free requests version, is in How to Use the Short Drama API in Python.
Same flow with the JavaScript SDK
npm install dramaapi
import { DramaAPI } from 'dramaapi';
const api = new DramaAPI('YOUR_KEY');
const { results } = await api.search('billionaire', { lang: 'en' });
const first = results[0];
const page = await api.episodes(first.provider, first.id, 1);
console.log(page.totalEpisodes, 'episodes');
const { streamUrl, kind } = await api.play(first.provider, first.id, 1);
console.log(kind, streamUrl);
Both SDKs expose the same methods: search, home, detail, episodes, iterEpisodes and play. The SDK source is published on the DramaAPI GitHub, and full parameter tables are in the API reference.
Where to go from here
You now have the complete loop: search, pick a series, list episodes, play. A real app usually adds two things. First, keep your key on the server and expose only the resulting streamUrl to clients, so the key never ships in browser or mobile code. Second, treat a 503 from play as a soft failure: skip the episode or try the same title from another provider in the search results. Everything else, from thumbnails to episode counts, is already in the responses you have seen.
Next steps
- Get your free API key and run the curl calls above.
- Build a full client with the Python guide.
- Learn how HLS and MP4 playback differ in the stream URL guide.
- Understand global vs per-provider search in the search guide.
Drama