TikTok API

TikTok Scraper API for Videos, Transcripts and Comments

Search videos, explore sounds and hashtags, and read creator profiles and comments. Get the context behind a TikTok trend.

Gibran Pulga, CEO of Desys FinanceGibran PulgaCEO, Desys Finance

We use ScrapeAtlas to gather social sentiment data for our banking partners at a scale we wouldn't have been able to otherwise.

WHAT YOU CAN BUILD / 18 ENDPOINTS

Put TikTok data to work.

Find your use case, then explore the request and response.

Get a TikTok profile

GET/v1/tiktok/profile

Build creator comparison cards with TikTok profile identity, biography and public account statistics.

List a TikTok profile's videos

GET/v1/tiktok/profile/videos

Build a creator content library from the videos published on a TikTok profile.

Get a TikTok video or photo post

GET/v1/tiktok/video

Build a video or photo-carousel research card with the post’s content, creator, media and engagement details.

Get a TikTok video transcript

GET/v1/tiktok/video/transcript

Build a searchable video knowledge base using the transcript text associated with a TikTok video.

List TikTok video comments

GET/v1/tiktok/video/comments

Build a viewer-question research sheet from comment text, authors, likes and reply counts.

List replies to a TikTok comment

GET/v1/tiktok/video/comment/replies

Build a conversation viewer from replies to a TikTok comment, keeping reply targets and authors together.

List a TikTok user's followers

GET/v1/tiktok/user/followers

Build a public audience research directory from the accounts following a TikTok user and their profile statistics.

List the accounts a TikTok user follows

GET/v1/tiktok/user/following

Build a creator network explorer from the accounts a TikTok user follows and their public profile statistics.

Get a TikTok user's live room

GET/v1/tiktok/user/live

Build a live-channel dashboard using live status, room title, start time, viewer statistics and stream URLs.

Search TikTok users

GET/v1/tiktok/search/users

Build a creator discovery tool from account search results with names, bios, verification and follower counts.

Show more endpoints (8)Show fewer endpoints

Search TikTok videos by keyword

GET/v1/tiktok/search/keyword

Build a video idea research board by searching keywords with date and sorting filters.

Get TikTok top search results

GET/v1/tiktok/search/top

Build a mixed-format research feed from TikTok’s Top search results, including videos and photo carousels.

Search TikTok photo posts by keyword

GET/v1/tiktok/search/photo

Build a carousel research board from TikTok photo posts matching a keyword, with every slide image, sound and engagement count.

List TikTok videos for a hashtag

GET/v1/tiktok/search/hashtag

Build a hashtag content browser from a hashtag’s video records and continuation cursor.

Get TikTok hashtag details

GET/v1/tiktok/hashtag

Build a hashtag comparison sheet with names, descriptions, covers, view counts and video counts.

Get TikTok song details

GET/v1/tiktok/song

Build a sound discovery card with title, artist, album, duration, playback URL and the number of videos using it.

List TikTok videos using a song

GET/v1/tiktok/song/videos

Build a trend research gallery from the videos using a selected TikTok sound.

Get the TikTok trending feed

GET/v1/tiktok/trending

Build a creative discovery feed from a batch of trending TikTok videos and their post information.

HOW IT WORKS

From API key to TikTok data in four steps.

Run a sample below without a key.

  1. 01

    Get your API key

    Create a free account and copy your key. You start with 100 free credits; no card needed.

  2. 02

    Choose an endpoint

    Pick one of the 18 TikTok endpoints and add its input, such as a search query.

  3. 03

    Send one request

    Call it with your key in the x-api-key header. ScrapeAtlas reads the public TikTok data and retries when a read fails.

  4. 04

    Use the JSON

    Get structured JSON with a coverage status. Only successful requests use a credit.

LIVE RESULTS

Try a sample request.

Try the TikTok API right here. This sample uses the Search TikTok videos by keyword endpoint and returns live JSON. No API key needed.

  1. 01
    Choose a sample value

    Start with pizza review, or change the query field to your own value.

  2. 02
    Select Run sample

    Execute the sample code and see the response in the JSON response tab.

  3. 03
    Build on the result

    Open the full playground to try more parameters and copy code for your app.

Open this endpoint in the playground Request and response fields
LIVE SAMPLE / Search TikTok videos by keywordNo API key needed

Preparing the sample…

// Run this sample here — no API key needed.
const value = "pizza review";
const url = new URL("/website/demo/tiktok",
  "https://api.scrapeatlas.com");
url.searchParams.set("value", value);

const response = await fetch(url);
const data = await response.json();
console.log(data);
GET/v1/tiktok/search/keyword

A live example from our playground. Change the value above, then select Run sample.

