Sources › Social media › TikTok › Search Sounds
TikTok Search Sounds API
Cari sound/musik TikTok berdasarkan kata kunci (judul/artis): judul, artis, album, cover, durasi, URL audio, jumlah video yang memakai, original/komersial. Mendukung paging lewat cursor.
Request
https://api.zapi.ink/v1/social-media:tiktok-scraper/music-searchSend 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 15 minutes.
Parameters
| Name | Type | In | Required | Description |
|---|---|---|---|---|
| keyword | string | query | Yes | Search keyword: song title, artist, or both Example: tulus hati-hati di jalan |
| cursor | string | query | No | Paging cursor. Pass `nextCursor` from the previous response. Default 0 (first page) Example: 0 |
| count | number | query | No | Results per page. Default 20, max 30 Example: 20 |
| region | string | query | No | Two-letter country code used to rank results. Default ID Example: ID |
Code examples
curl -X GET "https://api.zapi.ink/v1/social-media:tiktok-scraper/music-search?keyword=tulus+hati-hati+di+jalan&cursor=0&count=20®ion=ID" \ -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
const res = await fetch("https://api.zapi.ink/v1/social-media:tiktok-scraper/music-search?keyword=tulus+hati-hati+di+jalan&cursor=0&count=20®ion=ID", { method: "GET", headers: { "x-api-key": "zpi_xxxxxxxxxxxxxxxxxxxxxxxx" }, }); const data = await res.json(); console.log(data);
import requests res = requests.get( "https://api.zapi.ink/v1/social-media:tiktok-scraper/music-search", params={"keyword":"tulus hati-hati di jalan","cursor":"0","count":"20","region":"ID"}, headers={"x-api-key":"zpi_xxxxxxxxxxxxxxxxxxxxxxxx"}, ) print(res.json())
Frequently asked questions
How do I call the TikTok Search Sounds API?
Send a GET request to https://api.zapi.ink/v1/social-media:tiktok-scraper/music-search?keyword=tulus+hati-hati+di+jalan with your Zapi key in the x-api-key header. Parameters — required: keyword; optional: cursor, count, region. The response is JSON in the { project, data, timestamp } envelope.
What does the TikTok Search Sounds API return?
Cari sound/musik TikTok berdasarkan kata kunci (judul/artis): judul, artis, album, cover, durasi, URL audio, jumlah video yang memakai, original/komersial.
Is the TikTok Search 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 Search 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-search".
What other TikTok API endpoints are there?
It has 21 endpoints. Besides Search Sounds: Get User Profile, Get User Posts, Get Detail Post, Get Post Comments, Get Hashtag Info, Get Hashtag Posts, and 14 more.