TikTok Data API: Get Posts, Comments, Profiles & Trends via REST

TikTokAPI.store Team · · 3 min read

The TikTok data API from TikTokAPI.store gives developers programmatic access to TikTok's public data — posts, comments, user profiles, trending feeds, hashtags, and more — via a clean REST interface. Free to start, cheap to scale.

What TikTok data can you access?

TikTokAPI.store exposes 20+ endpoints across the full TikTok data surface:

  • TikTok posts — video metadata, view counts, like/comment/share stats, captions, hashtags, and watermark-free download URLs for any public video.
  • TikTok comments — full comment threads and nested replies for any video, paginated.
  • User profiles — follower/following counts, bio, post lists, reposts, and liked videos.
  • Trending feeds — real-time trending videos by country/region.
  • Hashtag data — hashtag info, view counts, and all posts under a tag.
  • Keyword search — search TikTok videos, users, and hashtags by keyword.
  • Sounds and music — track metadata and all videos using a specific sound.
  • TikTok Ads — Ads library data for competitive research.

Get TikTok posts data

import requests

API_KEY = "your_api_key"
BASE    = "https://api.tiktokapi.store/api/v1"
headers = {"Authorization": f"Bearer {API_KEY}"}

# Get all posts from a user
resp = requests.get(f"{BASE}/user/posts", headers=headers,
                    params={"unique_id": "charlidamelio", "count": 20})
posts = resp.json()["data"]["videos"]
for post in posts:
    print(post["desc"], "—", post["stats"]["play_count"], "views")

Get TikTok comments data

# Fetch comments for a video
resp = requests.get(f"{BASE}/video/comments", headers=headers,
                    params={"video_id": "7123456789012345678", "count": 50})
comments = resp.json()["data"]["comments"]
for c in comments:
    print(c["user"]["nickname"], ":", c["text"])

Get TikTok user profile data

resp = requests.get(f"{BASE}/user/info", headers=headers,
                    params={"unique_id": "charlidamelio"})
profile = resp.json()["data"]
print(profile["nickname"], "—", profile["follower_count"], "followers")

Get TikTok trending data by country

resp = requests.get(f"{BASE}/feed/trending", headers=headers,
                    params={"region": "US", "count": 20})
trending = resp.json()["data"]["videos"]
for v in trending:
    print(v["desc"], "—", v["stats"]["play_count"], "views")

TikTok data API pricing

Getting TikTok data at low cost is the point. TikTokAPI.store uses flat monthly pricing — no per-request fees.

PlanPriceVolume
Free$0/mo100 req/day
Starter$29/moUnlimited req/mo · 60 req/min
Pro$99/moUnlimited req/mo · 200 req/min
Business$299/moUnlimited req/mo · 600 req/min

All plans include a 7-day money-back guarantee and 99.9% uptime SLA.

TikTok data API in Node.js

const BASE = "https://api.tiktokapi.store/api/v1";
const headers = { Authorization: "Bearer YOUR_API_KEY" };

// Get TikTok posts
const res = await fetch(`${BASE}/user/posts?unique_id=charlidamelio&count=10`, { headers });
const { videos } = (await res.json()).data;
videos.forEach(v => console.log(v.desc, v.stats.play_count));

What developers build with the TikTok data API

  • Analytics dashboards — track growth, engagement, and posting patterns for any creator.
  • Comment sentiment analysis — pull comment threads and run NLP on audience feedback.
  • Trend intelligence tools — monitor what's going viral by region and niche.
  • Competitor research — benchmark any account's performance against rivals.
  • Academic research — collect datasets of posts and comments for social media studies.
  • AI agents — feed live TikTok data to Claude, ChatGPT, or custom LLM pipelines.

Start free at tiktokapi.store — 100 req/day, no credit card, instant API key.

Start using the TikTok API for free

100 requests/day free. No credit card required. Instant API key.

Get your free API key