Skip to main content
POST
TikTok — top ads

Body

application/json
page
integer
default:1

1-indexed result page

cursor
string | null

Pagination cursor — echo back the cursor from the previous response. Omit it for the first page.. Equivalent to page (this library pages by number); when both are sent, cursor wins.

limit
integer
default:20

Ads per page (max 20; higher values are silently clamped)

period
integer | null

Look-back window in days: 7, 30 or 180

country_code
string | null

Comma-separated ISO-2 markets (e.g. 'US,CA')

ad_language
string | null

Comma-separated language codes (e.g. 'en,de')

order_by
string | null

Ranking metric: 'impression' (reach), 'ctr', 'like', 'cvr', 'play_6s_rate', 'play_2s_rate'

industry
string | null

Comma-separated industry codes (e.g. '28000000000,24000000000')

ad_format
string | null

'1' Spark Ads, '2' non-Spark Ads

objective
string | null

Comma-separated campaign objectives: 1 traffic, 2 app installs, 3 conversions, 4 video views, 5 reach, 8 lead generation, 15 product sales

like
string | null

Like percentile band: '1' top 1–20%, '2' 21–40%, '3' 41–60%, '4' 61–80%, '5' 81–100%

keyword
string | null

Free-text keyword to search the ads library

Response

Completed lookup. 1 SideShift credit.

data
object
required

TikTok platform data payload. Field names and nesting are preserved.

request_id
string
required

SideShift request id. Include it in support requests.

upstream_calls
enum<integer>
required

Number of data-source lookups performed.

Available options:
1
meta
object
required

Per-request credit accounting (also surfaced in the X-Scraper-Credits-* response headers).