~ / endpoints / Search API

TikTok Search Scraper API

Our TikTok search scraper takes a keyword and returns the matching public videos as JSON: description, author, play, like, comment and share counts, cover image, and permalink, from a single request.

Get a free API keyBrowse the endpoints
1,000
free requests / mo
2.6s
median response
play & like
counts per video
JSON
structured output

Use it for

>

Trend discovery

Pull the videos surfacing for a keyword to spot rising sounds, formats, and creators.
>

Creator sourcing

Find accounts posting on a topic and read their per-video reach before outreach.
>

Competitor tracking

Watch the videos ranking for your category terms and the engagement they pull.
>

Content research

Sample descriptions and stats across a query to shape your own posting strategy.

Quickstart

cURL
curl "https://api.tiktokscraperapi.com/api/v1/tiktok/search?q=nasa&api_key=$API_KEY"
Python
import requests, os

BASE = "https://api.tiktokscraperapi.com"
API_KEY = os.environ["API_KEY"]

data = requests.get(
    f"{BASE}/api/v1/tiktok/search",
    params={"q": "nasa", "api_key": API_KEY},
    timeout=30,
).json()

for row in data["results"]:
    print(row)

Response

200 OK
{
  "query": "nasa",
  "results": [
    {
      "id": "7301234567890123456",
      "desc": "Launch day recap",
      "author": {
        "username": "nasa"
      },
      "stats": {
        "playCount": 1830000,
        "diggCount": 214000,
        "commentCount": 3100,
        "shareCount": 8800
      },
      "cover": "https://p16-sign.tiktokcdn.com/abc.jpg",
      "url": "https://www.tiktok.com/@nasa/video/7301234567890123456",
      "create_time": 1712345678
    }
  ]
}
FieldTypeDescription
querystringThe keyword you passed as q.
resultsarrayMatching public videos.
idstringThe video id, the stable identifier in the permalink.
descstringThe video description or caption.
author.usernamestringThe posting account handle.
statsobjectplayCount, diggCount, commentCount, and shareCount.
coverstringURL of the video cover image.
urlstringThe canonical video permalink.
create_timeintegerUnix timestamp of when the video was posted.

How it works

  1. Send a GET with your keyword as q and your API key.
  2. We route through residential proxies, handle anti-bot, and parse the public results.
  3. You get validated JSON back, ready to use.

How it compares

Our APIDIY (requests / headless)Official TikTok API
Keyword inputYes, one q parameterManual fetch and parseResearch API is application-gated
Per-video statsplay, like, comment, shareExtra parsing per videoLimited to approved research use
SetupAPI key onlyResidential proxies, headless browser, parsersApplication, approval, quotas
Login and cookiesNone, logged-out onlyYou manage sessionsApproved credentials required

Pricing

PlanPriceBest for
Free1,000 requestsTesting and small jobs
Pro$0.60 / 1kProduction workloads
Pay-as-you-go$0.90 / 1kSpiky or one-off volume

Median response 2.6s. You only pay for successful requests.

FAQ

What is a TikTok search scraper?

It reads TikTok public keyword search results and returns them in a structured format. Our API takes a keyword in the q parameter and returns the matching public videos as JSON, each with a description, author, play and like counts, cover image, and permalink.

What data comes back per video?

Each result carries the video id, description, author username, a stats object with playCount, diggCount, commentCount and shareCount, the cover image URL, the permalink, and the post timestamp.

Can I search hashtags?

Pass the hashtag text as q. The keyword search returns videos that surface for that term. A dedicated hashtag object listing is a separate feature and is not part of this endpoint.

How many videos per call?

One call returns the first public page of results for the keyword. Page through with follow-up calls using the returned cursor when present.

How fast is the API?

Median end-to-end response is about 2.6 seconds, including residential routing, anti-bot handling, retries, and parsing.

Get search api as JSON
Free plan, 1,000 requests. No credit card required.
Get a free API key All endpoints