Skip to main content
Scrape a public TikTok profile and its newest videos

Authorizations

x-scrapeunblocker-key
string
header
required

Your ScrapeUnblocker API key. Apply on every request.

Query Parameters

username
string
required

TikTok handle ('nasa' or '@nasa') or a profile URL like 'https://www.tiktok.com/@nasa'.

max_videos
integer
default:10

How many of the creator's newest videos to include (0-200). 0 = profile only (fastest). Up to 10 come from TikTok's server-rendered widget in a couple of seconds; asking for more opens the profile in a browser and scrolls the real grid (about 35 videos a batch, 10-30 s), newest first, all with full details.

Required range: 0 <= x <= 200
video_details
boolean
default:true

Fetch each listed video's own page for full engagement (exact plays, likes, comments, shares, saves), hashtags, music, media URLs and timestamps. false = only id, caption, cover and play count (one fetch fewer per video).

proxy_country
string | null

Exit-IP country (ISO-2, e.g. 'US', 'DE'). Optional - TikTok's public pages are the same worldwide; set it only for region-restricted items.

Response

JSON profile object with a videos array (videosCollected gives its length).