ST

StardustTV API

StardustTV drama streaming API — trending, search, detail, episodes with HLS streaming, SRT subtitles, and 13 language support. CDN-direct video segments for zero server bandwidth.

HLS Proxy
CDN-direct via /hls endpoint
🔓
SRT Subtitles
Per-episode subtitle URLs
🌐
13 Languages
ID, EN, TH, ZH, JA, KO, ES, PT, FR, DE, TR, AR
Authentication

All StardustTV endpoints require the X-API-Key header except /health and /api/sources.

Rate Limits

PlanRequests / min
Free10
Monthly5,000
LifetimeUnlimited

Example Request

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

Supported Languages

Loading...
Endpoints
GET /api/stardustv/languages API Key
Returns list of supported languages with codes and names.
Example
curl -H "X-API-Key: YOUR_KEY" "{{BASE}}/api/stardustv/languages"
GET /api/stardustv/trending API Key
Returns currently trending dramas on StardustTV.
ParameterTypeDescription
langoptionalstringLanguage code (default: id)
Example
curl -H "X-API-Key: YOUR_KEY" "{{BASE}}/api/stardustv/trending?lang=id"
GET /api/stardustv/search?q={query} API Key
Search for dramas by keyword. Returns paginated results with cover, title, and play count.
ParameterTypeDescription
qrequiredstringSearch keyword
pageoptionalintegerPage number (default: 1)
langoptionalstringLanguage code (default: id)
Example
curl -H "X-API-Key: YOUR_KEY" "{{BASE}}/api/stardustv/search?q=cinta&lang=id"
GET /api/stardustv/detail?id={id} API Key
Get detailed information about a specific drama including all episodes. Each episode includes hlsUrl (proxy path), subtitleUrl (SRT), and videoUrl.
ParameterTypeDescription
idrequiredstringDrama ID from search or trending results
langoptionalstringLanguage code (default: id)
Example
curl -H "X-API-Key: YOUR_KEY" "{{BASE}}/api/stardustv/detail?id=87&lang=id"
GET /api/stardustv/episode?id={id}&ep={ep} API Key
Get video URL, subtitle URL, and metadata for a specific episode. Returns hlsUrl (proxy redirect), subtitleUrl (SRT subtitle), and videoUrl (direct CDN).
ParameterTypeDescription
idrequiredstringDrama ID
eprequiredintegerEpisode number (1-based)
langoptionalstringLanguage code (default: id)
Example
curl -H "X-API-Key: YOUR_KEY" "{{BASE}}/api/stardustv/episode?id=87&ep=1&lang=id"
GET /api/stardustv/hls?id={id}&ep={ep} API Key
HLS proxy endpoint. Fetches the video URL for an episode and returns a 302 redirect to the CDN m3u8. Use this to hide the origin CDN domain from clients.
ParameterTypeDescription
idrequiredstringDrama ID
eprequiredintegerEpisode number (1-based)
langoptionalstringLanguage code (default: id)
Example
curl -L -H "X-API-Key: YOUR_KEY" "{{BASE}}/api/stardustv/hls?id=87&ep=1&lang=id"
GET /api/stardustv/categories API Key
Returns all available categories with IDs and localized display names.
ParameterTypeDescription
langoptionalstringLanguage code (default: id)
Example
curl -H "X-API-Key: YOUR_KEY" "{{BASE}}/api/stardustv/categories?lang=id"
GET /api/stardustv/category?id={cat_id} API Key
Returns dramas filtered by category ID. Paginated results.
ParameterTypeDescription
idrequiredintegerCategory ID from /categories endpoint
pageoptionalintegerPage number (default: 1)
langoptionalstringLanguage code (default: id)
Example
curl -H "X-API-Key: YOUR_KEY" "{{BASE}}/api/stardustv/category?id=1&lang=id"
Api-Dracin — StardustTV API Reference