PD

PineDrama API

PineDrama is a TikTok-affiliated short drama platform offering a wide catalog of short-form drama series. This API provides direct MP4 video URLs, category-based browsing, and full episode access with trending and search capabilities.

Direct MP4
CDN video URLs
📁
Category Browse
Genre-based discovery
🌐
Multi-Language
Hardsub multi-language
Authentication

All PineDrama 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/pinedrama/trending

Supported Languages

Loading...
Endpoints
GET /api/pinedrama/languages API Key
Returns list of supported languages with codes and names.
Example
curl -H "X-API-Key: YOUR_KEY" "{{BASE}}/api/pinedrama/languages"
GET /api/pinedrama/trending API Key
Returns currently trending dramas on PineDrama. Response includes cursor for efficient next-page fetching.
ParameterTypeDescription
pageoptionalintegerPage number (default: 1)
countoptionalintegerItems per page (default: 15)
cursoroptionalstringCursor from previous response for next page (faster than page)
langoptionalstringLanguage code (default: id)
Example
curl -H "X-API-Key: YOUR_KEY" "{{BASE}}/api/pinedrama/trending?page=1&count=15&lang=id"
GET /api/pinedrama/foryou API Key
Personalized drama recommendations. Response includes cursor for efficient next-page fetching.
ParameterTypeDescription
pageoptionalintegerPage number (default: 1)
countoptionalintegerItems per page (default: 15)
cursoroptionalstringCursor from previous response for next page (faster than page)
langoptionalstringLanguage code (default: id)
Example
curl -H "X-API-Key: YOUR_KEY" "{{BASE}}/api/pinedrama/foryou?page=1&count=15&lang=id"
GET /api/pinedrama/category API Key
Browse dramas by category/genre. Without id, returns the list of available categories. With id, returns dramas in that category with pagination.
ParameterTypeDescription
idoptionalstringCategory ID — omit to list all categories
pageoptionalintegerPage number (default: 1)
countoptionalintegerItems per page (default: 15)
cursoroptionalstringCursor from previous response for next page
langoptionalstringLanguage code (default: id)
List Categories
curl -H "X-API-Key: YOUR_KEY" "{{BASE}}/api/pinedrama/category"
Browse Category
curl -H "X-API-Key: YOUR_KEY" "{{BASE}}/api/pinedrama/category?id=1&page=1&count=15&lang=id"
GET /api/pinedrama/search?q={query} API Key
Search for dramas within PineDrama.
ParameterTypeDescription
qrequiredstringSearch query
pageoptionalintegerPage number (default: 1)
countoptionalintegerItems per page (default: 20)
langoptionalstringLanguage code (default: id)
Example
curl -H "X-API-Key: YOUR_KEY" "{{BASE}}/api/pinedrama/search?q=cinta&page=1&count=20&lang=id"
GET /api/pinedrama/detail?id={bookId} API Key
Get detailed information about a specific PineDrama drama including episode list, channel info, and metadata.
ParameterTypeDescription
idrequiredstringCollection ID from search or trending results
langoptionalstringLanguage code (default: id)
Example
curl -H "X-API-Key: YOUR_KEY" "{{BASE}}/api/pinedrama/detail?id=7637081563829916673&lang=id"
GET /api/pinedrama/allepisode?id={collectionId} API Key
Returns all episodes for a drama with episode numbers and video IDs. Use /episode?id=X&ep=N to get HD video URLs per episode.
ParameterTypeDescription
idrequiredstringCollection ID
langoptionalstringLanguage code (default: id)
Example
curl -H "X-API-Key: YOUR_KEY" "{{BASE}}/api/pinedrama/allepisode?id=7637081563829916673&lang=id"
GET /api/pinedrama/episode?id={collectionId}&ep={number} API Key
Returns a single episode with HD + SD video URLs, quality list, duration, and metadata.
ParameterTypeDescription
idrequiredstringCollection ID
eprequiredintegerEpisode number (1-based)
langoptionalstringLanguage code (default: id)
Example
curl -H "X-API-Key: YOUR_KEY" "{{BASE}}/api/pinedrama/episode?id=7637081563829916673&ep=1&lang=id"
PineDrama — Api-Dracin Multi-Source Drama Streaming API