Sources › Social media › TikTok › Search Suggestions

TikTok Search Suggestions API

Saran kata kunci (typeahead/autocomplete) yang muncul di kolom search TikTok saat mengetik. Isi `keyword` sebagian, opsional `region` (kode negara 2 huruf, default ID) untuk peringkat lokal.

TikTokGET /search-suggestionsAll plans1 Zap

Request

GET
https://api.zapi.ink/v1/social-media:tiktok-scraper/search-suggestions

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
keywordstringqueryYesPartial keyword typed by the user Example: jedag jedug
regionstringqueryNoTwo-letter country code used to rank suggestions. Default ID Example: ID

Code examples

cURL
curl -X GET "https://api.zapi.ink/v1/social-media:tiktok-scraper/search-suggestions?keyword=jedag+jedug&region=ID" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
JavaScript
const res = await fetch("https://api.zapi.ink/v1/social-media:tiktok-scraper/search-suggestions?keyword=jedag+jedug&region=ID", {
  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/search-suggestions",
    params={"keyword":"jedag jedug","region":"ID"},
    headers={"x-api-key":"zpi_xxxxxxxxxxxxxxxxxxxxxxxx"},
)
print(res.json())

Frequently asked questions

How do I call the TikTok Search Suggestions API?

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

What does the TikTok Search Suggestions API return?

Saran kata kunci (typeahead/autocomplete) yang muncul di kolom search TikTok saat mengetik.

Is the TikTok Search Suggestions 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 Suggestions 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 "search-suggestions".

What other TikTok API endpoints are there?

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