Sources › Social media › TikTok › Trending Sounds

TikTok Trending Sounds API

Sound yang sedang dipakai video-video trending di suatu negara (feed trending TikTok), diurutkan dari yang paling banyak dipakai: judul, artis, cover, durasi, URL audio, contoh video.

TikTokGET /music-trendingAll plans1 Zap

Request

GET
https://api.zapi.ink/v1/social-media:tiktok-scraper/music-trending

Send your key in the x-api-key header. The response is JSON in the { project, data, timestamp } envelope, and an identical request is served from cache for 30 minutes.

Parameters

NameTypeInRequiredDescription
regionstringqueryYesTwo-letter country code (ID, US, JP, GB, BR, VN). Required. This is the trending feed served TO that country, not videos originating from it Example: ID
countnumberqueryNoNumber of trending videos to sample (more = more sounds). Default 20, max 20 Example: 20

Code examples

cURL
curl -X GET "https://api.zapi.ink/v1/social-media:tiktok-scraper/music-trending?region=ID&count=20" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
JavaScript
const res = await fetch("https://api.zapi.ink/v1/social-media:tiktok-scraper/music-trending?region=ID&count=20", {
  method: "GET",
  headers: {
    "x-api-key": "zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
  },
});
const data = await res.json();
console.log(data);
Python
import requests

res = requests.get(
    "https://api.zapi.ink/v1/social-media:tiktok-scraper/music-trending",
    params={"region":"ID","count":"20"},
    headers={"x-api-key":"zpi_xxxxxxxxxxxxxxxxxxxxxxxx"},
)
print(res.json())

Frequently asked questions

How do I call the TikTok Trending Sounds API?

Send a GET request to https://api.zapi.ink/v1/social-media:tiktok-scraper/music-trending?region=ID with your Zapi key in the x-api-key header. Parameters — required: region; optional: count. The response is JSON in the { project, data, timestamp } envelope.

What does the TikTok Trending Sounds API return?

Sound yang sedang dipakai video-video trending di suatu negara (feed trending TikTok), diurutkan dari yang paling banyak dipakai: judul, artis, cover, durasi, URL audio, contoh video.

Is the TikTok Trending Sounds API free?

Yes. It is on the Zapi free tier: 600 Zap a month with one API key and no credit card. Each call costs 1 Zap. Paid plans raise the limits.

Can an AI assistant call the TikTok Trending Sounds API?

Yes. Add the Zapi MCP server (https://mcp.zapi.ink/mcp) to Claude, Cursor or another MCP client and ask in plain words; it calls run_scraper with scraper "tiktok-scraper" and endpoint "music-trending".

What other TikTok API endpoints are there?

It has 21 endpoints. Besides Trending Sounds: Get User Profile, Get User Posts, Get Detail Post, Get Post Comments, Get Hashtag Info, Get Hashtag Posts, and 14 more.