Menu

TikTok profile stats as JSON: followers, likes and video counts in one request
📰

TikTok profile stats as JSON: followers, likes and video counts in one request

DEV Community: python·Mastel·9 days ago
#RVkb2QGe
#devtopython#devto#dev#tiktok#profile
Long article (696 words) — no AI summary yet.
Reading 0:00
15s threshold

If you want to track a creator's follower count, total likes, and video count over time, TikTok's official APIs are usually the wrong fit: they require an approved app and, for most endpoints, OAuth consent from the account owner. Yet all of those public profile totals sit right on the public profile page.

Instead of maintaining a browser scraper every time TikTok tweaks its hydration JSON, you can call a tiktok profile api with just the handle and get a fixed JSON shape back. Full disclosure: I work with SerpBase, and /tiktok/profile below is one of our endpoints.

One POST request (no @ prefix)

curl -X POST 'https://api.serpbase.dev/tiktok/profile' \ -H 'Content-Type: application/json' \ -H 'X-API-Key: YOUR_API_KEY' \ -d '{"username":"nba"}'

Enter fullscreen mode

Exit fullscreen mode

Pass the handle without @ .…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.