TikTok Video Data API: Read Any Public Video's Metrics by URL

Published · 3 min read

TikTok Video Data API: Read Any Public Video's Metrics by URL

A TikTok video data API returns the public numbers of a single video (views, likes, comments, shares) when you give it the video's URL. With SocialLens (sociallens.dev), you send one GET https://api.sociallens.dev/v1/post?platform=tiktok&url=<video URL> request with a Bearer key and get back one JSON object, no approval process and no scraper to maintain.

The request

SocialLens is a pay-as-you-go public social-media data API that reads public profiles, posts and comments on 9 networks with one request shape. For TikTok, the /post endpoint reads ONE video by its URL.

curl "https://api.sociallens.dev/v1/post?platform=tiktok&url=https://www.tiktok.com/@tiktok_kr/video/7710392228484566290" \
  -H "Authorization: Bearer sk_live_YOUR_KEY"

The response

This is a real read of a public video (values below are live data, not mocked):

{
  "id": "7710392228484566290",
  "url": "https://www.tiktok.com/@tiktok_kr/video/7710392228484566290",
  "caption": "See you at CORTIS LIVE! @CORTIS",
  "published_at": "2026-11-20T22:59:52Z",
  "likes": 528697,
  "views": 42182278,
  "comments": 10441,
  "shares": 29389,
  "likes_hidden": false
}

/post returns one video with these fields. The sibling endpoint /profile-posts lists a profile's recent videos, and each item in that list has the same fields.

What each field means

If the video does not exist

A deleted, private or mistyped video does not raise an HTTP error. The API answers with a 200 and "exists": false in the body, so your code should check that flag before reading metrics.

What it does not do

SocialLens reads public data only, and it is honest about the edges:

When the official TikTok Research API is the better fit

TikTok's official Research API is the better choice if you are an approved academic or researcher who needs the access it is designed for. It requires an application and approval, and it is limited to approved researchers. If you qualify and need that program's scope, use it.

SocialLens fits the other cases: a small team, a freelancer, a clipping or creator-payout tool, or a quick internal dashboard that needs to read any public video with one key and no approval wait. You sign up, get a key and make the call.

Cost

Pricing is on the pricing page:

There is no monthly minimum, so a project that reads a few videos a week costs very little.

FAQ

Can I read a video I do not own? Yes, as long as it is public. The request needs only the video URL and your SocialLens key.

What happens if the video was deleted? You get a 200 response with "exists": false. Handle it as "not found" in your code.

Does it return shares for TikTok? Yes. shares is a real number for TikTok (29,389 in the example above), while on Instagram and YouTube it is null.

Can I find videos by hashtag or keyword? No. SocialLens does not offer keyword or hashtag search. Bring the URL, or list a profile's recent videos with /profile-posts.

How do I get several videos at once? Call /post once per video, or use /profile-posts to get a list of a profile's recent videos in the same field shape.

Last updated and data verified on November 30, 2026.

Run these requests yourself

Every example on this page is a real call to the SocialLens API. A new account starts with 250 free reads, no card needed, and a read that fails is never charged.

Keep reading