TikTok API for creator and video data

Renderdata team··5 min read

Renderdata's TikTok API returns a public creator profile (followers, following, total likes, video count, bio) or a single video's views, likes, comments, shares, saves and music, as JSON from one HTTP call. You don't need TikTok's Research API, which is limited to approved academic researchers, or a developer app. Each call costs $0.005 and failed calls are free.

Get a free API keySee a real response10 free calls · no card · failed calls free
At a glance
Price
$0.001 per call · $1 per 1,000
Free tier
10 calls, no card
Failed calls
Never charged
Access
API key, no approval or OAuth
Endpoints
tiktok-profile, tiktok-video
Agents
Every endpoint is an MCP tool

3 ways to get TikTok data

There are three realistic options, and the right one depends on whose accounts you need, how many calls you make and how much maintenance you can take on.

1. The official TikTok official APIs

TikTok has two official read APIs. The Research API returns public videos and accounts, but only to approved academic and non-profit researchers, and commercial use is not allowed. The Display API is open to developers but only shows the signed-in creator's own profile and videos, so it suits tools a creator connects to, not market research.

2. Build your own scraper

TikTok's web app signs its internal API requests and checks browser fingerprints, so a homemade scraper needs a real browser, rotating residential proxies and constant work when the signing changes. It is one of the harder sites to keep scraping reliably, which is why most teams buy this data instead of building it.

3. Use a TikTok data API

Renderdata returns a public creator profile or video as JSON from one call. Profiles include followers, following, total likes and video count; videos include plays, likes, comments, shares, saves, duration and the music used. Commercial use is fine and failed calls are free.

Official APIYour own scraperRenderdata
Time to first dataDays to weeks (app review)Days, then ongoing fixesAbout a minute
Whose dataMostly your own or authorised accountsAny public dataAny public data
MaintenanceLowHigh: proxies, blocks, parser changesNone
CostFree or per requestProxies, servers and engineering time$0.001 per successful call

Example response

A real call to tiktok-profile with the input @khaby.lame, made against the production API on October 30, 2026. It took 1.7 seconds and cost 1 credit ($0.001). Lists are trimmed to two items below.

POST /v1/scrapers/tiktok-profile/run200 OK · 1.7 s
{
  "id": "127905465618821121",
  "uniqueId": "khaby.lame",
  "url": "https://www.tiktok.com/@khaby.lame",
  "nickname": "Khabane lame",
  "signature": "Se vuoi ridere sei nel posto giusto😎 If u wanna laugh u r in the right place😎",
  "verified": true,
  "language": "en",
  "avatar": "https://p16-common-sign.tiktokcdn-us.com/tos-useast8-avt-0068-tx2/08987e23b94057953fd4f…",
  "createdAt": "2016-08-10T22:02:34Z",
  "secUid": "MS4wLjABAAAAwAg0rSzO65WQfz4RzQgGv2Xdv108BgPXhRrrmNVIHQZ9PO8-flwwRtEppYTS0OjA",
  "isCommerce": false,
  "followers": 162964206,
  "following": 82,
  "likes": 2691370646,
  "videos": 1359,
  "friends": 77
}
Run this exact call free →

TikTok endpoints

Every endpoint is POST /v1/scrapers/{id}/run with a JSON body {"input": "..."}, and is also available as an MCP tool with the same key.

EndpointInputReturnsPrice
tiktok-profileUsername@khaby.lameFollowers, following, total likes, video count and bio of a creator.$0.001
tiktok-videoVideo URLhttps://www.tiktok.com/@charlidamelio/video/7137423965982592302Views, likes, comments, shares, caption and music of one video.$0.001

Response fields

Every successful call returns these fields inside data. Fields the source does not show for a given profile or listing come back empty rather than missing, so your parser does not need special cases.

tiktok-profile · 16 fields
  • idstring
  • uniqueIdstring
  • urlstring
  • nicknamestring
  • signaturestring
  • verifiedboolean
  • languagestring
  • avatarstring
  • createdAtstring
  • secUidstring
  • isCommerceboolean
  • followersnumber
  • followingnumber
  • likesnumber
  • videosnumber
  • friendsnumber
tiktok-video · 19 fields
  • idstring
  • urlstring
  • createdAtstring
  • authorobject
  • playsnumber
  • likesnumber
  • commentsnumber
  • sharesnumber
  • savesnumber
  • durationnumber
  • widthnumber
  • heightnumber
  • coverstring
  • definitionstring
  • playUrlstring
  • musicobject
  • duetEnabledboolean
  • stitchEnabledboolean
  • locationstring

Quickstart

Create a free account to get an API key with 10 free calls, then send your first request.

cURL
curl -X POST https://api.renderdata.cloud/v1/scrapers/tiktok-profile/run \
  -H "Authorization: Bearer $RENDERDATA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":"@khaby.lame"}'
Python
import os, requests

r = requests.post(
    "https://api.renderdata.cloud/v1/scrapers/tiktok-profile/run",
    headers={"Authorization": f"Bearer {os.environ['RENDERDATA_API_KEY']}"},
    json={"input":"@khaby.lame"},
    timeout=300,
)
data = r.json()["data"]
MCP (Claude Code, Cursor)
claude mcp add --transport http renderdata https://api.renderdata.cloud/mcp \
  --header "Authorization: Bearer $RENDERDATA_API_KEY"

The response always has the same envelope: ok, data (the fields above), credits and meta. Full reference in the API docs.

Example: rank creators by average likes per video

Total likes alone favour old accounts. This script reads a few creators and ranks them by likes per video and likes per follower, which is a quick way to spot creators whose audience actually engages.

