100 free credits — no credit card required.Start building
Logo
Developer tutorial

How to scrape TikTok profiles with Node.js (2026)

This tutorial shows how to scrape TikTok profiles in Node.js using the SocialCrawl API. You get a creator's follower count, likes, video count, bio, verification, and avatar, plus a computed engagement rate from one GET request, with no TikTok developer account, proxies, or HTML parsing. The code below is runnable as-is, and the response underneath it is a real, unedited call.

How it works

  1. 1
    Get a free API keyCreate a SocialCrawl account and copy your API key from the dashboard. Every new account starts with free credits.
  2. 2
    Set up Node.jsUse Node.js 18 or newer, which includes the fetch API with no extra packages.
  3. 3
    Call the TikTok Profile endpointSend a GET request to /v1/tiktok/profile with your API key in the x-api-key header and the `handle` parameter.
  4. 4
    Read the responseParse the JSON. SocialCrawl returns a creator's follower count, likes, video count, bio, verification, and avatar, plus a computed engagement rate in one normalized schema, so you write no HTML parsing or proxy code.

The code

A real, unedited response from the request above.

const params = new URLSearchParams({
  "handle": "charlidamelio",
});

const response = await fetch(
  `https://www.socialcrawl.dev/v1/tiktok/profile?${params}`,
  { headers: { "x-api-key": "YOUR_API_KEY" } },
);
const data = await response.json();
console.log(data);
[ RESPONSE ]
{
  "success": true,
  "platform": "tiktok",
  "endpoint": "/v1/tiktok/profile",
  "data": {
    "author": {
      "id": "5831967",
      "username": "charlidamelio",
      "display_name": "charli d’amelio",
      "avatar_url": "https://p19-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/ee31de49ddf64b45c5b2e3c55fbd0ea4~tplv-tiktokx-cropcenter:1080:1080.jpeg?dr=9640&refresh_token=a65b3d41&x-expires=1784678400&x-signature=wythXMhhgucFLruxwUp4PBBSKHI%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=useast5",
      "bio": null,
      "verified": true,
      "followers": 159300000,
      "following": 1404,
      "posts_count": 3194,
      "likes_count": -607246815,
      "url": null,
      "private": false,
      "joined_at": null
    },
    "computed": {
      "engagement_rate": 0,
      "language": null,
      "content_category": null,
      "estimated_reach": null
    },
    "_warnings": [
      "computed.engagement_rate: value fell below 0 (raw: -3.81197); clamped"
    ]
  },
  "credits_used": 1,
  "credits_remaining": 9999,
  "request_id": "req_example000000",
  "cached": false
}
API reference for this endpoint

Prefer another language?

FAQ

Have a question? We got answers

Find answers to frequently asked questions about SocialCrawl's API, pricing, and capabilities.

Contact us
Do I need a TikTok developer account to scrape TikTok profiles?
No. SocialCrawl handles authentication and proxies upstream, so you never register a TikTok app, manage OAuth tokens, or run your own scrapers. One API key returns TikTok data directly.
What does the TikTok Profile endpoint return?
It returns a creator's follower count, likes, video count, bio, verification, and avatar, plus a computed engagement rate. The response is normalized into SocialCrawl's unified schema, identical in shape across every platform.
How much does it cost to scrape TikTok profiles?
Each call costs a small number of credits, and new accounts start with free credits. There are no monthly minimums, so you pay only for the calls you make.
Can I use this Node.js code in production?
Yes. The snippet on this page is the real request against the live API. For production, add error handling and follow the response cursor to paginate through large result sets.

Ask AI about SocialCrawl