TikTok API - Profiles, Videos & Comments
Pricing
from $1.52 / 1,000 profiles
TikTok API - Profiles, Videos & Comments
TikTok API for real-time data: any public profile with its newest videos, a profile's videos page by page, a single video (short links work), and comments and replies as clean JSON in seconds. No login or cookies. Pay only for calls that return data.
Pricing
from $1.52 / 1,000 profiles
Rating
0.0
(0)
Developer
Social Scrapers
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
0
Monthly active users
4 days ago
Last modified
Categories
Features
Share
TikTok API is a real-time API for public TikTok data, with no TikTok account, login or cookies. Send an HTTP request, get JSON back in seconds: public profiles with their exact counts, a profile's videos page by page, a single video or photo post with all its details, and a video's comments and their replies. One page per call, with a cursor for the next page. You pay only for calls that return data.
💡 Need a feature that isn't here? Just ask. Open an issue on the Issues tab and tell us what you need: a new field, filter, input type or output format. We build requested features fast, usually within 24 hours, at no extra cost.
⭐ Found it useful? A short review on the Reviews tab helps other people find this API, and tells us what to build next.
What does TikTok API do?
TikTok API answers each request with what TikTok shows a visitor who is not logged in, as clean JSON:
- 👤 Profiles: followers, following, likes and videos counts (exact numbers, not rounded), nickname, bio and bio link, verified badge, profile picture, language, and the 15 newest videos.
- 🎬 Videos of a profile: page by page, newest first, each with plays, likes, comments, shares, saves, caption, hashtags, mentions, date, duration, cover, video and subtitle links, sound and author.
- 🔎 One video or photo post: all its details, including the pictures of a photo post, its sound, the place tagged and TikTok's categories. Short links from the app work too.
- 💬 Comments and replies: a video's comments page by page, with likes, reply counts, and whether the creator liked or pinned them; then the replies to any comment, page by page.
- 💸 Pay per successful call: errors, empty pages, and accounts or videos that are missing or private cost nothing.
It is a server: no run to start and no dataset to fetch. Call it from any language, a no-code tool or your own backend, the same way you call any web API.
Endpoints
| Endpoint | Parameters | Returns |
|---|---|---|
GET /v1/profile | username | A profile with its 15 newest videos. next_cursor continues on /v1/videos. |
GET /v1/videos | username, cursor | One page of a profile's videos (up to 15), newest first. |
GET /v1/video | url | One video or photo post with its details. |
GET /v1/comments | url, comment_id, cursor | One page of a video's comments (up to 50, usually 30 to 50), or with comment_id, of one comment's replies. |
GET / | What the API serves (free). |
usernametakesnasa,@nasaor a profile link such ashttps://www.tiktok.com/@nasa.urltakes a video or photo link, a short link from the app (https://vm.tiktok.com/…,https://vt.tiktok.com/…orhttps://www.tiktok.com/t/…) or the video id (7695060950394703118).comment_idis theidof a comment from a page of comments.cursoris thenext_cursorof the previous page. A later page needs the cursor alone.
The Server tab of this page lists every endpoint with its fields and lets you try them in the browser.
How to use TikTok API
- Copy your API token from Settings → API & Integrations in Apify Console.
- Send a GET request to the API with the token in the
Authorizationheader:
curl -H "Authorization: Bearer <YOUR_APIFY_TOKEN>" \"https://socialscrapers--tiktok-api.apify.actor/v1/profile?username=nasa"
More examples:
# A profile's videos, page by pagecurl -H "Authorization: Bearer <YOUR_APIFY_TOKEN>" \"https://socialscrapers--tiktok-api.apify.actor/v1/videos?username=nasa"curl -H "Authorization: Bearer <YOUR_APIFY_TOKEN>" \"https://socialscrapers--tiktok-api.apify.actor/v1/videos?cursor=<next_cursor>"# One videocurl -H "Authorization: Bearer <YOUR_APIFY_TOKEN>" \"https://socialscrapers--tiktok-api.apify.actor/v1/video?url=https://www.tiktok.com/@nasa/video/7695060950394703118"# Comments of a videocurl -H "Authorization: Bearer <YOUR_APIFY_TOKEN>" \"https://socialscrapers--tiktok-api.apify.actor/v1/comments?url=7695060950394703118"# Replies to one commentcurl -H "Authorization: Bearer <YOUR_APIFY_TOKEN>" \"https://socialscrapers--tiktok-api.apify.actor/v1/comments?url=7695060950394703118&comment_id=7695100936662565646"
In JavaScript:
const res = await fetch('https://socialscrapers--tiktok-api.apify.actor/v1/videos?username=nasa', {headers: { Authorization: `Bearer ${process.env.APIFY_TOKEN}` },});const { ok, data, next_cursor, error } = await res.json();
In Python:
import requestsr = requests.get("https://socialscrapers--tiktok-api.apify.actor/v1/comments",params={"url": "7695060950394703118"},headers={"Authorization": f"Bearer {APIFY_TOKEN}"},)body = r.json()
You can also start the Actor from its Input tab: it then makes one call and saves the result to a dataset, which you can export as JSON, CSV or Excel. The next page's cursor is in the run's OUTPUT record.
Responses
Every answer has the same envelope. A success:
{"ok": true,"data": {"id": "7664638705177150477","username": "nasa","nickname": "NASA","followers": 2186160,"following": 23,"likes": 11711252,"videos": 66,"verified": true,"isPrivate": false,"bioLink": "science.nasa.gov/feature/artemis-ii-preliminary-lunar-science-report","latestVideos": [{"id": "7707774305056083213","url": "https://www.tiktok.com/@nasa/video/7707774305056083213","text": "From MAX POWER to Mars, it was a week to remember at NASA!","createTimeISO": "2026-11-13T21:41:18.000Z","playCount": 145200,"diggCount": 9771,"commentCount": 111,"shareCount": 412,"collectCount": 1004,"duration": 58}]},"next_cursor": "eyJ2IjoxLCJrIjoidmlkZW9zIiwidSI6Im5hc2EiLCJzIjoi..."}
A page of comments:
{"ok": true,"data": {"videoId": "7695060950394703118","commentId": null,"total": 3512,"items": [{"id": "7695100936662565646","text": "Our home","createTimeISO": "2026-10-10T18:02:23.000Z","diggCount": 1768,"replyCount": 74,"parentId": null,"likedByAuthor": true,"pinnedByAuthor": false,"author": { "username": "sample.account", "nickname": "Sample Account" }}]},"next_cursor": "eyJ2IjoxLCJrIjoiY29tbWVudHMiLCJpIjoi..."}
A failure:
{ "ok": false, "error": { "code": "not_found", "message": "No TikTok account @nosuchuser: it does not exist, or it was renamed." } }
| Status | error.code | Meaning | Charged |
|---|---|---|---|
| 200 | Data, or an empty page | Only when it returns data | |
| 400 | invalid_request, invalid_cursor | A parameter is missing or cannot be read | No |
| 404 | not_found, private | No such account or video, or a private one | No |
| 429 | over_capacity | Too many calls at once: retry after the Retry-After seconds | No |
| 502 | tiktok_refused, upstream_timeout | TikTok did not answer in time: retry | No |
| 500 | internal_error | Something went wrong on our side | No |
Each call is answered within about 45 seconds; most take a few seconds.
How much does TikTok API cost?
You pay per successful call that returns data. Errors, empty pages, and missing or private accounts and videos are free.
| Call | Price per 1,000 calls |
|---|---|
Profile (/v1/profile) | $1.90 |
Page of videos (/v1/videos) | $1.90 |
Video (/v1/video) | $1.90 |
Page of comments or replies (/v1/comments) | $1.90 |
Apify's Silver and Gold plans pay less per call. There is no run to start, so there is no start fee and no compute cost on your side.
FAQ
Do I need a TikTok account? No. Everything comes from what TikTok shows a visitor who is not logged in, so no login, cookie or session of yours is ever used.
Can it read private accounts? A private account's profile (its counts and bio) is returned, as TikTok shows it to anyone; its videos are not, and asking for them answers 404 with code private, which is not charged.
How do I get more than one page? Pass the next_cursor of a page as cursor in the next call, until next_cursor is null.
How do I get the replies to a comment? Every comment has a replyCount. Call /v1/comments with the video's url and the comment's id as comment_id, then follow next_cursor as usual.
Why can a page of comments hold fewer than 50? TikTok leaves some comments out of the pages it shows a visitor who is not logged in. On a video with many comments, TikTok also ends its list early now and then; the API reads past that point for you while the comments read so far are well short of the video's total.
Do the video links last? The cover, video, subtitle and sound links expire after some hours. Download what you need soon after the call.
Can it search, or read hashtags and sounds? Not in this API. For the videos of a hashtag or a sound, or many profiles in one run, use our TikTok Scraper.
What happens when I send many calls at once? Calls are shared fairly between users. When too many arrive at once you get 429 with a Retry-After header; wait that many seconds and retry.
Is it legal to use this data? The API reads only public data. You are responsible for using it lawfully: profiles and comments can hold personal data, which laws such as the GDPR and the CCPA protect, so collect and keep only what you have a legitimate reason to process.
Other scrapers by Social Scrapers
| Scraper | What it gets |
|---|---|
| TikTok Comments Scraper | Comments, Replies and Likes |
| TikTok Hashtag Scraper | Top Videos, Views and Likes |
| TikTok Profile Scraper | Followers, Bio, Stats and Videos |
| TikTok Scraper | Videos, Profiles, Hashtags and Comments |
| TikTok Sound Scraper | Videos Using a Sound and Music Info |
| TikTok Video Scraper | Views, Likes, Captions and Comments |
| Instagram API | Profiles, Posts, Reels, Comments and Hashtags |
| Instagram Comments Scraper | Comments, Likes and Reply Counts |
| Instagram Hashtag Scraper | Reels and Keyword Search |
| Instagram Post Details Scraper | Likes, Comments, Views and Media |
| Instagram Post Scraper | Posts, Reels and Comments |
| Instagram Profile Scraper | Followers, Bio, Posts and Reels |
| Instagram Reels Scraper | Reels, Plays, Likes and Comments |
| Instagram Reels Transcript Scraper | Speech to Text and Captions |
| Instagram Scraper | Posts, Profiles, Reels, Comments and Hashtags |
| YouTube API | Videos, Transcripts, Search, Channels and Comments |
| YouTube Channel Scraper | Videos, Shorts, Subscribers and About |
| YouTube Comments Scraper | Comments, Replies and Likes |
| YouTube Scraper | Videos, Shorts, Channels and Comments |
| YouTube Search Scraper | Videos, Channels, Views and Filters |
| YouTube Shorts Scraper | Shorts, Views, Likes and Search |
| YouTube Transcript Scraper | Subtitles, Captions and SRT |
| YouTube Video Details Scraper | Stats, Subtitles and Comments |
| Facebook Ads Library Scraper | Meta Ad Library and Spend |
| Facebook Comments Scraper | Posts, Reels, Videos and Replies |
| Facebook Groups Scraper | Public Group Posts and Reactions |
| Facebook Marketplace Scraper | Prices, Locations and Sellers |
| Facebook Page Contact Info Scraper | Email, Phone and WhatsApp |
| Facebook Posts Scraper | Pages, Profiles and Timelines |
| Facebook Pages Scraper | Profiles, Contact Info and Reviews |
| Facebook Reels Scraper | Reels, Videos, Plays and Captions |
| X (Twitter) Profile Scraper | Followers, Bio and Tweets |
| X (Twitter) Tweet Scraper | Latest Posts by Profile |
| Threads Profile Scraper | Followers, Bio, Links and Posts |
| Threads Replies Scraper | Comments, Authors, Likes and Media |
| Threads Scraper | Posts, Profiles, Replies and Search |
| Threads Search Scraper | Keywords, Hashtags, Top and Recent Posts |
| Reddit Comments Scraper | Threads, Replies, Votes and Authors |
| Reddit Scraper | Posts, Comments, Subreddits, Users and Search |
| Reddit Search Scraper | Posts by Keyword, Subreddit and Date |
| Reddit User Scraper | Profiles, Karma, Posts and Comments |
| Subreddit Scraper | Hot, New and Top Posts with Comments |
| Quora Scraper | Answers, Questions, Profiles and Topic Search |
| LinkedIn Ad Library Scraper | Ads, Advertisers and Impressions |
| LinkedIn Job Search Scraper | Filters, Salaries and New Jobs |
| LinkedIn Jobs Scraper | Job Listings, Salaries and Companies |
| Google Maps Email Extractor | Emails, Phones and Social Links |
| Google Maps Scraper | Places, Phones, Websites, Ratings and Hours |
| Google News Scraper | Headlines, Articles and Search |
| Google Ads Transparency Scraper | Ad Creatives and Advertisers |
| Amazon Product Scraper | Search Results, Prices, Ratings, ASINs |
| Indeed Jobs Scraper | Salaries, Full Descriptions, Company Data |
| Contact Details Scraper | Emails, Phones and Social Links |
| Telegram Channel Scraper | Posts, Views and Media |
| Doximity Scraper | Physician Profiles and Doctor Directory |
| KevinMD Scraper | Physician Articles and Author Specialties |
| Op-Med Scraper | Physician Essays and Doctor Profiles |
| Career Site Jobs Scraper | Greenhouse, Lever, Ashby and Workday |
| Google Trends Scraper | Interest Over Time, Regions and Queries |