How to Scrape Tiktok User Profile Data
This tutorial shows how to use Tiktok User Profile Data API to scrape and crawl structured Tiktok data in real-time.
Fetch TikTok profile data into your social media tools. Follower counts, bio text, and engagement metrics are all accessible for any public creator through one API call.
Access Tiktok Data in 3 Steps
Start crawling Tiktok user analytics data. Follow these steps to extract social media data in minutes.
Create Your Account
Go to our registration page and make an account. It's free, no credit card, and you get credits right away to play around with.
Verify Your Email Address
You'll get a verification email, click the link in it. Once that's done, you can grab your API token from the dashboard.
Make Your First API Call
Copy the code snippet below, swap in your API key, and run it. You'll get Tiktok data back as JSON within a few seconds.
Code Sample
Here's a JavaScript example to get you going. Swap out the token and you're good, works the same way in any language that can make HTTP requests. Start collecting user analytics data via our REST API!
| 1 | const root = 'https://ensembledata.com/apis' |
| 2 | const endpoint = '/tt/user/info' |
| 3 | const params = { |
| 4 | "username": "daviddobrik", |
| 5 | "token": "YOUR-TOKEN-HERE" |
| 6 | } |
| 7 | |
| 8 | const queryString = new URLSearchParams(params).toString(); |
| 9 | const url = `${root}${endpoint}?${queryString}`; |
| 10 | |
| 11 | await fetch(url) |
| 12 | .then(response => response.json()) |
| 13 | .then(data => console.log(data)) |
| 14 | .catch(error => console.error(error)); |
| 15 |
Parameters
Example Response
Explore the fields returned by this endpoint. Click a row to expand nested objects and arrays, hover a value to copy it, or use "Expand all" to see everything at once.
dataobject2 fields
userobject120 fields
avatar_168x168object4 fields
url_listarray2 items · schema from #0 2 items
avatar_mediumobject4 fields
url_listarray2 items · schema from #0 2 items
avatar_300x300object4 fields
url_listarray2 items · schema from #0 2 items
cover_urlarray1 item · schema from #0 1 item
url_listarray1 item · schema from #0 1 item
avatar_thumbobject4 fields
url_listarray2 items · schema from #0 2 items
original_musicianobject3 fields
special_accountobject1 field
avatar_largerobject4 fields
url_listarray2 items · schema from #0 2 items
share_infoobject8 fields
share_qrcode_urlobject4 fields
url_listarray0 items
video_iconobject4 fields
url_listarray0 items
statsobject6 fields
Response Codes
Status codes this endpoint can return, so you can handle errors before they surprise you in production.
API Pricing
Fetch Tiktok Data at Scale
Get clean, structured TikTok profile data for any creator; follower counts, bio text, engagement rates (likes, views, comments), and posting frequency, all via a single API call.
Follower Counts
Get exact follower, following, and video counts for any public TikTok account.
Bio & Engagement
Pull bio text and engagement rate to quickly evaluate a creator's audience quality.
Verified Status
See verification badges and account type in one structured API response.