TikTok Video Scraper API avatar

TikTok Video Scraper API

Pricing

from $1.50 / 1,000 videos

Go to Apify Store
TikTok Video Scraper API

TikTok Video Scraper API

Scrape TikTok video stats: views, likes, comments, shares, saves, hashtags, music, author and date. $1.50 per 1,000 videos, pay-per-video, failed items never charged. No login, no API key. Callable from any MCP client (Claude, Cursor, ChatGPT).

Pricing

from $1.50 / 1,000 videos

Rating

0.0

(0)

Developer

Api Harbor

Api Harbor

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

7 days ago

Last modified

Features

Limited permissions

Share

Scrape TikTok video stats: views, likes, comments, shares, saves, hashtags, music, author and date. Built for LLM and AI agent pipelines, and callable from any MCP client (Claude, Cursor, ChatGPT). No TikTok login, no API key, no cookies. Export to JSON, CSV or Excel, or call it as a TikTok API.

Price promise: $1.50 per 1,000 videos, pay-per-video. Failed items and error rows are never charged. No proxy fees, no TikTok account needed.

What does TikTok Video Scraper do?

Give it a list of TikTok videos. It returns one clean JSON item per video, with the fields below. An input that cannot be fetched (private, removed or invalid) comes back as an error row, free of charge.

What you get back

FieldTypeDescription
idstringVideo ID
urlstringVideo URL
descriptionstringCaption
createdAtstringPublication date (ISO 8601)
authorstringAuthor username
authorNamestringAuthor display name
authorIdstringAuthor user ID
durationintegerDuration in seconds
coverstringCover image URL (signed, expires)
viewsintegerPlay count
likesintegerLike count
commentsintegerComment count
sharesintegerShare count
savesintegerSave (favorite) count
hashtagsarrayHashtags
musicIdstringSound ID
musicTitlestringSound title
musicAuthorstringSound author
isAdbooleanMarked as ad
aiGeneratedbooleanLabeled as AI-generated
locationstringCountry where it was posted
languagestringCaption language
inputstringInput that failed (error rows only)
errorstringError message (error rows only, never charged)

Why this TikTok API

  • No login, no API key. Nothing to configure, no TikTok developer account, no cookies to refresh.
  • Pay only for what you get. $1.50 per 1,000 videos. Error rows are never charged.
  • Clean, typed data. Numbers are numbers, dates are ISO 8601.
  • Agent-ready. Structured errors, usable as an MCP tool.

Use cases for LLMs, AI agents and marketing

  • Campaign reporting: track views, likes and shares of sponsored videos without asking creators for screenshots.
  • Trend research: collect hashtags, sounds and engagement of a list of viral videos.
  • AI agents: let an MCP client compute engagement rates and summarize what worked.
  • Monitoring: schedule runs on your own videos and chart performance over time.
  • Datasets: enrich video URLs from other tools with full stats.

How much does it cost?

WhatPrice
Run start$0.00005 per run
Video$1.50 per 1,000 videos
Failed item (error row)$0
Proxies, API key$0, included

The Apify free plan includes $5 of monthly credit, enough for about 3,000 videos. Set a maximum cost per run in Apify Console and the run stops cleanly at that budget.

How to scrape TikTok videos

  1. Click Try for free.
  2. Paste the video URLs or IDs.
  3. Click Start, then download your data as JSON, CSV, Excel or HTML.

Input

{
"videos": [
"https://www.tiktok.com/@scout2015/video/6718335390845095173"
]
}

Output example

Real item from a test run (signed image URLs shortened):

{
"id": "6718335390845095173",
"url": "https://www.tiktok.com/@scout2015/video/6718335390845095173",
"description": "Scramble up ur name & I’ll try to guess it😍❤️ #foryoupage #petsoftiktok #aesthetic",
"createdAt": "2019-07-27T13:32:38Z",
"author": "scout2015",
"authorName": "Scout, Suki & Stella",
"authorId": "53279706535428096",
"duration": 10,
"cover": "https://p16-common-sign.tiktokcdn-eu.com/tos-maliva-p-0068/2367c7d45cf54a1397abd0e72bf22eac~tplv-tiktokx-origin.image?…",
"views": 160000,
"likes": 35200,
"comments": 5499,
"shares": 1526,
"saves": 651,
"hashtags": [
"foryoupage",
"PetsOfTikTok",
"aesthetic",
"bonevoyage"
],
"musicId": "6689804660171082501",
"musicTitle": "original sound",
"musicAuthor": "tiff",
"isAd": false,
"aiGenerated": false,
"location": "US",
"language": "en"
}

Use it from AI agents (MCP)

This Actor is available as a tool through the Apify MCP server, so Claude, Cursor, ChatGPT or any MCP client can call it directly.

  • MCP server URL: https://mcp.apify.com/?actors=api_harbor/tiktok-video-scraper
  • Token: Apify Console > Settings > Integrations (your Apify API token)

Claude Desktop (claude_desktop_config.json):

{
"mcpServers": {
"apify": {
"url": "https://mcp.apify.com/?actors=api_harbor/tiktok-video-scraper",
"headers": { "Authorization": "Bearer <APIFY_TOKEN>" }
}
}
}

Claude Code:

$claude mcp add --transport http apify "https://mcp.apify.com/?actors=api_harbor/tiktok-video-scraper" --header "Authorization: Bearer <APIFY_TOKEN>"

Cursor (.cursor/mcp.json) or VS Code (.vscode/mcp.json, use "servers" instead of "mcpServers"): same JSON as Claude Desktop.

Example prompts:

  • "Get the stats of these 10 TikTok videos and rank them by engagement rate."
  • "Which sounds and hashtags do these viral videos use?"
  • "Track the views of my sponsored TikTok video every day this week."

Use it from Python (TikTok API alternative)

$pip install apify-client
from apify_client import ApifyClient
client = ApifyClient("<APIFY_TOKEN>")
run = client.actor("api_harbor/tiktok-video-scraper").call(run_input={"videos": ["https://www.tiktok.com/@scout2015/video/6718335390845095173"]})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
if item.get("error"):
print("failed:", item.get("input"), item["error"]) # not charged
continue
print(item)

Fast cache and structured errors

  • Cache: identical inputs are served from cache, so repeated requests come back in seconds.
  • Structured errors: an item that cannot be fetched is returned as a row with an error field (and the failed input). These rows are never charged, and your agent or pipeline can branch on them without parsing logs.

FAQ

Do I need a TikTok account or an API key? No. No login, no cookies, no API key. Nothing to configure.

Does it download the video file? No. It returns metadata and statistics only. The cover image URL is included.

Is it legal to scrape TikTok? This Actor only reads public data. It contains personal data such as usernames, so you are responsible for complying with GDPR, your local laws and TikTok's terms for your use case.

Is there a TikTok video API? Yes: this Actor is one. Call it through the Apify REST API (POST https://api.apify.com/v2/acts/api_harbor~tiktok-video-scraper/run-sync-get-dataset-items), the Python or JavaScript client, or MCP.

Can I use it from Python? Yes. See the Python example above with apify-client.

Can I schedule runs? Yes. Create a schedule in Apify Console (for example daily). Each run writes a new dataset you can export or send to a webhook.

Does it work with Make, Zapier or n8n? Yes. Use the official Apify integrations for Make, Zapier and n8n, or call the REST API from any HTTP node.

Can AI agents use it through MCP? Yes. Add https://mcp.apify.com/?actors=api_harbor/tiktok-video-scraper to Claude Desktop, Claude Code, Cursor, VS Code or any MCP client with your Apify token. See the MCP section above.

Something is missing or broken? Open an issue in the Issues tab.