Search Every Short-Drama Platform With One API Call

Short dramas are scattered across dozens of apps, and the same title is often published on several of them under slightly different names. DramaAPI collapses that into a single drama API call: GET /api/v1/search queries all 20 providers at once and returns one merged list. This guide shows how the endpoint works, how each result carries its provider so you can jump straight to playback, how to filter by language, and when the per-provider search is the better tool.

The global search endpoint

GET https://dramaapi.live/api/v1/search?keyword=love&lang=en
X-API-Key: YOUR_KEY
curl -H 'X-API-Key: YOUR_KEY' \
  'https://dramaapi.live/api/v1/search?keyword=love&lang=en'

Behind that one request DramaAPI fans the query out to ReelShort, DramaBox, ShortMax, GoodShort, DramaWave, MoboReels, NetShort and the rest, normalises every platform's response, and returns a flat array:

{
  "results": [
    {
      "id": "abc123",
      "provider": "reelshort",
      "title": "Love in the Boardroom",
      "thumbnail": "https://...jpg",
      "totalEpisodes": 72
    },
    {
      "id": "998877",
      "provider": "dramabox",
      "title": "Second Chance Love",
      "thumbnail": "https://...jpg",
      "totalEpisodes": 80
    }
  ]
}

Every item has the same five fields regardless of origin: id, provider, title, thumbnail and totalEpisodes. You never need to know which upstream app a result came from to render it in a grid.

Each result is already playable

The provider slug is the key design point. Series ids are only unique within a platform, so the pair (provider, id) is what identifies a show. That pair plugs directly into the other endpoints:

  • GET /{provider}/api/v1/detail/{id} for description and language
  • GET /{provider}/api/v1/episodes/{id}?page=1 for the episode list
  • GET /{provider}/api/v1/play/{id}/{episodeNumber} for the stream URL

So a search hit can go straight to playback with no second lookup. In Python with the SDK:

from dramaapi import DramaAPI

api = DramaAPI('YOUR_KEY')

hits = api.search('love', lang='en')['results']
for h in hits[:5]:
    print(h['provider'].ljust(10), h['totalEpisodes'], h['title'])

best = hits[0]
play = api.play(best['provider'], best['id'], 1)
if play.get('status'):
    print(play['kind'], play['streamUrl'])

And in JavaScript:

import { DramaAPI } from 'dramaapi';

const api = new DramaAPI('YOUR_KEY');
const { results } = await api.search('love', { lang: 'en' });
const best = results[0];
const { kind, streamUrl } = await api.play(best.provider, best.id, 1);
console.log(best.provider, kind, streamUrl);

Remember that play can answer 503 with status: false when an episode has no source right now. Because global search often returns the same story from more than one platform, a natural fallback is to try the next hit with a matching title. See How to Get Short-Drama Stream URLs for the full playback flow.

Filtering by language

The lang parameter restricts results to catalogues in that language. Many providers publish separate English, Spanish, Portuguese, Indonesian, Thai, Turkish, Japanese and Korean editions, and the same keyword can hit all of them; passing lang keeps your result list relevant.

curl -H 'X-API-Key: YOUR_KEY' \
  'https://dramaapi.live/api/v1/search?keyword=amor&lang=es'

Use standard two-letter codes such as en, es, pt, id, th, tr, ja and ko. If you need to confirm a series' language after the fact, the detail endpoint's drama.language field reports it. To see which providers currently have content and how much, call GET /api/status, which needs no key and lists every provider with series and episode counts.

When to use per-provider search instead

Global search is the right default for user-facing search boxes and for catalogue discovery. The provider-scoped variant exists for a different set of needs:

GET https://dramaapi.live/{provider}/api/v1/search?keyword=love&lang=en
  • Your product is built around one platform. A ReelShort-only companion app should query /reelshort/api/v1/search and never see other catalogues.
  • You need a specific stream format. DramaBox and NetShort return kind: mp4; everything else is HLS. If your player can only handle one, scope the search to providers that match.
  • You want subtitles. Only some providers carry captions (DramaWave up to 31 languages, WeTV up to 12, DramaNova 6, MoboReels 1). Searching those directly guarantees every hit can return a subtitles array.
  • Latency and quota. A per-provider search is a single upstream lookup, so it is faster and lighter than fanning out to 20 platforms. If you already know where a title lives, go direct.
  • Browsing rather than searching. For a home screen use GET /{provider}/api/v1/home?lang=en&page=1, which returns the provider's own curated catalogue in the same results shape.

Both search variants share the result schema, so switching between them is a one-line change: api.search(keyword, lang='en') for everything, or a request to /{provider}/api/v1/search for one platform. Parameter details for each are in the API reference.

A practical pattern: dedupe by title

Since several platforms often carry the same show, you may want one card per story with the provider list underneath. A small grouping step does it:

from collections import defaultdict

grouped = defaultdict(list)
for h in api.search('love', lang='en')['results']:
    grouped[h['title'].strip().lower()].append(h)

for title, versions in grouped.items():
    providers = ', '.join(v['provider'] for v in versions)
    print(f'{versions[0]["title"]}  [{providers}]')

When the user picks a card, call play on the first version and fall through to the next if it answers 503.

Next steps

More guides