TikTok API for Developers — Profiles, Videos, Hashtags

Overview

DataLikers TikTok API gives you structured access to TikTok user profiles, videos, comments, hashtags, and playlists through three complementary interfaces: a Cache API for real-time JSON responses, an MCP Server for Claude AI natural-language queries, and pre-built Datasets for bulk historical data. Pricing starts at $0.0003 per request -- 5-10x cheaper than typical TikTok scrapers.

Whether you are building an analytics dashboard, training a model on TikTok content, or letting Claude reason over creator data in natural language, DataLikers ships a single API key that works across both Instagram and TikTok.

What You Get

DataLikers TikTok API covers the data shapes developers actually ask for:

ResourceEndpointsLookup by
User profile/t1/user/by/id, /t1/user/by/usernamePK or unique_id (handle)
Videos/t1/media/by/id, /t1/media/by/userPK or owner user_pk
Comments/t1/comment/by/id, /t1/comment/by/userPK or author user_pk
Hashtags (challenges)/t1/hashtag/by/id, /t1/hashtag/by/namePK or name
Playlists (mixes)/t1/playlist/by/id, /t1/playlist/by/userPK or owner user_pk

Same auth and freshness model as the Instagram API -- one key, two platforms.

Pricing

DataLikers charges per request with four freshness tiers. Pick the tier that matches how stale your data can be:

PlanPrice/requestData freshnessBest for
Outdated$0.0003Older than 30 daysBulk research, training data
Month$0.0004Within 30 daysTrend analysis
Week$0.0005Within 7 daysWeekly reporting
Day$0.0006Within 24 hoursNear-realtime dashboards

100 free requests on signup, $50 minimum deposit, no monthly subscription, funds never expire. We charge only for successful responses (200, 403, 404) -- 50x server errors are on us.

Compared with Alternatives

ProviderTypePer profileFree tierMCP / AI ready
DataLikersCache + MCP + Datasets$0.0003-$0.0006100 requestsYes (50+ tools)
Apify TikTok ScraperActor-based scraper~$0.0023$5 monthly creditGeneric MCP wrapper
Bright Data TikTok DatasetEnterprise dataset~$1-5Quote-basedNo
TikTok Research API (official)Official APIFreeAcademic onlyNo
RapidAPI wrappersVarious third partiesVariesVariesNo

The official TikTok Research API is free but restricted to approved academic researchers and capped at public posts that opt into research. For commercial product workloads, you need a third-party API -- and on price + integration ergonomics, DataLikers is the focused choice.

Three Integration Patterns

1. Cache API (REST)

Straight HTTP. You send a request, you get JSON back. Best for production apps, dashboards, and ETL pipelines.

import requests

API_KEY = "your_access_key"
BASE = "https://api.datalikers.com"

# Fetch a TikTok user profile by username (unique_id)
resp = requests.get(
    f"{BASE}/t1/user/by/username",
    params={"username": "khaby.lame"},
    headers={"x-access-key": API_KEY},
)
data = resp.json()
print(f"Followers: {data['follower_count']:,}")
print(f"Videos: {data['video_count']:,}")
const API_KEY = "your_access_key";

const resp = await fetch(
  "https://api.datalikers.com/t1/user/by/username?username=khaby.lame",
  { headers: { "x-access-key": API_KEY } }
);
const data = await resp.json();
console.log(`Followers: ${data.follower_count.toLocaleString()}`);

2. MCP Server for Claude

Connect Claude AI directly to TikTok data. Ask in natural language; Claude picks the right tool from 20+ TikTok endpoints (plus 30+ Instagram).

# Claude Code
claude mcp add --transport http \
  --header "Authorization: Bearer YOUR_KEY" \
  -s project datalikers https://mcp.datalikers.com/mcp/
"Find top TikTok creators in the food niche"
"Compare engagement between @username1 and @username2"
"Show top videos under the #fyp hashtag this week"

Setup guides for Claude Desktop, Cursor, Zed, and Windsurf are in the MCP Server docs.

3. Datasets

Need millions of TikTok records at once? Skip per-request billing and download a ready-made dataset, or build a custom one by hashtag, user list, or location filter. See the Datasets page for available collections and the Dataset Builder docs for custom requests.

Use Cases

  • Influencer marketing -- find TikTok creators by follower count, engagement, or niche; pull recent videos and engagement metrics
  • Brand monitoring -- search comments and captions for brand mentions across both Instagram and TikTok
  • Content research -- discover trending hashtags, top videos by topic, and audience demographics
  • Machine learning -- train classifiers and recommenders on bulk TikTok engagement data via Datasets
  • AI assistants -- give Claude/Cursor live TikTok context for content strategy, competitive analysis, and creator outreach
  • Academic research -- structured TikTok data without the official Research API's gating process

FAQ

What is the TikTok API and how do I use it?
A TikTok API is a structured way to read TikTok data -- user profiles, videos, comments, hashtags -- via HTTP requests instead of scraping the website. DataLikers exposes the /t1/... REST namespace; you authenticate with an API key in the x-access-key header and get JSON back.

Is the TikTok Research API free?
TikTok's official Research API is free but limited to approved academic researchers and to posts whose owners have enabled research access. For commercial use, you need a third-party API like DataLikers.

How is DataLikers TikTok API different from Apify TikTok Scraper?
DataLikers returns structured JSON directly from a synchronous REST endpoint. Apify runs an asynchronous Actor that scrapes the rendered page, which costs more per result and takes longer to respond. For steady production workloads, DataLikers is typically 5-10x cheaper and an order of magnitude faster.

Do I get Instagram data with the same key?
Yes. A DataLikers key works on both /v1/... (Instagram) and /t1/... (TikTok) endpoints. One billing relationship, two platforms.

Can Claude use the TikTok API directly?
Yes -- DataLikers ships a hosted MCP Server at https://mcp.datalikers.com/mcp/. Connect Claude (web, Desktop, Code) or Cursor and ask TikTok questions in natural language.

What's the rate limit?
There is no per-request rate limit. We bill per successful response; concurrency is handled by our cache and proxy infrastructure.

Getting Started

Register for a free DataLikers account to receive 100 free requests instantly. Try the TikTok endpoints in the interactive API docs, or wire up the MCP Server and let Claude do the TikTok research for you.

Ready to get started?

100 free API requests. No credit card required.

Sign Up Free