iD

iDrama API

iDrama is an Asian short drama platform with RSA-SHA256 request signing and automatic visitor management. CDN-direct video URLs, auto episode unlocking, and 16 language support.

Direct Video
CDN-direct URLs, no DRM
🔓
Auto Unlock
Visitor rotation + episode unlock
🌐
Multi-Language
16 languages supported
Authentication

All iDrama endpoints require the X-API-Key header.

Rate Limits

PlanRequests / min
Free10
Monthly5,000
LifetimeUnlimited

Example Request

curl -H "X-API-Key: YOUR_KEY" \
{{BASE}}/api/idrama/trending

Supported Languages

Loading...
Endpoints
GET /api/idrama/languages API Key
Returns list of supported languages with codes and names.
Example
curl -H "X-API-Key: YOUR_KEY" "{{BASE}}/api/idrama/languages"
GET /api/idrama/trending API Key
Returns trending dramas from iDrama.
ParameterTypeDescription
langoptionalstringLanguage code (default: id)
pageoptionalintegerPage number (default: 1)
Example
curl -H "X-API-Key: YOUR_KEY" "{{BASE}}/api/idrama/trending?lang=id"
GET /api/idrama/foryou?page={page} API Key
Returns paginated drama catalog from iDrama.
ParameterTypeDescription
langoptionalstringLanguage code (default: id)
pageoptionalintegerPage number (default: 1)
Example
curl -H "X-API-Key: YOUR_KEY" "{{BASE}}/api/idrama/foryou?page=1&lang=id"
GET /api/idrama/search?q={query} API Key
Search for dramas within iDrama by keyword.
ParameterTypeDescription
qrequiredstringSearch query
langoptionalstringLanguage code (default: id)
pageoptionalintegerPage number (default: 1)
Example
curl -H "X-API-Key: YOUR_KEY" "{{BASE}}/api/idrama/search?q=love&lang=id"
GET /api/idrama/detail?id={dramaId} API Key
Get detailed information about a specific iDrama drama.
ParameterTypeDescription
idrequiredstringDrama ID from search or trending results
langoptionalstringLanguage code (default: id)
Example
curl -H "X-API-Key: YOUR_KEY" "{{BASE}}/api/idrama/detail?id=12345&lang=id"
GET /api/idrama/episode?id={dramaId}&ep={number} API Key
Returns episode data including a direct CDN video URL. Episodes are automatically unlocked via visitor rotation — no DRM decryption needed, just play the video URL.
ParameterTypeDescription
idrequiredstringDrama ID
eprequiredintegerEpisode number (1-based)
langoptionalstringLanguage code (default: id)
Example
curl -H "X-API-Key: YOUR_KEY" "{{BASE}}/api/idrama/episode?id=12345&ep=1&lang=id"
GET /api/idrama/hls?id={dramaId}&ep={number} API Key
HLS streaming endpoint. Fetches the video URL server-side and returns a 302 redirect to the iDrama CDN m3u8 stream. Use this URL directly in an HLS player (hls.js, VLC, etc.) — the server handles unlocking and URL resolution transparently.

Response: 302 FoundLocation: https://v-a.idrama.video/...m3u8
Error: 404 if episode has no video URL available.
idrequiredstringDrama ID
eprequiredintegerEpisode number (1-based)
langstringLanguage code (default: id)
curl -L -H "X-API-Key: YOUR_KEY" "{{BASE}}/api/idrama/hls?id=100000642500&ep=1&lang=id"
iDrama — Api-Dracin Multi-Source Drama Streaming API