Introducing the Instagram APIRead more →

TikTok Post API. Send a video or post link, or an ID.

Video or photo post with views, likes and media. We handle the proxies, blocks and platform changes.

TikTok Post API at a glance

Returns a public TikTok video or photo post from its link, share link or ID, with its view, like, comment, share and save counts. It also has the caption, author, publish time, hashtags, tagged accounts, a direct video file link or every slideshow photo, the cover, sound, tagged place, and ad and AI labels.

GET /v1/tiktok/post

Read the API reference
  • 1 credit per request, $0.75–$1.97 per 1,000 requests
  • 22 typed fields null when unknown
  • url is all it needs, e.g. https://www.tiktok.com/@niinoclock/video/7673108027645414678
  • 100 credits free when you sign up, no card, so you can build before you spend

Send one request. Get 22 fields back.

Copy the request in your language, or hand it to your agent. Sign up for an API key and your first 100 credits are free.

$ npm install socialtap
url = https://www.tiktok.com/@niinoclock/video/7673108027645414678
GET /v1/tiktok/postTry in
const params = new URLSearchParams({
  url: "https://www.tiktok.com/@scout2015/video/6718335390845095173",
});
const res = await fetch(`https://socialtap.dev/v1/tiktok/post?${params}`, {
  headers: { "x-api-key": process.env.SOCIALTAP_API_KEY ?? "" },
});
const body = await res.json();
if (!res.ok) throw new Error(`${body.error.code}: ${body.error.message}`);
const { data, meta } = body;
console.log(data, meta.credits_charged);
200 OK · GET https://socialtap.dev/v1/tiktok/postLong arrays and strings are shortened here. Real responses are complete.Docs

One schema on 21 platforms.

The response reference lists every field, its type and when it is null. See the full schema.

  • Null means unknown

    A field TikTok doesn't show is null, never zero or an empty string, so a real zero always means zero.

  • What it accepts

    TikTok video or photo post link (web, mobile, embed or share link) or a numeric post ID.

  • Write one parser

    TikTok, Instagram, Facebook and 18 more platforms answer in these fields, so the code that reads one reads them all.

platformstring
Platform ID (tiktok, youtube, …).
idstring
Platform-native post ID (string; Instagram shortcode, Reddit with its t3_ prefix).
urlstring
Canonical post URL.
typestring
Normalized content shape. New values may be added; treat unknown values as other.
platform_typestring
The platform's own product label, lowercase (reel, short, story, live, tweet, …).
titlestring
Headline (YouTube title, Reddit title); null on caption-only platforms.
textstring
Caption, description or body as plain text.
languagestring
BCP-47 language of text, when the platform states it.

What teams build with the TikTok Post API.

  • Track engagement on creator and brand videos

  • Monitor competitors' campaigns and ads

  • Collect captions, hashtags and sounds for trend research

Good to know before you build.

  • TikTok rounds large like and view counts, and approximate_fields lists them. Comment, share and save counts are exact.
  • When TikTok blocks the video page or changes its layout, the post comes from its embed page with save count, language, location, AI label and sound length null, and a partial_data warning names them.
  • is_sponsored is true for TikTok ads and null otherwise, because paid partnerships aren't public.

1 credit per request. Failed requests are free.

Buy credits once and spend them on any endpoint, on any platform.

SourcePrice per successful requestPer 1,000 requests
Public page page1 credit$0.75–$1.97
  • Cache hits are free.
  • Credits from packs and top-ups never expire.
  • A monthly plan's credits are spent first, and what is left of them ends at each renewal.
  • Prices exclude tax: sales tax is added at checkout where it applies.
  • Outside the US, plans and packs are sold to businesses: checkout asks for your VAT, GST or other business tax ID.

Questions about the TikTok Post API.

More in the API reference.

Can I download the video?
Yes. media[0].url is a direct link to the video file that needs no TikTok cookie. It expires at media[0].expires_at, and is null with a partial_data warning when TikTok won't serve it. For every watermark-free rendition with its size and resolution, use the TikTok Download API.
How much does the TikTok Post API cost?
A request costs 1 credit. SocialTap credits cost $0.75–$1.97 per 1,000, depending on the plan or pack.

Try it on a link you already have.

Paste it in the playground, or copy the request into your code.

100free credits
  • No credit card
  • Failed requests are free
  • Works on all 218 endpoints
Start for free Read the docs