Get TikTok Music Posts

List the videos built on a specific TikTok sound. One music ID returns the clips using that track with their authors, captions and engagement counts, which is how you tell whether an audio trend is still spreading or already fading. Count and cursor page through the catalogue, so a track with a long tail can be sampled or collected in full.

Try on Playground
Endpoint Info
Request Method
:
GET
Request URL
:
https://api.primeapi.co/music-posts?musicId={musicId}&count={count}&cursor={cursor}
Required Parameters
:
musicId
Optional Parameters
:
count, cursor
Request Examples
Request Flow
:
Music Posts is a single GET call to /music-posts, and musicId has to travel with it in the query string. count, cursor then shape what comes back. Swap YOUR_API_KEY for your own key and both snippets below run as they are.
Authentication
:
Header based. Send X-PrimeAPI-Key with every request — there is no OAuth handshake and no token to refresh.
Credits
:
One Music Posts call costs 1 credit. Your remaining balance comes back on every response in the X-PrimeAPI-Balance header, so you can watch usage without a second lookup.
cURL
curl -X GET "https://api.primeapi.co/music-posts?musicId=7224128604890990593&count=5&cursor=0" \
  -H "X-PrimeAPI-Key: YOUR_API_KEY"
Python - Requests
import requests

url = "https://api.primeapi.co/music-posts?musicId=7224128604890990593&count=5&cursor=0"
headers = {"X-PrimeAPI-Key": "YOUR_API_KEY"}

response = requests.get(url, headers=headers)

print(response.json())
print("Credits left:", response.headers.get("X-PrimeAPI-Balance"))
Endpoint Response
Example URL
:
https://api.primeapi.co/music-posts?musicId=7224128604890990593&count=5&cursor=0
Content Type
:
JSON
Example Response
{
    "code": 0,
    "msg": "success",
    "processed_time": 0.5618,
    "data": {
        "videos": [
            {
                "aweme_id": "v14025g50000chblkv3c77u3qjj4jqgg",
                "video_id": "7230348754455481601",
                "region": "VN",
                "title": "Cu\u1ed1i tu\u1ea7n r\u1ed3i \u2026 Bi\u1ebfn h\u00ecnh \u0111i cho zuiii \u2026 \ud83e\udee0\u263a\ufe0f\ud83c\udf81 M\u00e0 ai v\u1eabn \u0111ang nghe MAKING MY WAY th\u00ec cho xin nh\u1eb9 c\u00e1i tay nhoaaaaa \u2026. \ud83d\udcaa\ud83d\udcaa\ud83d\udcaa #MakingMyWay #SonTungMTP ",
                "cover": "https://p16-sign-sg.tiktokcdn.com/tos-alisg-p-0037/ccdaf66b78d843f4ae00dd97d7f3cd5d_1683446764~tplv-tiktokx-cropcenter-q:360:480:q75.jpeg?dr=14782&refresh_token=1cb4b763&x-expires=1760040000&x-signature=mXLwMoyUwl%2BlV8mzQGNggDnWc4o%3D&t=bacd0480&ps=933b5bde&shp=d05b14bd&shcp=f6441914&idc=maliva&sc=cover&biz_tag=tt_video&s=MUSIC_AWEME",
                "ai_dynamic_cover": "https://p16-sign-sg.tiktokcdn.com/tos-alisg-p-0037/3185e3b6be2245a4b52853477dd8dd73_1683446765~tplv-tiktokx-origin.image?dr=1364&refresh_token=e901b062&x-expires=1760040000&x-signature=PMjMSZfe%2FyRVj8kmps1hQAXZR2o%3D&t=bacd0480&ps=4f5296ae&shp=d05b14bd&shcp=f6441914&idc=maliva&biz_tag=tt_video&s=MUSIC_AWEME&sc=dynamic_cover",
                "origin_cover": "https://p16-sign-sg.tiktokcdn.com/tos-alisg-p-0037/5e47544e912c4b249b311d6286a54a63_1683446764~tplv-tiktokx-360p.webp?dr=1363&refresh_token=def64401&x-expires=1760040000&x-signature=AzTcgwoHhBzZ9xI0xe0DrYllD0M%3D&t=bacd0480&ps=d97f9a4f&shp=d05b14bd&shcp=f6441914&idc=maliva&biz_tag=tt_video&s=MUSIC_AWEME&sc=feed_cover",
                "duration": 15,
                "play": "https://v45-eu.tiktokcdn.com/a2ade4c9e5e576545b6128f034df04ed/68e81566/video/tos/alisg/tos-alisg-pve-0037/o8APBCekUD8gDVoIpCubBetVynb9q1QH1UTycg/?a=1233&bti=O3YpOjQ0Zik3OjlmOm0uMjM6ZDQ0MDo%3D&ch=0&cr=13&dr=0&er=0&lr=all&net=0&cd=0%7C0%7C0%7C&cv=1&br=1686&bt=843&cs=0&ds=6&ft=3G6nzwSnRG0pd.tB497dJWUnDIxqFLr3dL_.x4k~E93sEvjThW&mime_type=video_mp4&qs=0&rc=OWZnOWU7NmRnZmk6Zzo8O0BpanQ3bTY6ZnlvazMzODgzNEAuYmE1NjUvNS4xXjI1LzMxYSNkZ2ducjQwaF9gLS1kLzFzcw%3D%3D&vvpl=1&l=20251009040438035682831F89094F6A8B&btag=e000bd000",
  ... (truncated)
Related Endpoints

More TikTok Music Endpoints

View all Music Endpoints
Contact
You can contact us via Telegram or Gmail
Telegram Logo
Telegram
@primeapi_co
Gmail Logo
Gmail
primeapico@gmail