---
title: "TikTok API: Music Posts | Perceptlayer"
description: "Music Posts from TikTok as JSON. 1 credit per successful call."
url: https://perceptlayer.com/apis/tiktok/music-posts
---

[APIs](https://perceptlayer.com/apis) / [TikTok](https://perceptlayer.com/apis/tiktok) / Music Posts

# TikTok: Music Posts

Music Posts from TikTok as JSON. 1 credit per successful call.

GET `/v1/tiktok/music-posts` Needs terms

Note 

This endpoint needs the [restricted-endpoint terms](https://perceptlayer.com/legal/restricted-endpoints), which you can accept in your dashboard.

## Parameters

Send parameters in the query string.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `music_id` | string | Required | Up to 100 characters |
| `count` | integer | Optional | Any |
| `cursor` | string | Optional | Up to 100 characters |

## Example request

cURL shell 

```
curl "https://api.perceptlayer.com/v1/tiktok/music-posts?music_id=7002634556977908485&count=10&cursor=0" \
  -H "X-API-Key: $API_KEY"
```

[Run this endpoint in the playground](https://perceptlayer.com/apis/tiktok?try=music-posts#playground) with your own parameters. 1 credit per successful call; failed calls are free.
