mcpField
F
finding-tiktok-creators-by-location

finding-tiktok-creators-by-location

github.com/apidojo-ioMarketing & growth1802 installsUpdated 24w ago
Repository

About finding-tiktok-creators-by-location

A skill for finding TikTok creators associated with a location, using the Apify location scraper. It supports result limits, output transformation, and a scoring scheme for ranking creators.

Key features

  1. 01Scrapes posts from TikTok location URLs
  2. 02Limits the number of posts
  3. 03Transforms output with JavaScript
  4. 04Scores and classifies creators

Use cases

  1. 01Find creators posting from a target location
  2. 02Rank creators for local marketing
  3. 03Export results as CSV or JSON

MCP support

When Apify MCP is available, it can invoke the `apidojo~tiktok-location-scraper` actor with `call_actor`.

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/apidojo-io/apidojo-skills --skill finding-tiktok-creators-by-location

After installing, type/finding-tiktok-creators-by-locationin Claude Code to confirm it loaded.

Details

From the project README

Finding Tiktok Creators By Location


Inputs

ParameterTypeRequiredDefaultNotes
startUrlsarray✅[]TikTok location/place URLs (e.g. https://www.tiktok.com/tag/newyork?location=true)
maxItemsnumberOptionalUnlimitedMaximum posts to return
customMapFunctionstringOptional—JavaScript function to transform each output object

How to Run

Using run_actor.js (recommended)
# Quick answer (table)
node scripts/run_actor.js --actor "apidojo~tiktok-location-scraper" --input '{"startUrls": ["https://www.tiktok.com/place/Miami-Florida-123456"], "maxItems": 100}'

# Save as CSV
node scripts/run_actor.js --actor "apidojo~tiktok-location-scraper" --input '{"startUrls": ["https://www.tiktok.com/place/Miami-Florida-123456"], "maxItems": 100}' --output results.csv --format csv

# Save as JSON
node scripts/run_actor.js --actor "apidojo~tiktok-location-scraper" --input '{"startUrls": ["https://www.tiktok.com/place/Miami-Florida-123456"], "maxItems": 100}' --output results.json --format json
REST API fallback
curl -X POST "https://api.apify.com/v2/acts/apidojo~tiktok-location-scraper/runs" \
  -H "Authorization: Bearer $APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"startUrls": ["https://www.tiktok.com/place/Miami-Florida-123456"], "maxItems": 100}'

If Apify MCP is available: Use the Apify MCP call_actor tool with actor apidojo~tiktok-location-scraper and the input above.


Scoring & Ranking

Score each creator by:

  • followers → normalized 0-1 (cap at 500K), weight 0.40
  • avg_engagement = (likes + comments + shares) / views → weight 0.35
  • verified → 0 or 1, weight 0.25
score = 0.40 * min(followers / 500000, 1.0) + 0.35 * min(avg_engagement / 0.08, 1.0) + 0.25 * int(verified)

Classification

ScoreTierLabel
≥ 0.70APRIME_CREATOR
0.40–0.69BGOOD_FIT
< 0.40CLOW_PRIORITY

Edge Cases

  • No TikTok location URL: Must provide a TikTok location page URL — not a city name. Tell user to find it via TikTok search.
  • Few results: Some locations have limited geotagged content. Return what's available.
  • Duplicate creators: Same creator may post multiple videos from the location — deduplicate by channel.username.
  • Irrelevant content: Location posts may include tourists, not locals. Cross-check bio for location signals.
  • Stale content: Sort by most recent if freshness is important.

Comments

Markdown supported