Sourcelane

TikTok Hashtag Analytics

TikTok

Operated by Sourcelane✓ verified

Get total views and video counts for TikTok hashtags in bulk, plus engagement, top creators, top sounds and related hashtags from each tag's top videos.

Guide: TikTok trending hashtags API →

Read full description

A TikTok-focused hashtag analytics connector that measures hashtag reach and content performance by extracting lifetime views and video counts, sampling top hashtag videos to compute audience and engagement metrics, and producing per-hashtag metadata and signals for hashtag selection and comparison. The connector analyzes hashtag pages to collect hashtag metadata (identifier, title, description, cover image, branded-hashtag flag, page URL), lifetime size metrics (total views, total videos, average views per video), sampled top-video performance (average and median views, average likes/comments/shares/saves, engagement rate), format signals (average video length, share of top videos using original sound), freshness indicators (date of newest top video and count of recent top videos), top creators by views, top sounds, and related hashtags inferred from co-occurrence in top videos. It can optionally return a list of top videos with each item’s URL, caption, creator, date, duration, per-video stats, engagement rate, and sound, and supports side-by-side comparison of multiple hashtags. The connector determines "top videos" using the videos TikTok surfaces first on a hashtag page (popularity-ranked, excluding ads).

Verified Oct 25, 10:11 PM

$0.005

per hashtag

Up to 100 per call. Only pay for results returned; failed calls are refunded.

What people use it for

You give it

  • Hashtagsrequired

    Hashtags to analyze, one per line, with or without #.

Optional settings

Top videos to analyze per hashtagInclude the top videos list

You get back

Numbers & stats
Total viewsSample median views
Links & media
Total videosAvg views per videoSample videos last30 days
Other details
HashtagSample engagement rate

Trust & reliability

7d uptime trend
WindowUptimeSuccess ratep50p95Calls
24h————0
7d————0
30d————0

Calling contract

Call it through Sourcelane's gateway or MCP server. We run the connector, apply your agent's spend guardrails, and bill only the results returned.

Call it via Sourcelane

curl -X POST https://api.usesourcelane.com/v1/call \
  -H "Authorization: Bearer sl_live_your_agent_key" \
  -H "Content-Type: application/json" \
  -d '{"listing":"tiktok-hashtag-analytics","params":{"hashtags":["booktok","skincare","fyp"]},"maxResults":10}'

Request params

FieldTypeRequiredDescription
hashtagsarrayrequiredHashtags to analyze, one per line (up to 500 per run), with or without #. Hashtag page URLs (tiktok.com/tag/...) work too.
topVideosintegeroptionalHow many of the hashtag's top videos to analyze for engagement, creators, sounds and related hashtags (0-120). 0 = lifetime views and video count only.
includeVideoListbooleanoptionalAdd a topVideos array to each row with every analyzed video's URL, caption, creator, date, duration, views, likes, comments, shares, saves, engagement rate and sound. Same price.

Each result contains

FieldTypeDescription
hashtaganyHashtag
totalViewsanyTotal views
totalVideosanyVideos
avgViewsPerVideoanyAvg views / video
sampleMedianViewsanyMedian views (top)
sampleEngagementRateanyER (%)
sampleVideosLast30DaysanyTop videos last 30d
statusanyStatus

Use TikTok Hashtag Analytics from Claude, ChatGPT or Cursor

Pick your tool and connect in under a minute. Then just ask — for example: “What are the top 25 TikTok videos for 'protein coffee' this week, and what hooks do they use?”

Connect Claude

Web, desktop and mobile. One click, then confirm.

  1. 1Click Add to Claude — claude.ai opens with Sourcelane filled in
  2. 2Click Continue to confirm — it then works in Claude desktop and mobile too
Manual setup (config files, REST, Python) +

Claude Code

Adds the Sourcelane MCP server with your key as a header.

terminal
claude mcp add --transport http sourcelane https://api.usesourcelane.com/mcp \
  --header "Authorization: Bearer sl_live_your_agent_key"

Claude Desktop (config file)

Alternative to the connector URL: add to claude_desktop_config.json, then restart Claude.

claude_desktop_config.json
{
  "mcpServers": {
    "sourcelane": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://api.usesourcelane.com/mcp",
        "--header",
        "Authorization:${AUTH_HEADER}"
      ],
      "env": {
        "AUTH_HEADER": "Bearer sl_live_your_agent_key"
      }
    }
  }
}

Cursor & Windsurf

Add to ~/.cursor/mcp.json (or Windsurf's mcp_config.json).

mcp.json
{
  "mcpServers": {
    "sourcelane": {
      "url": "https://api.usesourcelane.com/mcp",
      "headers": {
        "Authorization": "Bearer sl_live_your_agent_key"
      }
    }
  }
}

VS Code

Save as .vscode/mcp.json. VS Code prompts for your key once.

.vscode/mcp.json
{
  "servers": {
    "sourcelane": {
      "type": "http",
      "url": "https://api.usesourcelane.com/mcp",
      "headers": {
        "Authorization": "Bearer ${input:sourcelane-key}"
      }
    }
  },
  "inputs": [
    {
      "type": "promptString",
      "id": "sourcelane-key",
      "description": "Sourcelane agent key",
      "password": true
    }
  ]
}

ChatGPT Custom GPT (Actions)

Create a GPT → Actions → Import from URL, then Authentication: API Key, Bearer.

OpenAPI schema URL
https://usesourcelane.com/openapi.json

REST

One POST. Pass maxResults to cap cost.

curl
curl -X POST https://api.usesourcelane.com/v1/call \
  -H "Authorization: Bearer sl_live_your_agent_key" \
  -H "Content-Type: application/json" \
  -d '{"listing":"tiktok-hashtag-analytics","params":{"hashtags":["booktok","skincare","fyp"]},"maxResults":10}'

Python, LangChain, CrewAI, OpenAI Agents SDK…

Wrap the REST call as a tool, or point an MCP client at the endpoint.

python
import requests

res = requests.post(
    "https://api.usesourcelane.com/v1/call",
    headers={"Authorization": "Bearer sl_live_your_agent_key"},
    json={
        "listing": "tiktok-hashtag-analytics",
        "params": {"hashtags":["booktok","skincare","fyp"]},
        "maxResults": 10,
    },
    timeout=300,
)
body = res.json()
print(body["receipt"]["chargedMicros"], "micro-USD for", body["receipt"]["results"], "results")
print(body["data"])

Reviews

—

0 reviews

5
0
4
0
3
0
2
0
1
0

Leave a review

Loading reviews…

Related TikTok connectors

See all TikTok data connectors →

Guides that use this connector