F
finding-tiktok-creators-by-location
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
- 01Scrapes posts from TikTok location URLs
- 02Limits the number of posts
- 03Transforms output with JavaScript
- 04Scores and classifies creators
Use cases
- 01Find creators posting from a target location
- 02Rank creators for local marketing
- 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-locationAfter installing, type/finding-tiktok-creators-by-locationin Claude Code to confirm it loaded.
Details
From the project READMEFinding Tiktok Creators By Location
Inputs
| Parameter | Type | Required | Default | Notes |
|---|---|---|---|---|
startUrls | array | ✅ | [] | TikTok location/place URLs (e.g. https://www.tiktok.com/tag/newyork?location=true) |
maxItems | number | Optional | Unlimited | Maximum posts to return |
customMapFunction | string | Optional | — | 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.40avg_engagement = (likes + comments + shares) / views→ weight 0.35verified→ 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
| Score | Tier | Label |
|---|---|---|
| ≥ 0.70 | A | PRIME_CREATOR |
| 0.40–0.69 | B | GOOD_FIT |
| < 0.40 | C | LOW_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