Skip to content

TikTok Scraper API for Creator and Engagement Data

Collect video metadata, view and engagement counts, hashtags, sound tags, and creator details from TikTok video and creator pages through a single API call.

OUTPUT FORMATSHTMLJSONMarkdown

Choose structured JSON for pipelines or rendered HTML when you need the page as it appears in a browser.

What the scraper returns

Manual collection from TikTok is slow and difficult to scale. This workflow replaces browser and proxy management with one request: send a TikTok URL with your API key, let a real browser render the page while IPs rotate, and act on the response. That separation matters — you focus on the fields you need, not on keeping headless browsers alive.

What you can pull from each page includes video metadata, view counts, like counts, comment counts, share counts, hashtags, sound tags, and creator information. Return rendered HTML for inspection, or structured JSON via extraction rules when downstream tools need queryable fields.

Three workflows to choose from

Three recurring jobs cover most use cases:

  • Track video trends: collect trending-video metadata, view counts, sound tags, and hashtag co-occurrence by topic for trend-tracking and content research.
  • Monitor user interactions: collect likes, shares, and comment counts per video for content-performance and audience-engagement analysis.
  • Identify viral challenges: collect challenge hashtags, participating creators, and total view counts for marketing-trend work.

Decision tip: if you only need counts over time, request engagement fields on a schedule; if you are discovering topics, add hashtags and sound tags so co-occurrence can be computed later.

How it works, step by step

A typical integration follows four stages. First, obtain an API key from the account dashboard; any complimentary credit allowance is shown there at signup, so check the current figure before you plan volume. Second, install the SDK for your preferred language — Python, Node, Go, PHP, or Ruby — which wraps each scrape as a single function call and removes the need to operate proxy rotation or headless Chrome yourself. Third, submit the TikTok URL together with your API key. The renderer loads the page in a real browser, rotates the outbound IP, and returns the response for your code to consume. Fourth, introduce advanced parameters only where the page demands them: render_js for JavaScript execution, stealth_proxy for CAPTCHA-heavy targets, country_code for geo-targeting, and ai_extract_rules for natural-language extraction. Before scaling up, verify the exact fields available for each page type, test one video URL and one creator URL, confirm the JSON parses cleanly, and note the credit cost per request under whichever options you enable.

Output modes and control map

Beyond raw HTML, several output modes fit different pipelines:

  • AI-powered extraction: send a natural-language specification via ai_extract_rules and receive structured JSON without writing selectors.
  • Screenshots: capture how the page actually renders in a real browser for visual verification.
  • Google Search extraction: extract TikTok data from Google Search using the dedicated Google Search API, for search-result-based discovery rather than direct TikTok pages.
  • JavaScript scenarios: click, scroll, wait for dynamic content, or run custom JavaScript to simulate real user behavior before scraping.
  • LLM-ready Markdown: pull pages as clean Markdown for trend-tracking or creator-research prompts.
  • No-code automation: drive creator and trend-monitoring workflows from n8n without writing scraper code.

Field and control map: render_js controls JavaScript execution; stealth_proxy addresses CAPTCHA-heavy targets; country_code sets geo-targeting; extract_rules applies CSS or XPath selectors; ai_extract_rules applies a natural-language spec. Enabling rendering or premium routing changes credit cost, so match the option to the page difficulty rather than enabling everything by default.

Pricing and plan selection

Tiers are distinguished chiefly by monthly API credits, concurrent request limits, and whether priority support, a dedicated account manager, and team management are part of the package. JavaScript rendering, rotating and premium proxies, geotargeting, screenshots, and extraction rules appear as included features across the tiers listed. Credits remain valid for one month and do not carry over; requests begin at 1 credit each. Prices exclude VAT, and cancellation terms should be confirmed against the current plan documentation. Because commercial terms change, treat any published price, credit allowance, concurrency figure, and support inclusion as provisional until verified on the live pricing page before purchase.

Reliability, compliance, and troubleshooting

Proxy rotation avoids IP-based blocking, and headless-browser rendering mimics real browsing to reduce blocking risk. The platform is described as scaling with thousands of headless browsers and rotating proxies, with results typically delivered in 1–5 seconds even on JavaScript-heavy sites. Personal data from scraped sites is not collected or stored unless explicitly requested, in line with GDPR and CCPA compliance statements.

Failure distinction: a blocked or empty response usually points to anti-bot pressure — try stealth_proxy — whereas missing fields on a successfully rendered page points to extraction rules, not proxies. Fix the layer that failed instead of enabling every option.

Frequently asked questions

Do I need an account to scrape TikTok?

No TikTok login is required for this workflow. You register for an API key, note the complimentary credit allowance shown at signup (no card needed), then submit the target URL; rendering and proxy rotation are handled for you.

Is scraping TikTok legal?

Public-facing pages can usually be scraped, but check the target site's terms of service before deploying and avoid post-login content.

What data can I extract from TikTok?

Anything rendered on the public page can be returned. Use CSS-selector extraction rules or AI-driven extraction rules to receive structured JSON.

How do I start scraping TikTok?

Register, copy your API key, and issue a GET request containing the target URL. The page is rendered, proxies are rotated, and the data is returned. Any complimentary credits available for testing are displayed in your account at signup.

Will I get blocked when scraping TikTok?

Residential proxy rotation and a real headless browser make requests resemble normal traffic. If a target is aggressive, enable the stealth proxy option on the request.

How much does it cost to scrape TikTok?

Signup includes a complimentary credit allowance with no card required; the exact amount is shown in your account. Paid plans begin at a monthly rate for higher volume and concurrency, with the current starting price listed on the pricing page. Credit cost per request depends on the options selected: 5 credits for JS rendering, 25 for premium proxy with JS, and 75 for stealth proxy.