Sources › Social media › TikTok › Get Hashtag Info
TikTok Hashtag Info API
Statistik hashtag TikTok: jumlah video dan total view.
Request
https://api.zapi.ink/v1/social-media:tiktok-scraper/hashtag/:nameSend your key in the x-api-key header. The response is JSON in the { project, data, timestamp } envelope, and an identical request is served from cache for 1 hour.
Parameters
| Name | Type | In | Required | Description |
|---|---|---|---|---|
| name | string | path | Yes | Hashtag name (with or without #) or a full TikTok tag URL Example: fyp |
Code examples
curl -X GET "https://api.zapi.ink/v1/social-media:tiktok-scraper/hashtag/fyp" \ -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
const res = await fetch("https://api.zapi.ink/v1/social-media:tiktok-scraper/hashtag/fyp", { method: "GET", headers: { "x-api-key": "zpi_xxxxxxxxxxxxxxxxxxxxxxxx" }, }); const data = await res.json(); console.log(data);
import requests res = requests.get( "https://api.zapi.ink/v1/social-media:tiktok-scraper/hashtag/fyp", headers={"x-api-key":"zpi_xxxxxxxxxxxxxxxxxxxxxxxx"}, ) print(res.json())
Example response
{ "project": "social-media:tiktok-scraper", "data": { "url": "https://www.tiktok.com/tag/belajarditiktok", "hashtag": "belajarditiktok", "hashtagId": "1591477531538433", "userCount": 137054, "viewCount": 3361168284 }, "timestamp": "2026-06-13T03:11:01Z" }
Frequently asked questions
How do I call the TikTok Hashtag Info API?
Send a GET request to https://api.zapi.ink/v1/social-media:tiktok-scraper/hashtag/fyp with your Zapi key in the x-api-key header. Parameters — required: name. The response is JSON in the { project, data, timestamp } envelope.
What does the TikTok Hashtag Info API return?
Statistik hashtag TikTok: jumlah video dan total view. The example response has the fields url, hashtag, hashtagId, userCount, viewCount.
Is the TikTok Hashtag Info API free?
Yes. It is on the Zapi free tier: 600 Zap a month with one API key and no credit card. Each call costs 1 Zap. Paid plans raise the limits.
Can an AI assistant call the TikTok Hashtag Info API?
Yes. Add the Zapi MCP server (https://mcp.zapi.ink/mcp) to Claude, Cursor or another MCP client and ask in plain words; it calls run_scraper with scraper "tiktok-scraper" and endpoint "hashtag".
What other TikTok API endpoints are there?
It has 21 endpoints. Besides Get Hashtag Info: Get User Profile, Get User Posts, Get Detail Post, Get Post Comments, Get Hashtag Posts, Search Videos, and 14 more.