API Documentation

Explore endpoints, parameters, and examples

Playground

Platforms

Endpoints

Authentication

All API requests require a Bearer token in the Authorization header.

Authorization: Bearer sk-your-token-here

Base URL

https://api.shortdrama.com
GET/api/v1/search

Search for dramas across platforms

Parameters

NameTypeRequiredDescription
qstringRequiredSearch query
platformstringOptionalPlatform ID (omit for all)
pagenumberOptionalPage number (default: 1)
limitnumberOptionalResults per page (default: 20, max: 100)

Example

curl -X GET "https://api.shortdrama.com/api/v1/search?q=love&platform=dramabox" -H "Authorization: Bearer YOUR_TOKEN"
GET/api/v1/drama/:id

Get detailed information about a drama

Parameters

NameTypeRequiredDescription
idstringRequiredDrama ID (in path)
platformstringRequiredPlatform ID

Example

curl -X GET "https://api.shortdrama.com/api/v1/drama/dramabox-drama-1?platform=dramabox" -H "Authorization: Bearer YOUR_TOKEN"
GET/api/v1/drama/:id/episodes

Get episode list for a drama

Parameters

NameTypeRequiredDescription
idstringRequiredDrama ID (in path)
platformstringRequiredPlatform ID
pagenumberOptionalPage number

Example

curl -X GET "https://api.shortdrama.com/api/v1/drama/dramabox-drama-1/episodes?platform=dramabox" -H "Authorization: Bearer YOUR_TOKEN"
GET/api/v1/episode/:id

Get streaming links for an episode

Parameters

NameTypeRequiredDescription
idstringRequiredEpisode ID (in path)
platformstringRequiredPlatform ID

Example

curl -X GET "https://api.shortdrama.com/api/v1/episode/dramabox-drama-1-ep-1?platform=dramabox" -H "Authorization: Bearer YOUR_TOKEN"
GET/api/v1/trending

Get trending dramas

Parameters

NameTypeRequiredDescription
platformstringOptionalPlatform ID (omit for all)

Example

curl -X GET "https://api.shortdrama.com/api/v1/trending" -H "Authorization: Bearer YOUR_TOKEN"