TikTok Profile
Extract a TikTok creator profile — bio, follower counts, total likes, and recent video previews.
Use the JS token
TikTok scrapers work best with your JavaScript token.
API usage
Add &scraper=tiktok-profile to a Crawling API request. URL-encode the target URL in the url parameter.
curl 'https://api.crawlbase.com/?token=YOUR_TOKEN' \
--data-urlencode 'url=https://www.tiktok.com/@loveyourboka' \
--data-urlencode 'scraper=tiktok-profile' -Gfrom crawlbase import CrawlingAPI
api = CrawlingAPI({'token': 'YOUR_TOKEN'})
res = api.get(
'https://www.tiktok.com/@loveyourboka',
{'scraper': 'tiktok-profile'}
)
import json
data = json.loads(res['body'])const { CrawlingAPI } = require('crawlbase');
const api = new CrawlingAPI({ token: 'YOUR_TOKEN' });
const res = await api.get(
'https://www.tiktok.com/@loveyourboka',
{ scraper: 'tiktok-profile' }
);
const data = JSON.parse(res.body);require 'crawlbase'
api = Crawlbase::API.new(token: 'YOUR_TOKEN')
res = api.get('https://www.tiktok.com/@loveyourboka', scraper: 'tiktok-profile')
data = JSON.parse(res.body)Example input URL
The URL passed in the url parameter (URL-decoded for readability):
https://www.tiktok.com/@loveyourbokaResponse shape
JSON response body. Field types may be null when the source page omits the value.
Profile @username.
Display name.
Profile bio.
Profile picture URL.
Verification badge present.
Total followers.
Number of accounts followed.
Total likes received.
Total videos posted.
Recent video objects.
Sample response
{
"username": "loveyourboka",
"display_name": "Love Your Boka",
"verified": false,
"follower_count": 82400,
"following_count": 213,
"likes_count": 1820000,
"videos_count": 412
}
