# TikTok Music API Reference

Canonical: https://monsterapi.co/docs/api/tiktok-music

Read the TikTok Music reference. Review parameters, response fields, examples, and current credit prices.

OpenAPI specification: [TikTok](https://monsterapi.co/docs/openapi/platforms/tiktok.yaml).

---

Current operation prices: [public catalog](https://monsterapi.co/account/api/v1/public/api-prices). Prices use credits per request.

---

# TikTok: Posts for a sound

`GET /tiktok/api/mobile/music/item_list`

Documentation: https://monsterapi.co/docs/api/tiktok#tiktok-publications-by-music-id

Operation ID: `tiktok_mobile_music_items`

Returns publications for music_id. Count is a page-size hint.

## Authentication

Send your billing API key in the `Authorization: Bearer <YOUR_API_KEY>` header. Your account login is separate.

## Inputs

- `music_id` (query, required): Required decimal (1 to 32 digits) music identifier. Use `named.posts[].music.id` from [GET /mobile/feed](https://monsterapi.co/docs/api/tiktok-publications#tiktok-recommendations).

- `count` (query, optional): Page-size hint from 1 to 200; returned size may differ.

- `cursor` (query, optional): Optional continuation token from next_cursor of [GET /mobile/music/item_list](https://monsterapi.co/docs/api/tiktok-music#tiktok-publications-by-music-id). Pass it unchanged as cursor to this same GET path with the same filters; omit on the first page.

## Responses

- 200: Public TikTok data

- 400: Invalid subject, query value or cursor

Refused at the gateway: the request target, path and query string together, is longer than 8,192 bytes; or the headers, the target counted among them, exceed 16,384 bytes or 64 fields

- 401: #/components/responses/GatewayUnauthorized

- 402: #/components/responses/GatewayPaymentRequired

- 403: Resource is private or unavailable

Refused at the gateway: the API key is unknown or revoked

- 404: Resource is absent or final page is empty

- 405: `method_not_allowed`: the endpoint answers GET alone, and any other method, HEAD included, is refused

Refused at the gateway: the path exists, but no operation on it takes the method of the request, HEAD included; `Allow` names the methods that do

- 409: #/components/responses/GatewayConflict

- 429: #/components/responses/GatewayTooManyRequests

- 500: Response structure is unavailable

- 501: Resource requires authentication

- 503: Temporary TikTok or service refusal

Refused at the gateway: the check could not complete, the account is suspended, or the platform did not answer; each may pass later, and `Retry-After` comes only when the platform did not answer

## Credits

Check the live price in the documentation before sending. Platform 2xx and 4xx responses can use credits, including empty data. Gateway refusals and 5xx responses do not use credits. Each pagination request is a separate call.

https://monsterapi.co/docs/pricing

## Request template

Replace path placeholders and add the required query parameters from the Inputs section before sending.

```shell

curl --get 'https://api.monsterapi.co/tiktok/api/mobile/music/item_list' \
  -H 'Authorization: Bearer <YOUR_API_KEY>'

```

---

# TikTok: Music details

`GET /tiktok/api/web/music/detail`

Documentation: https://monsterapi.co/docs/api/tiktok#tiktok-music-details

Operation ID: `tiktok_web_music_detail`

Returns music details for musicId.

## Authentication

Send your billing API key in the `Authorization: Bearer <YOUR_API_KEY>` header. Your account login is separate.

## Inputs

- `musicId` (query, required): Required decimal (1 to 32 digits) music identifier. Use `named.posts[].music.id` from [GET /web/post/item_list](https://monsterapi.co/docs/api/tiktok-publications#tiktok-publications-by-secuid).

## Responses

- 200: Public TikTok data

- 400: Invalid subject, query value or cursor

Refused at the gateway: the request target, path and query string together, is longer than 8,192 bytes; or the headers, the target counted among them, exceed 16,384 bytes or 64 fields

- 401: #/components/responses/GatewayUnauthorized

- 402: #/components/responses/GatewayPaymentRequired

- 403: Resource is private or unavailable

Refused at the gateway: the API key is unknown or revoked

- 404: Resource is absent or final page is empty

- 405: `method_not_allowed`: the endpoint answers GET alone, and any other method, HEAD included, is refused

Refused at the gateway: the path exists, but no operation on it takes the method of the request, HEAD included; `Allow` names the methods that do

- 409: #/components/responses/GatewayConflict

- 429: #/components/responses/GatewayTooManyRequests

- 500: Response structure is unavailable

- 501: Resource requires authentication

- 503: Temporary TikTok or service refusal

Refused at the gateway: the check could not complete, the account is suspended, or the platform did not answer; each may pass later, and `Retry-After` comes only when the platform did not answer

## Credits

Check the live price in the documentation before sending. Platform 2xx and 4xx responses can use credits, including empty data. Gateway refusals and 5xx responses do not use credits. Each pagination request is a separate call.

https://monsterapi.co/docs/pricing

## Request template

Replace path placeholders and add the required query parameters from the Inputs section before sending.

```shell

curl --get 'https://api.monsterapi.co/tiktok/api/web/music/detail' \
  -H 'Authorization: Bearer <YOUR_API_KEY>'

```

---

# TikTok: Posts for a sound

`GET /tiktok/api/web/music/item_list`

Documentation: https://monsterapi.co/docs/api/tiktok#tiktok-publications-by-musicid

Operation ID: `tiktok_web_music_items`

Returns publications for musicID. Count is a page-size hint.

## Authentication

Send your billing API key in the `Authorization: Bearer <YOUR_API_KEY>` header. Your account login is separate.

## Inputs

- `musicID` (query, required): Required decimal (1 to 32 digits) music identifier. Use `named.music.id` from [GET /web/music/detail](https://monsterapi.co/docs/api/tiktok-music#tiktok-music-details).

- `count` (query, optional): Page-size hint from 1 to 200; returned size may differ.

- `cursor` (query, optional): Optional continuation token from next_cursor of [GET /web/music/item_list](https://monsterapi.co/docs/api/tiktok-music#tiktok-publications-by-musicid). Pass it unchanged as cursor to this same GET path with the same filters; omit on the first page.

## Responses

- 200: Public TikTok data

- 400: Invalid subject, query value or cursor

Refused at the gateway: the request target, path and query string together, is longer than 8,192 bytes; or the headers, the target counted among them, exceed 16,384 bytes or 64 fields

- 401: #/components/responses/GatewayUnauthorized

- 402: #/components/responses/GatewayPaymentRequired

- 403: Resource is private or unavailable

Refused at the gateway: the API key is unknown or revoked

- 404: Resource is absent or final page is empty

- 405: `method_not_allowed`: the endpoint answers GET alone, and any other method, HEAD included, is refused

Refused at the gateway: the path exists, but no operation on it takes the method of the request, HEAD included; `Allow` names the methods that do

- 409: #/components/responses/GatewayConflict

- 429: #/components/responses/GatewayTooManyRequests

- 500: Response structure is unavailable

- 501: Resource requires authentication

- 503: Temporary TikTok or service refusal

Refused at the gateway: the check could not complete, the account is suspended, or the platform did not answer; each may pass later, and `Retry-After` comes only when the platform did not answer

## Credits

Check the live price in the documentation before sending. Platform 2xx and 4xx responses can use credits, including empty data. Gateway refusals and 5xx responses do not use credits. Each pagination request is a separate call.

https://monsterapi.co/docs/pricing

## Request template

Replace path placeholders and add the required query parameters from the Inputs section before sending.

```shell

curl --get 'https://api.monsterapi.co/tiktok/api/web/music/item_list' \
  -H 'Authorization: Bearer <YOUR_API_KEY>'

```