CUSTOMER STORIES

What they are saying
about us.

  • Matteo L.Small-Business (50 or fewer emp.)

    “Easy, Affordable Scraping for Product Ideas—More Platforms Needed”

    I use ScrapeAtlas to find product ideas—real ideas that people need. I couldn’t get to people’s ideas on social media platforms without it. I like that it’s easy and capable, and it isn’t expensive. I value the scraping and MCP features. …

    Read on G2
  • Ms H.Sales, Mid-Market (51-1000 emp.)

    “ScrapeAtlas Replaces Multiple Scrapers with One Simple Solution”

    ScrapeAtlas saves me from juggling a different scraper for every platform. … ScrapeAtlas solves the problem of getting reliable public data from many social and e-commerce platforms without building and maintaining my own scrapers.

    Read on G2
  • We use ScrapeAtlas to gather social sentiment data for our banking partners at a scale we wouldn't have been able to otherwise.

    Gibran PulgaCEO, Desys Finance
  • Stas D.Founder, Marketing and Advertising

    “Reliable parsers and flexible API for audience search”

    I like the convenient documentation and conditions at ScrapeAtlas. The parsers work great: I use keyword data from fresh threads to find target audiences and clients in Threads. I also appreciate the higher quality API responses and more detailed request customization. The initial setup was very easy for me.

    Read on G2

Nigel Yong — Founder, PostOnce

Pay as you go

Start free.
Build at your pace.

One-time credit packs, priced in US dollars. Credits never expire, and there is no monthly commitment.

Free

Try the API with your next idea.

$0No credit card needed

100 free credits

One starter grant per account

Starter

For a new idea or a one-off project.

$19USD / one-time

10,000 credits

$1.90 per 1,000 credits

Growth

Popular

For regular workflows and bigger builds.

$89USD / one-time

50,000 credits

$1.78 per 1,000 credits

Save 6.3% compared with Starter

Scale

For high-volume data collection.

$249USD / one-time

200,000 credits

$1.25 per 1,000 credits

Save 34.5% compared with Starter

Enterprise Plan

Want to scrape larger volumes?

Let’s talk about a plan that fits your scale.

TikTok API

Frequently Asked Questions

Explore the API reference

TikTok API and scraping

What video and creator data can I retrieve with the TikTok API?

Retrieve profiles, videos, photo posts, captions, comments, follower and following records, live-room information, hashtags and sounds. Search and trending endpoints support creator and content discovery.

How do I scrape TikTok videos from a creator profile?

Use Profile Videos to retrieve a creator’s video feed, then pass a selected post to Video Details for its content, media and engagement fields. Profile adds the creator’s public identity and account statistics.

Can the TikTok API find creators by keyword?

Use Search Users to discover accounts with usernames, biographies, follower counts, total likes, verification and avatars. Follow up with Profile for the selected creator’s user record and statistics.

TikTok: audience comments and topic discovery

How do I scrape TikTok comments and comment replies?

Use Video Comments to retrieve text, authors, likes and reply counts. Comment Replies retrieves replies to a selected comment with reply-target information. Continue each feed using its cursor to build a conversation research dataset in your application.

Can the TikTok search API find videos by keyword, hashtag or sound?

Yes. Keyword Search supports date and sorting filters, Hashtag Search returns videos associated with a hashtag, and Song Videos retrieves posts using a selected sound. Top Search combines videos and photo carousels.

Can I retrieve TikTok video captions through the API?

Yes. Video Transcript retrieves the caption file published for a video, including creator or automatic captions. Select the caption language to use the returned WebVTT text in your application’s video research and indexing workflow.

API access and integration

How do I get a ScrapeAtlas API key and authenticate requests?

Create a ScrapeAtlas account and generate an API key in the dashboard. Send the key in the x-api-key request header when calling https://api.scrapeatlas.com. The API playground lets you enter an endpoint’s parameters and inspect its JSON response.

Can I call the scraping API from Python, JavaScript or the CLI?

Yes. Send authenticated HTTP requests from Python, JavaScript or another language that supports HTTP. The endpoint reference includes request examples and response fields. Use the ScrapeAtlas CLI for terminal workflows and pass the returned pagination values when requesting additional result pages.

Can I connect an AI assistant to the ScrapeAtlas MCP server?

Yes. Connect an MCP-compatible assistant to the ScrapeAtlas MCP server to discover and call the public platform tools with your ScrapeAtlas account. The agent reference also gives coding assistants a readable guide to the endpoints and their request schemas.

Make something with it

Ready to build?

Bring social data into your next project.
Start with 100 free credits and see what you can build.

No credit card needed.Building with an AI agent?