TikTok API endpoint
Returns the discover-category feed unmodified: each `category_list` entry is `{aweme_list, category_type, challenge_info, click_track_url_list, desc, track_url_list}`, with `cursor` and `has_more` for paging.
/tiktok/mobile/trending/categoriesQuery parameters:
count: optional. Categories per page (max 50). Default: 20.cursor: optional. Pagination cursor. Default: 0.| Field | Filled in, of 12 checked | Values in the sample |
|---|---|---|
| aweme_list | 12 | median 7 entries |
| category_type | 12 | 0 |
| challenge_info | 12 | |
| click_track_url_list | 0 | |
| desc | 12 | |
| track_url_list | 0 |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| x-api-key (header) | string | Yes | API key required | ||
| count | integer | No | Categories per page (max 50) | ||
| cursor | integer | No | Pagination cursor |
curl -X GET "https://api.crawlora.net/api/v1/tiktok/mobile/trending/categories?count=10" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"category_list": [
{
"category_type": 1,
"desc": "Dance",
"aweme_list": [
{
"aweme_id": "7681236055831416084",
"desc": "example"
}
],
"challenge_info": {
"cid": "1",
"cha_name": "dance"
},
"click_track_url_list": [],
"track_url_list": []
}
],
"cursor": 3,
"device_type": 42,
"has_more": 1,
"extra": {
"logid": "example",
"now": 1792283000
},
"log_pb": {
"impr_id": "example"
},
"status_code": 0,
"status_msg": ""
}
}Request schema
No body schema
Response schema
#/definitions/tiktokmobile.categoryListResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | tiktokmobile.CategoryListResponse | No | ||||
| data.category_list | array | No | ||||
| data.cursor | integer | No | ||||
| data.device_type | integer | No | ||||
| data.extra | unknown | No | ||||
| data.has_more | boolean | No | ||||
| data.log_pb | unknown | No | ||||
| data.status_code | integer | No | ||||
| data.status_msg | string | No | ||||
| msg | string | No | OK |
| Status | Description | Schema |
|---|---|---|
| 400 | Invalid input | #/definitions/app.Response |
| 429 | Rate limit exceeded | #/definitions/app.Response |
| 500 | Internal server error | #/definitions/app.Response |
Use environment variables for secrets and keep Crawlora API keys server-side.
curl -X GET "https://api.crawlora.net/api/v1/tiktok/mobile/trending/categories?count=10" \
-H "x-api-key: $CRAWLORA_API_KEY"