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
Returns list of supported languages with codes and names.
Example
curl -H "X-API-Key: YOUR_KEY" "{{BASE}}/api/stardustv/languages"Copy
Returns currently trending dramas on StardustTV.
Parameter Type Description
lang optional string Language code (default: id)
Example
curl -H "X-API-Key: YOUR_KEY" "{{BASE}}/api/stardustv/trending?lang=id"Copy
Search for dramas by keyword. Returns paginated results with cover, title, and play count.
Parameter Type Description
q required string Search keyword
page optional integer Page number (default: 1)
lang optional string Language code (default: id)
Example
curl -H "X-API-Key: YOUR_KEY" "{{BASE}}/api/stardustv/search?q=cinta&lang=id"Copy
Get detailed information about a specific drama including all episodes. Each episode includes hlsUrl (proxy path), subtitleUrl (SRT), and videoUrl.
Parameter Type Description
id required string Drama ID from search or trending results
lang optional string Language code (default: id)
Example
curl -H "X-API-Key: YOUR_KEY" "{{BASE}}/api/stardustv/detail?id=87&lang=id"Copy
Get video URL, subtitle URL, and metadata for a specific episode. Returns hlsUrl (proxy redirect), subtitleUrl (SRT subtitle), and videoUrl (direct CDN).
Parameter Type Description
id required string Drama ID
ep required integer Episode number (1-based)
lang optional string Language code (default: id)
Example
curl -H "X-API-Key: YOUR_KEY" "{{BASE}}/api/stardustv/episode?id=87&ep=1&lang=id"Copy
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.
Parameter Type Description
id required string Drama ID
ep required integer Episode number (1-based)
lang optional string Language code (default: id)
Example
curl -L -H "X-API-Key: YOUR_KEY" "{{BASE}}/api/stardustv/hls?id=87&ep=1&lang=id"Copy
Returns all available categories with IDs and localized display names.
Parameter Type Description
lang optional string Language code (default: id)
Example
curl -H "X-API-Key: YOUR_KEY" "{{BASE}}/api/stardustv/categories?lang=id"Copy
Returns dramas filtered by category ID. Paginated results.
Parameter Type Description
id required integer Category ID from /categories endpoint
page optional integer Page number (default: 1)
lang optional string Language code (default: id)
Example
curl -H "X-API-Key: YOUR_KEY" "{{BASE}}/api/stardustv/category?id=1&lang=id"Copy