Verify TikTok Views for Payouts via API (2026)

Published · 7 min read

Last updated and prices verified: .

To verify the views of a clip before you pay per view, send the clip's URL to an API that reads the public counter, and pay on that number instead of on a screenshot. SocialLens (sociallens.dev) reads a TikTok video, an Instagram Reel, a YouTube video or Short and an X post by URL with GET /v1/post. The response has views, likes, comments, the author and the publish date, and the clipper does not have to log in anywhere. A new account starts with 250 free reads and no card.

One limit to state first: the API reads the counter the network shows. It does not tell you whether those views came from real people. There is no fraud detection. This page shows the read with real responses, payout code in Python, a daily snapshot in Node, the rules that protect a campaign, the cost and the cases where an official API or a clipping platform is the better choice.

What a clipping campaign has to check

A pay per view campaign pays clippers for the views their clips reach, usually a rate per 1,000 views with a minimum and a cap. Before money moves, four things have to be true:

  1. The clip exists and is public. A deleted or private clip earns nothing.
  2. The clipper posted it. The author of the clip is the account the clipper registered.
  3. It was posted during the campaign. Old videos resubmitted do not count.
  4. The view count is the one the network shows now, not the one in a screenshot.

One read per clip answers all four.

The read: one GET request per clip

curl -G "https://api.sociallens.dev/v1/post" \
  --data-urlencode "platform=tiktok" \
  --data-urlencode "url=https://www.tiktok.com/@mkbhd/video/7709891365567597837" \
  -H "Authorization: Bearer sk_live_YOUR_KEY"

Real response, read on November 29, 2026, with the caption and the credits block left out. The examples on this page use public videos of one creator as stand ins for submitted clips.

{
  "exists": true,
  "id": "7709891365567597837",
  "url": "https://www.tiktok.com/@mkbhd/video/7709891365567597837",
  "platform": "tiktok",
  "author": { "username": "mkbhd", "name": "Marques Brownlee", "verified": true },
  "published_at": "2026-11-19T14:36:23Z",
  "likes": 33509,
  "views": 291306,
  "comments": 647,
  "shares": 6213,
  "is_exact": true,
  "likes_hidden": false,
  "fetched_at": "2026-11-29T03:05:45Z"
}

author.username answers "who posted it", published_at answers "when", and views is the number to pay on. A TikTok URL that does not exist answered like this in our test, and the read was not billed:

{
  "exists": false,
  "url": "https://www.tiktok.com/@mkbhd/video/7000000000000000001",
  "platform": "tiktok",
  "fetched_at": "2026-11-29T03:18:06Z"
}

What views is on each network

Network URL you send views
TikTok The video URL The public play count
Instagram The Reel or post URL The view count of a video. null on photo posts
YouTube A watch?v= URL or a /shorts/ URL The public view count
X The post URL, on x.com or twitter.com The public view count
Threads The post URL null. Threads does not publish views

LinkedIn has no single post read in this API. For a campaign that pays on views, TikTok, Instagram Reels, YouTube and X are the networks that work.

Python: review submissions and compute payouts

The script applies the four checks, then a minimum, a cap and a rate.

import os
from datetime import datetime, timezone

import requests

HEADERS = {"Authorization": f"Bearer {os.environ['SOCIALLENS_KEY']}"}
RATE_PER_1000 = 1.00          # dollars per 1,000 views
MIN_VIEWS = 1000              # below this a clip earns nothing
CAP_VIEWS = 1_000_000         # views paid per clip, at most
CAMPAIGN_START = datetime(2026, 11, 15, tzinfo=timezone.utc)

SUBMISSIONS = [
    {"clipper": "mkbhd", "platform": "tiktok",
     "url": "https://www.tiktok.com/@mkbhd/video/7709891365567597837"},
    {"clipper": "mkbhd", "platform": "instagram",
     "url": "https://www.instagram.com/p/DgOeKHZN_xd/"},
    {"clipper": "mkbhd", "platform": "youtube",
     "url": "https://www.youtube.com/watch?v=ZvqYNSnsIDY"},
    {"clipper": "someone_else", "platform": "youtube",
     "url": "https://www.youtube.com/watch?v=ZvqYNSnsIDY"},
]


def read_post(platform, url):
    r = requests.get("https://api.sociallens.dev/v1/post",
                     params={"platform": platform, "url": url},
                     headers=HEADERS, timeout=90)
    return r.json() if r.status_code == 200 else None


def review(sub):
    post = read_post(sub["platform"], sub["url"])
    if post is None:
        return "retry", 0, 0.0
    if not post["exists"]:
        return "removed or private", 0, 0.0
    if (post["author"]["username"] or "").lower() != sub["clipper"].lower():
        return "author mismatch", 0, 0.0
    published = datetime.strptime(post["published_at"], "%Y-%m-%dT%H:%M:%SZ").replace(tzinfo=timezone.utc)
    if published < CAMPAIGN_START:
        return "posted before the campaign", 0, 0.0
    views = post["views"]
    if views is None:
        return "no public view count", 0, 0.0
    if views < MIN_VIEWS:
        return "below minimum", views, 0.0
    payable = min(views, CAP_VIEWS)
    return "ok", views, round(payable / 1000 * RATE_PER_1000, 2)


