TikTok Video Data API: Read Any Public Video's Metrics by URL
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"
- Base URL:
https://api.sociallens.dev/v1 - Auth: header
Authorization: Bearer sk_live_... - One video per call, identified by its full TikTok URL.
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
- caption: the text the creator wrote under the video, including mentions such as
@CORTISand any hashtags they typed. - views: the public play count (42,182,278 in the example).
- likes: the public like count (528,697 in the example). If a creator hides likes,
likes_hiddentells you so instead of leaving you to guess. - comments: the public comment count (10,441 in the example). To read the comments themselves, SocialLens has a separate comments read.
- shares: the public share count (29,389 in the example). On TikTok this is a real number, unlike Instagram and YouTube where it comes back as
null. - published_at: the publish time in UTC (ISO 8601), useful for computing views per day.
- id and url: the stable video identifier and its canonical link.
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:
- No keyword or hashtag search: you must already have the video URL (or list a profile's recent videos with
/profile-posts). - No audience demographics.
- No fraud or fake-engagement detection.
- No KYC or identity verification.
- No historical backfill: you read the numbers as they are now. If you want a time series, you store each read yourself.
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:
- 1 credit per read, so one video read costs one credit.
- 250 free reads, no card required.
- Credits never expire.
- Credit packs start from about US$19.
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.
Related guides
- Best TikTok data API
- Track TikTok follower growth with an API
- Verify TikTok views for clipping payouts with an API
- Social media post metrics API
Last updated and data verified on November 30, 2026.