DramaBox API endpoint
Returns the genres DramaBox's browse accepts (Romance, Werewolves, Revenge, Billionaire, ...) as ids and names, read live from DramaBox. Pass a genre id to dramabox-browse. Only public catalog metadata is read; no playable video is returned.
/dramabox/genresQuery parameters:
language: optional site locale: en, ko, zhHans, zh, es, ja, de, in (Indonesian), th, tl, pt, fr, ar or it. Defaults to en. Genre names are translated; ids are the same in every locale.Notable response behavior:
id and a name. The "all" pseudo-genre is not listed; omit genre_id (or pass 0) in dramabox-browse to browse everything.Example response (long values and lists shortened):
{
"code": 200,
"msg": "OK",
"data": {
"language": "en",
"genres": [
{
"id": 534,
"name": "Werewolves"
},
{
"id": 271,
"name": "Avenge"
},
{
"id": 189,
"name": "Divine Tycoon"
},
{
"id": 253,
"name": "Love Triangle"
}
]
}
}
| Field | Filled in, of 54 checked | Values in the sample |
|---|---|---|
| id | 54 | |
| name | 54 | “Werewolves” and 53 other values |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| language | string | No | en | Site locale, one of: en, ko, zhHans, zh, es, ja, de, in, th, tl, pt, fr, ar, it (in is Indonesian); defaults to en. Each locale has its own title library Allowed values: en, ko, zhHans, zh, es, ja, de, in, th, tl, pt, fr, ar, it. | ja |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/dramabox/genres?language=en" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"language": "en",
"genres": [
{
"id": 534,
"name": "Werewolves"
},
{
"id": 271,
"name": "Avenge"
},
{
"id": 189,
"name": "Divine Tycoon"
},
{
"id": 253,
"name": "Love Triangle"
}
]
}
}Request schema
No body schema
Response schema
#/definitions/dramabox.genresResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | dramabox.GenresResponse | No | ||||
| data.genres | array | No | ||||
| data.genres[].id | integer | No | ||||
| data.genres[].name | string | No | ||||
| data.language | string | No | ||||
| msg | string | No | OK |
| Status | Description | Schema |
|---|---|---|
| 400 | Bad Request | #/definitions/app.Response |
| 429 | Too Many Requests | #/definitions/app.Response |
| 503 | Service Unavailable | #/definitions/app.Response |
Use environment variables for secrets and keep Crawlora API keys server-side.
curl -X GET "https://api.crawlora.net/api/v1/dramabox/genres?language=en" \
-H "x-api-key: $CRAWLORA_API_KEY"