Scraping Bot Animated

scrapingbot

TikTok Profiles Scraper API

Extract profile and videos as structured JSON from public TikTok Profiles targets. Queue a request, then retrieve the result with its responseId.

Get your API keyRead the documentation1,000 free credits per month, no card required.

Decide before you build

Endpoint
POST /scrape/data-scraper
Scrapers
tiktokProfile
Cost
30 credits / call
Free plan
1,000 credits / month
Call pattern
async, POST then GET
On failure
credits refunded
Response format
JSON
Concurrency
by plan tier

Launching a Social Media scrape costs 30 credits. Retrieving a pending result costs nothing; failed scrapes are refunded.

Try the TikTok Profiles scraper on your own targetRun a request against a public target and inspect the JSON before you integrate.

Open the live test

What you get back

tiktokProfile

Profile

Use tiktokProfile to retrieve profile data from a public TikTok target.

  • Required input: url
  • No optional input parameters
  • Structured JSON once the result is ready
  • Public data only; no account login is used

Call the TikTok Profiles scraper

Send the scraper name with the input required by that scraper. The POST returns a responseId to poll for the final JSON.

Step 1Submit a tiktokProfile request and keep the responseId returned by the API.
bash
# POST - queue a public social media scrape
curl -X POST "https://api.scraping-bot.io/scrape/data-scraper" \
  -u "yourUsername:yourApiKey" \
  -H "Content-Type: application/json" \
  -d '{
  "scraper": "tiktokProfile",
  "url": "https://example.com/public-page"
}'
Step 2Wait a few seconds, then retrieve the tiktokProfile result with the responseId. Repeat the GET while the status is pending.
bash
# GET - retrieve the result after the POST returns a responseId
curl -G "https://api.scraping-bot.io/scrape/data-scraper-response" \
  -u "yourUsername:yourApiKey" \
  --data-urlencode "responseId=RESPONSE_ID" \
  --data-urlencode "scraper=tiktokProfile"

Code example

Authenticate with your ScrapingBot username and API key, then poll until the queued result is ready.

const auth = "Basic " + Buffer.from(
  "yourUsername:yourApiKey",
).toString("base64");

const queued = await fetch("https://api.scraping-bot.io/scrape/data-scraper", {
  method: "POST",
  headers: { "Content-Type": "application/json", Authorization: auth },
  body: JSON.stringify({
  "scraper": "tiktokProfile",
  "url": "https://example.com/public-page"
}),
});

const { responseId } = await queued.json();
let result;
do {
  await new Promise((resolve) => setTimeout(resolve, 5000));
  result = await fetch(
    "https://api.scraping-bot.io/scrape/data-scraper-response?" +
      new URLSearchParams({ responseId, scraper: "tiktokProfile" }),
    { headers: { Authorization: auth } },
  ).then((response) => response.json());
} while (result.status === "pending");

Run this call in two minutesCreate an account, copy your API key, then use the example above.

Get your API key

Request parameters

ParameterTypeDefaultDescription
scraperstring—One of the scraper names supported by this endpoint.
urlstring—Public page URL, including https://.

Response example

Example returned by the legacy TikTok Profiles scraper documentation.

json
[
    {
        "type": "profile",
        "influencer_id": "7001080441085232134",
        "biography": "✨More on Instagram @divinbydivin

Product available on",
        "is_private": false,
        "is_verified": false,
        "bio_link": "www.divinbydivin.com",
        "profile_pic_url_hd": "https://p16-sign-va.tiktokcdn.com/tos-maliva-avt-0068/bf029cd7ecddb32b5ed376a379e9cf12~c5_720x720.jpeg?lk3s=a5d48078&x-expires=1707314400&x-signature=10%2FE4oJ5ZOo90VvmHlZOaaPRHb8%3D",
        "secu_id": "MS4wLjABAAAASWbjUHK7CZoYpmD_Das27tcBjPp44GZc0y4VnGfzB1AFcv2bRInvYYYoslTn1drf",
        "id": "divinbydivin",
        "nickname": "divinbydivin",
        "avatar": "https://p77-sign-va-lite.tiktokcdn.com/tos-maliva-avt-0068/bf029cd7ecddb32b5ed376a379e9cf12~c5_1080x1080.jpeg?lk3s=a5d48078&x-expires=1707314400&x-signature=l7gW5%2Fbb%2BtyOpV7db%2BcZi03Xi%2Bo%3D",
        "followers": 30400,
        "hearts": 264000,
        "videos_count": 86,
        "following": 114,
        "top_videos": [
            {
                "id": "7322876838232001824",
                "description": "Ready ? 19h00",
                "create_time": 1704990136,
                "collectCount": 167,
                "commentCount": 47,
                "diggCount": 1864,
                "playCount": 20700,
                "shareCount": 9,
                "offical_item": false,
                "original_item": false,
                "thumbnail": "https://p16-sign-useast2a.tiktokcdn.com/tos-useast2a-i-photomode-euttp/4ecdb974a39b4a5bbab24be59604c17d~tplv-photomode-image.jpeg?x-expires=1707314400&x-signature=vhbDOtYbRSDSxAujjv3OK7tfyEc%3D",
                "video": {
                    "id": "7322876838232001824",
                    "duration": 0,
                    "height": 0,
                    "width": 0,
                    "ratio": ""
                },
                "music": {
                    "authorname": "Giggs",
                    "covermedium": "https://p16-amd-va.tiktokcdn.com/img/tos-useast2a-v-2774/owAfqFehF5szRDyEE7VDUfAbC3EaXLtgAACvET~c5_200x200.jpeg",
                    "id": "7268634489688361760",
                    "original": false,
                    "playurl": "https://sf16-ies-music-va.tiktokcdn.com/obj/tos-useast2a-ve-2774/oIBOIY0kAwyK9ZNK3rVhpyAUiOZPcQYzGibMW",
                    "title": "Incredible Sauce (feat. Dave)"
                }
              }
        ]
    }
]

Credits, failures and limits

CaseCreditsNotes
Launch a scrape30 creditsConsumed when a result is ready.
Result not readyNot consumedThe API returns a pending status; retry after a few seconds.
Failed, blocked or timed-out scrapeRefundedCredits are returned for an unsuccessful request.

TikTok Profiles API or Raw HTML scraper?

TikTok Profiles APIRaw HTML scraper
Endpoint/scrape/data-scraper/scrape/raw-html
ReturnsProfile and videos JSONRendered page HTML
FlowAsynchronous: POST then GETOne synchronous request
Starting cost30 credits1 credit
Use it whenYou need parsed TikTok Profiles dataYou need your own extraction logic

Questions about the TikTok Profiles API

Which TikTok Profiles scraper names can I use?
This page supports tiktokProfile. Send the exact name in the scraper field.
Why does the API return a responseId?
Social Media requests are asynchronous. The responseId lets you retrieve the result without holding the initial request open.
What if the result is still pending?
Wait a few seconds and repeat the GET request. A pending response does not consume credits.
Does this scraper access private account data?
No. It is intended for public pages and does not sign in to a social media account to access private data.

Source: ScrapingBot API documentation.

Other social media scrapers

Browse the Social Media category for the complete list of guides, or visit the ScrapingBot blog for implementation guides.

4.9
★★★★★
133 Google reviews

Trusted by developers and social media teams.
Customer reviews apply to ScrapingBot's service overall, not specifically to this scraper.

Start scraping TikTok Profiles today

1,000 free credits every month. No card required, cancel anytime.