S

SocialFetch · Tiktok Profiles

by SocialFetch

GETBase

$0.014

per call · USD Coin on Base

Get a TikTok profile by handle.

Endpoint

GET https://api.socialfetch.dev/v1/tiktok/profiles/:handle

6

Calls / 30d

1

Unique payers / 30d

Sep 8

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://api.socialfetch.dev/v1/tiktok/profiles/:handle", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://api.socialfetch.dev/v1/tiktok/profiles/:handle" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "data": {
    "lookupStatus": "found",
    "metrics": {
      "diggs": 0,
      "followers": 127352270,
      "following": 351,
      "friends": 284,
      "likes": 1301821757,
      "posts": 459
    },
    "profile": {
      "_truncated": true,
      "accountCreatedAt": "2018-10-20T19:26:16.000Z",
      "avatarUrl": "https://p19-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/1e2348ca19d394037718e3b1d3fc2958~tplv-tiktokx-cropcent…",
      "avatarUrls": {
        "large": "https://p19-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/1e2348ca19d394037718e3b1d3fc2958~tplv-tiktokx-cropcent…",
        "medium": "https://p19-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/1e2348ca19d394037718e3b1d3fc2958~tplv-tiktokx-cropcent…",
        "thumb": "https://p19-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/1e2348ca19d394037718e3b1d3fc2958~tplv-tiktokx-cropcent…"
      },
      "bio": "Watch my latest video! 👇",
      "displayName": "MrBeast",
      "handle": "mrbeast",
      "platform": "tiktok",
      "platformUserId": "6614519312189947909",
      "privateAccount": false,
      "profileUrl": "https://www.tiktok.com/@mrbeast",
      "secUid": "MS4wLjABAAAABKjQkOz_IIzXXzEAl_9LGsWhvK-gBnlczwRPXK8EmxAp6K3X0qiaP5_OEqmm0XwG",
      "verified": true
    }
  },
  "meta": {
    "creditsCharged": 1,
    "requestId": "req_f05c55ed-d134-4f26-9c23-8a49df4810ba",
    "version": "v1"
  }
}

Payment details

Pay to0x02c2fcafce36b4aadb39625866bc6b1699d83043
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Social & Community and the homepage with a featured placement.

Get featured →

More from SocialFetch & similar services