TikTok API endpoint
Lists the videos that use one sound, as the mobile app returns them: `aweme_list` of full video objects (with `author`, `statistics` and `added_sound_music_info`), plus `cursor` and `has_more`. `music_id` is required. `count` is accepted but ignored upstream - TikTok chooses the page size, which varies, so page with `cursor`. TikTok also decides the order: `sort=fresh` and `sort=popular` currently return the same videos in the same order, and it is not publication order, so read `create_time` on each video rather than treating the first rows as the newest.
/tiktok/mobile/music/postssort selects which upstream listing is requested:
fresh (default): /aweme/v1/music/fresh/aweme/.popular: the app's music.posts list (/aweme/v1/music/aweme/).TikTok decides the order, and both values currently return the same videos in the same order (measured on
2026-12-03/04: first pages for 11 sounds, second pages for 4). That order is not publication order, so neither
value is a newest-first feed: read create_time on each video.
music_id is required on both listings: without it the upstream answers status_code: 5 "Invalid parameters".
count is accepted for shape compatibility but is ignored by the server on both listings: measured
count=5, count=10 and count=20 against the same music_id returned byte-identical bodies. TikTok chooses
the page size, and it varies (first pages of 2 to 28 videos across the measured sounds), so page with cursor
(set it to the returned cursor) rather than trying to size the page. The measured cursors advanced 0 -> 12
-> 24.
The two responses are not byte-identical: popular pages additionally carry can_pin_video and
need_lazy_loading at the envelope level, and their video objects are narrower because that listing omits some
fields.
Query parameters:
music_id: required. Sound (music) id.sort: optional. Upstream listing to request; TikTok currently returns the same videos for both. Allowed values: fresh, popular. Default: fresh.count: optional. Accepted for compatibility; the server ignores it (max 50). Default: 0.cursor: optional. Pagination cursor. Default: 0.Example response (sort=popular):
{
"code": 200,
"msg": "OK",
"data": {
"aweme_list": [
{
"aweme_id": "7681236055831416084",
"desc": "example",
"create_time": 1788178688,
"author": {"unique_id": "example", "uid": "7552757483087250449"},
"added_sound_music_info": {"id_str": "6799585653702019073", "title": "Lofi"},
"statistics": {"aweme_id": "7681236055831416084", "play_count": 1, "digg_count": 2}
}
],
"cursor": 12,
"has_more": 1,
"can_pin_video": false,
"need_lazy_loading": false,
"extra": {"logid": "example", "now": 1792283000},
"log_pb": {"impr_id": "example"},
"status_code": 0,
"status_msg": ""
}
}
| Field | Filled in, of 12 checked | Values in the sample |
|---|---|---|
| added_sound_music_info | 12 | |
| ai_remix_info | 12 | |
| aigc_info | 12 | |
| anchors | 0 | |
| anchors_extras | 0 | |
| animated_image_info | 12 | |
| author | 12 | |
| author_enable_visual_search | 12 | true in 12 of 12 |
| author_user_id | 12 | |
| aweme_acl | 12 | |
| aweme_id | 12 | |
| aweme_type | 12 | 0 to 150, median 0 |
| banners | 12 | median 1 entry |
| behind_the_song_music_ids | 0 | |
| behind_the_song_video_music_ids | 0 | |
| bodydance_score | 12 | 0 |
| bottom_products | 0 | |
| branded_content_accounts | 0 | |
| cc_template_info | 12 | |
| cha_list | 10 | median 1 entry |
| challenge_position | 0 | |
| cmt_swt | 12 | true in 0 of 12 |
| collect_stat | 12 | 0 |
| comment_at_tako_info | 12 | |
| comment_config | 12 | |
| comment_topbar_info | 0 | |
| commerce_config_data | 0 | |
| commerce_info | 12 | |
| content_desc | 4 | median 176 characters |
| content_desc_extra | 4 | median 5 entries |
| content_level | 12 | 0 to 1, median 0 |
| content_model | 12 | |
| content_original_type | 12 | 1 to 2, median 1 |
| cover_labels | 0 | |
| create_time | 12 | 2022-09-30 to 2026-02-22 |
| creation_info | 12 | |
| desc | 11 | |
| desc_language | 12 | |
| disable_search_trending_bar | 12 | true in 0 of 12 |
| distance | 0 |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| x-api-key (header) | string | Yes | API key required | ||
| music_id | string | Yes | Sound (music) id | 6799585653702019073 | |
| sort | string | No | Upstream listing to request. TikTok currently returns the same videos, not in publication order, for both values Allowed values: fresh, popular. | ||
| count | integer | No | Accepted for compatibility; the server ignores it (max 50) | ||
| cursor | integer | No | Pagination cursor |
curl -X GET "https://api.crawlora.net/api/v1/tiktok/mobile/music/posts?music_id=6799585653702019073&sort=fresh&count=10" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"aweme_list": [
{
"aweme_id": "7681236055831416084",
"desc": "example",
"create_time": 1788178688,
"author": {
"unique_id": "example",
"uid": "7552757483087250449"
},
"added_sound_music_info": {
"id_str": "6799585653702019073",
"title": "Lofi"
},
"statistics": {
"aweme_id": "7681236055831416084",
"play_count": 1,
"digg_count": 2
}
}
],
"cursor": 12,
"has_more": 1,
"can_pin_video": false,
"need_lazy_loading": false,
"extra": {
"logid": "example",
"now": 1792283000
},
"log_pb": {
"impr_id": "example"
},
"status_code": 0,
"status_msg": ""
}
}Request schema
No body schema
Response schema
#/definitions/tiktokmobile.musicFreshAwemeResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | tiktokmobile.MusicFreshAwemeResponse | No | ||||
| data.aweme_list | array | No | ||||
| data.can_pin_video | unknown | No | popular listing only | |||
| data.cursor | integer | No | ||||
| data.extra | unknown | No | ||||
| data.has_more | boolean | No | ||||
| data.log_pb | unknown | No | ||||
| data.need_lazy_loading | unknown | No | popular listing only | |||
| 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/music/posts?music_id=6799585653702019073&sort=fresh&count=10" \
-H "x-api-key: $CRAWLORA_API_KEY"