TikTok Scraper API
Get public TikTok profiles, a creator's videos, any video by URL, comments, sounds and live status as JSON, plus video downloads without the watermark. One HTTPS request each, no browser automation.
IGramAPI is an independent product of AR Digital Services (Prayagraj, Uttar Pradesh, India). It is not the official API and is not affiliated with or endorsed by TikTok or ByteDance. About us
What running your own TikTok scraper involves
Scraping TikTok yourself works for a demo. Keeping it working is the expensive part.
Signed requests
TikTok's own data requests need signatures and tokens that a browser generates, and the scheme changes over time.
Shifting page data
Pages embed their data in a large JSON block whose layout changes, so parsers break without warning.
Verification puzzles
Automated traffic runs into slider CAPTCHAs and empty responses.
Watermarked files
The download link the page offers carries the TikTok watermark, and the clean stream only plays for the page session that requested it.
Regional blocks
TikTok is not reachable from some countries, including India, so a scraper there needs servers abroad.
Or call an endpoint
Send a username or a link, get JSON. The same key also covers the other platforms.
Example: TikTok Video Data API
GET /v1/tiktok/videos · 1 credit. Replace YOUR_API_KEY with your key.
curl "https://api.igramapi.com/v1/tiktok/videos?url=https%3A%2F%2Fwww.tiktok.com%2F%40example_creator%2Fvideo%2F7401234567890123456" \
-H "Authorization: Bearer YOUR_API_KEY" import requests
response = requests.get(
"https://api.igramapi.com/v1/tiktok/videos?url=https%3A%2F%2Fwww.tiktok.com%2F%40example_creator%2Fvideo%2F7401234567890123456",
headers={"Authorization": "Bearer YOUR_API_KEY"},
timeout=30,
)
response.raise_for_status()
print(response.json()) const response = await fetch("https://api.igramapi.com/v1/tiktok/videos?url=https%3A%2F%2Fwww.tiktok.com%2F%40example_creator%2Fvideo%2F7401234567890123456", {
method: "GET",
headers: {
Authorization: "Bearer YOUR_API_KEY",
},
});
if (!response.ok) throw new Error((await response.json()).error.message);
console.log(await response.json()); <?php
$ch = curl_init("https://api.igramapi.com/v1/tiktok/videos?url=https%3A%2F%2Fwww.tiktok.com%2F%40example_creator%2Fvideo%2F7401234567890123456");
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer YOUR_API_KEY",
],
]);
$data = json_decode(curl_exec($ch), true);
print_r($data); {
"id": "7401234567890123456",
"type": "video",
"description": "Sunday market haul #streetfood #vlog",
"created_at": 1761900000,
"author": {
"user_id": "6812345678901234567",
"username": "example_creator",
"nickname": "Example Creator",
"avatar": "https://v16-webapp-prime.tiktok.com/video/tos/example/avatar.jpeg",
"is_verified": true,
"followers": 1820000
},
"plays": 2450000,
"likes": 312400,
"comments": 4120,
"shares": 9800,
"saves": 15600,
"duration": 27,
"width": 576,
"height": 1024,
"cover": "https://v16-webapp-prime.tiktok.com/video/tos/example/cover.jpeg",
"dynamic_cover": "https://v16-webapp-prime.tiktok.com/video/tos/example/dynamic.webp",
"formats": [
{
"id": "adapt_lowest_1080_1",
"quality": "1080p",
"width": 1080,
"height": 1920,
"bitrate": 803227,
"codec": "h265_hvc1",
"size_bytes": 9987936
},
{
"id": "normal_540_0",
"quality": "576p",
"width": 576,
"height": 1024,
"bitrate": 1250793,
"codec": "h264",
"size_bytes": 15553308
}
],
"photos": [],
"music": {
"id": "7401234500000000001",
"title": "original sound",
"author": "Example Creator",
"is_original": true,
"duration": 27,
"url": "https://v16-webapp-prime.tiktok.com/video/tos/example/sound.mp3",
"cover": "https://v16-webapp-prime.tiktok.com/video/tos/example/sound.jpeg"
},
"hashtags": [
"streetfood",
"vlog"
],
"mentions": [],
"subtitles": [
{
"language": "eng-US",
"format": "webvtt",
"url": "https://v16-webapp-prime.tiktok.com/video/tos/example/captions.vtt"
}
],
"is_ad": false,
"location_created": "IN",
"comments_disabled": false,
"duet_enabled": true,
"stitch_enabled": true,
"cached": false
} Your scraper's jobs, as endpoints
Each common TikTok scraping task maps to one documented endpoint with a fixed price.
| Task | Endpoint | Credits |
|---|---|---|
| Profile, followers and total likes | GET /v1/tiktok/profiles/{username} | 1 credit |
| Every video of a creator | GET /v1/tiktok/profiles/{username}/videos | 1 credit |
| A video from its URL or short link | GET /v1/tiktok/videos | 1 credit |
| Comments and replies | GET /v1/tiktok/comments | 2 credits |
| Sound title, artist and audio link | GET /v1/tiktok/audio | 1 credit |
| Creator accounts for a keyword | GET /v1/tiktok/search | 1 credit |
| Is a creator live right now | GET /v1/tiktok/profiles/{username}/live | 1 credit |
| Download a video without the watermark | POST /v1/tiktok/downloads | 1 to 2 credits |
Your own scraper or IGramAPI
| Your own scraper | IGramAPI | |
|---|---|---|
| What you run | A headless browser or HTTP client, parsers, a scheduler and retries | Nothing: HTTPS calls to one API |
| Login prompts, CAPTCHAs and blocks | Yours to detect and work around | Handled on our side; you get JSON or a documented error code |
| When the site changes | Your parsers break until you fix them | We adapt; your code keeps the same fields |
| Output | Whatever your parser extracts | Documented JSON with an OpenAPI schema |
| Your accounts | Logged-in scraping can get them restricted | None of yours is used |
| Cost | Servers, IP addresses, accounts and engineering time | 100 free credits a month, then down to about ₹18 per 1,000 credits |
| Control | Any field you can see on the page | The endpoints listed on this page, public data only |
Every TikTok endpoint and its price
| Endpoint | Credits | Available on |
|---|---|---|
| Profile, or profile picture | 1 | All plans |
| Video data (URL, short link or id) | 1 | All plans |
| User videos (per page of up to 12) | 1 | All plans |
| Stories (active 24-hour stories) | 1 | All plans |
| Playlists, or videos of a playlist (per page of up to 30) | 1 | All plans |
| Live status and stream links | 1 | All plans |
| Search (suggestions and creator accounts) | 1 | All plans |
| Comments (per page of up to 50) | 2 | All plans |
| Comment replies (per page of up to 50) | 1 | All plans |
| Sound (audio) details | 1 | All plans |
| Hashtag check | 1 | All plans |
| Download: sound (MP3) or photo | 1 | All plans |
| Download: video without watermark | 2 | All plans |
Errors on our side (HTTP 5xx) and invalid requests are refunded automatically; a lookup that completes with "not found" or "private" costs its credits. TikTok API pricing.
Limitations
- Public data only: private accounts and anything behind a login are never returned.
- Search returns keyword suggestions and creator accounts, not videos.
- The hashtag endpoint confirms that a hashtag exists; it does not list videos.
- Comment order can differ between pages; de-duplicate by comment id.
Get started in three steps
- Create a free account and confirm your email.
- Create an API key in the dashboard and keep it on your server.
- Run the cURL above with your key. The quickstart and the TikTok API overview cover the rest.
Questions
Is this a scraper or an API?
It is a hosted REST API. You call an HTTPS endpoint with your key and get documented JSON back. Signatures, page changes and file access are handled on our side.
Do I need a TikTok account or a browser?
No. You only need an IGramAPI key, and every endpoint works on every plan, including Free.
Are downloads really without the watermark?
Yes. The downloader returns the playback stream, which has no TikTok watermark, as a link to a stored copy. It costs 2 credits for a video and 1 for a sound or photo.
Can I use it from India?
Yes. Your requests go to api.igramapi.com, not to TikTok, so they work wherever our API is reachable.
What happens when TikTok changes something?
Calls can fail until we adapt. Errors on our side (HTTP 5xx) are refunded automatically and carry a request id you can send us.
Is it legal to collect public TikTok data?
It depends on your country, the data and what you do with it. IGramAPI returns only information that is publicly visible on TikTok and never logs in to anyone's account. You are responsible for lawful use, including privacy law (such as the GDPR or India's DPDP Act) and TikTok's terms. Read our Acceptable Use Policy, and get legal advice for your use case.
Independent service, not affiliated with TikTok or its owner. Use the data lawfully: Acceptable Use Policy.
Replace your TikTok scraper with one API call
100 credits every month, no credit card.