if __name__ == "__main__":
    total = 0.0
    for sub in SUBMISSIONS:
        status, views, amount = review(sub)
        total += amount
        print(f"{sub['platform']:<10} {sub['clipper']:<13} {status:<27} views={views:<9} payout=${amount:.2f}")
    print(f"total=${total:.2f}")

The real output of that run:

tiktok     mkbhd         ok                          views=291357    payout=$291.36
instagram  mkbhd         ok                          views=441316    payout=$441.32
youtube    mkbhd         ok                          views=3400470   payout=$1000.00
youtube    someone_else  author mismatch             views=0         payout=$0.00
total=$1732.68

The YouTube video passed the cap, so it pays for 1,000,000 views and no more. The fourth line is the same video submitted by another account: the author does not match, so it pays nothing. That one comparison stops the most common abuse, which is submitting someone else's viral video.

Node: a daily snapshot of every clip

Paying on a single read is fragile. Store one snapshot per clip per day and pay on the last one after a holding period.

import { appendFile } from "node:fs/promises";

const CLIPS = [
  ["tiktok", "https://www.tiktok.com/@mkbhd/video/7709891365567597837"],
  ["instagram", "https://www.instagram.com/p/DgOeKHZN_xd/"],
  ["youtube", "https://www.youtube.com/watch?v=ZvqYNSnsIDY"],
];

for (const [platform, clipUrl] of CLIPS) {
  const url = new URL("https://api.sociallens.dev/v1/post");
  url.search = new URLSearchParams({ platform, url: clipUrl });
  const res = await fetch(url, { headers: { Authorization: `Bearer ${process.env.SOCIALLENS_KEY}` } });
  if (res.status !== 200) continue;
  const post = await res.json();
  if (!post.exists) continue;
  const row = { url: clipUrl, at: post.fetched_at, views: post.views, likes: post.likes, comments: post.comments };
  await appendFile("snapshots.jsonl", JSON.stringify(row) + "\n");
  console.log(row);
}

The file after one run, about a minute after the Python run above:

{"url":"https://www.tiktok.com/@mkbhd/video/7709891365567597837","at":"2026-11-29T03:17:47Z","views":291358,"likes":33514,"comments":647}
{"url":"https://www.instagram.com/p/DgOeKHZN_xd/","at":"2026-11-29T03:17:53Z","views":441310,"likes":8839,"comments":60}
{"url":"https://www.youtube.com/watch?v=ZvqYNSnsIDY","at":"2026-11-29T03:17:56Z","views":3400470,"likes":96457,"comments":8600}

Look at the Instagram line. The Python run read 441,316 views and this run, a minute later, read 441,310. Public counters are not strictly increasing: networks adjust them. A payout rule has to expect that.

Rules that protect the campaign

These are rules you write. The API gives you the numbers and no verdict.

What this does not do

Cost to track 500 clips for 14 days

That is 7,000 reads. Prices were read on each vendor's own page on November 29, 2026.

Route Coverage Smallest purchase Cost of 7,000 reads Free allowance
SocialLens (sociallens.dev) TikTok, Instagram, YouTube and X posts by URL, one response shape $19 for 8,000 reads, prepaid, never expires $16.63 at the Starter rate. One pack covers the campaign 250 reads, one time, no card
SociaVault Many platforms, listed on its site $29 for 6,000 credits $33.83 at the Starter rate, at 1 credit per request on most endpoints 50 credits
Apify, TikTok Scraper TikTok only Pay per result on your Apify plan From $11.90, at $1.70 per 1,000 results Depends on your Apify plan
EnsembleData 8 platforms $100 a month for 1,500 units a day $100, the smallest paid plan A free plan with 50 units a day
YouTube Data API YouTube only Free $0. A videos.list call costs 1 quota unit 10,000 units a day by default
TikTok Display API TikTok videos of users who authorized your app Free $0, after each clipper logs in with TikTok Not applicable

How to read this table:

When to use an official API or a clipping platform instead

Frequently asked questions

How do I verify TikTok views with an API?

Send the video URL to GET /v1/post on SocialLens (sociallens.dev) with platform=tiktok. The response has the public views count, the author's handle and the publish date.

Can the API detect fake or bought views?

No. It returns the counter TikTok shows. Protect the campaign with a holding period, a cap per clip, an author check and a manual look at clips whose likes are far out of line with their views.

Does the clipper have to connect their account?

No. The read uses the public URL of the clip. You only need the handle the clipper registered, to compare it with the author of each clip.

What happens when a clip is deleted?

The read answers "exists": false, or an error status if the network could not be reached. Either way, do not pay on that read. In our test, a TikTok URL that did not exist was not billed.

How often should I read each clip?

Once a day is enough for a payout. Read at submission to validate the clip, daily to build the curve, and once more at payout time.

Do Instagram Reels and YouTube Shorts work the same way?

Yes. Change platform and send the Reel URL or the Shorts URL. The fields are the same. On Instagram, views is null for photo posts, which the script treats as not payable.

What does it cost?

One read is one credit, $0.0024 at the Starter rate. Five hundred clips read daily for two weeks cost $16.63. A new account includes 250 free reads.

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