Search top-performing TikTok Creative Center ads
GET/v1/ads/top/ads10 Credits / ad (min 10 Credits)($1.00 / 1K ads)
Query top-performing commercial ads from TikTok Creative Center (data.materials), filtered by country, time window, and ranking metric (impression, ctr, like).
Query Parameters
country_codestringTwo-letter country code (
US,GB,CA,DE,JP, etc.).Example:
USperiodintegerTime range in days (
7,30, or180).Example:
7order_bystringRanking metric:
impression,ctr, orlike.Example:
impressionpageintegerPage number (starts at
1).Example:
1limitinteger (1 to 20)Ads per page (max 20).
Example:
20
Example Request (cURL / Python / JavaScript)
curl "https://api.tiktokapi.io/v1/ads/top/ads" \
-H "x-api-key: tk_your_api_key"Live Response Preview
{
"code": 0,
"msg": "success",
"processed_time": 0.15,
"data": {}
}Response Fields
Success (code === 0). Charged according to the endpoint credit rate.
| Field | Type | Sample / Notes |
|---|---|---|
code | integer | Example: 0 |
msg | string | Example: success |
processed_time | number | Example: 0.15 |
data | object |
Status Codes
- 200
- Success (
code === 0). Charged according to the endpoint credit rate. - 400
- Invalid parameters, or API key placed in the URL query string (not charged).
- 401
- Missing or invalid
x-api-keyheader (not charged). - 402
- Insufficient credit balance (not charged).
- 403
- Account disabled (not charged).
- 404
- Unknown endpoint or disabled unstable endpoint (not charged).
- 405
- Method not allowed — all
/v1/*data endpoints useGET(not charged). - 429
- Rate limit exceeded (not charged). Respect the
Retry-Afterheader. - 503
- Temporary upstream or gateway error (not charged). Retry with exponential backoff.