Python
import os, requests

URL = "https://api.renderdata.cloud/v1/scrapers/tiktok-profile/run"
HEADERS = {"Authorization": f"Bearer {os.environ['RENDERDATA_API_KEY']}"}
creators = ["@khaby.lame", "@mrbeast", "@zachking"]

ranked = []
for handle in creators:
    body = requests.post(URL, headers=HEADERS, json={"input": handle}, timeout=300).json()
    if not body.get("ok"):
        print(handle, "failed, not billed:", body.get("error"))
        continue
    p = body["data"]
    ranked.append((
        p["uniqueId"],
        p["followers"],
        p["likes"] // max(p["videos"], 1),
        round(p["likes"] / max(p["followers"], 1), 1),
    ))

print(f"{'creator':20} {'followers':>12} {'likes/video':>12} {'likes/follower':>15}")
for name, followers, per_video, per_follower in sorted(ranked, key=lambda r: -r[2]):
    print(f"{name:20} {followers:>12,} {per_video:>12,} {per_follower:>15}")

Swap tiktok-profile for tiktok-video and pass video URLs to track plays and shares of each campaign post. A daily check of 100 videos costs $0.50.

Official TikTok official APIs vs Renderdata

TikTok official APIsRenderdata
Research APIAcademic and non-profit researchers only; commercial use not allowedOpen to any business
Display APIOnly the signed-in creator's own profile and videosAny public creator or video
SetupDeveloper app, review, OAuth per creatorOne API key
Video stats (plays, shares, saves)Own videos only (Display API)Any public video
PriceFree, if you qualify$0.005 per call

TikTok API pricing compared

Public list prices as of October 2026. Prices change, so follow the links for current numbers.

ProviderPriceNotes
Renderdata$5 per 1,000 calls ($3.30 on Pro)One call = one profile or one video with all its stats
Apify TikTok ScraperAbout $3.70 per 1,000 results (free plan)Lower on paid Apify plans
ScrapeCreators$0.99 to $1.88 per 1,000 requestsPrepaid credit packs from $47
TikTok Research APIFreeApproved academic researchers only

With Renderdata a failed or blocked call costs nothing and purchased credits never expire. See full pricing.

What the TikTok API costs at scale

One credit is one successful call. It is $1 per 1,000 credits, pay as you go, with packs from $10. Credits never expire and there is no subscription.

Calls per monthCost
1,000$10
10,000$10
30,000$30
100,000$100

Limits and errors

Pay as you go gets 20 calls a minute per endpoint with 3 running at once; Pro gets 40 a minute and 6 at once. Over a limit you get HTTP 429 with a Retry-After header, so wait that many seconds and retry. A run where TikTok returns nothing comes back as ok: false with an error (HTTP 502) and is not billed, so retrying costs nothing until it works.

Python: retry on 429
def run(scraper, value):
    while True:
        r = requests.post(f"https://api.renderdata.cloud/v1/scrapers/{scraper}/run",
                          headers=HEADERS, json={"input": value}, timeout=300)
        if r.status_code == 429:
            time.sleep(int(r.headers.get("Retry-After", 5)))
            continue
        return r.json()

Only public data is available: anything that needs a login on TikTok needs it for us too, and we never log in. Every error code is listed in the docs.

Use cases

Creator discovery

Rank creators by followers and total likes before you sign them for a campaign. Endpoint: tiktok-profile, for example @khaby.lame.

Video performance tracking

Pull plays, likes, shares and saves for every campaign video, or set a monitor to re-check them hourly. Endpoint: tiktok-video, for example https://www.tiktok.com/@charlidamelio/video/7137423965982592302.

Trend research agents

Let an agent compare creators and videos across TikTok, Instagram and YouTube in one task over MCP. Endpoint: tiktok-profile, for example @mrbeast.

Frequently asked questions

Is the TikTok API free?

TikTok's Research API is free, but only for approved academic and non-profit researchers, and commercial use is not allowed. The Display API is free but only returns the signed-in creator's own data. Renderdata gives you 10 free calls, then $0.005 a call, with commercial use allowed.

How do I get TikTok data without the Research API?

Use a TikTok data API that reads public pages. Renderdata returns any public creator profile or video as JSON with one call and an API key, no application needed.

How much does a TikTok API cost?

Third-party TikTok APIs charge roughly $1 to $4 per 1,000 results or requests (checked October 2026). Renderdata is $5 per 1,000 calls pay as you go, $3.30 on Pro, and failed calls are free.

Can I get TikTok comments?

Not yet. Comment counts are included for every video; the comments themselves are on our roadmap.

Do I need a TikTok account?

No. Renderdata never logs in and reads only public pages.

Is it legal to scrape TikTok?

Renderdata reads only public TikTok pages, the same ones anyone can open without logging in, and never uses accounts or bypasses a login. Courts in the US have treated scraping public data differently from breaking into private systems (hiQ v. LinkedIn), but site terms and privacy laws such as the GDPR still apply to what you do with the data. This is not legal advice: if you store personal data, check with your counsel.

Can my AI agent use it?

Yes. Every endpoint is also an MCP tool, so Claude, Cursor and other MCP clients can call it directly.

Can I download TikTok videos with the API?

The tiktok-video response includes a playUrl and cover image URL. Whether you may store or reuse the video depends on its owner's rights and TikTok's terms.

How fresh is the data?

Each call reads TikTok at the moment you make it, so play and like counts are current.

How do I track a TikTok video's views over time?

Call tiktok-video on a schedule, for example hourly, and store each result with a timestamp. Every call costs $0.005.

Try the TikTok API free