apidojo-io/apidojo-skills

finding-instagram-creators-by-location

Finds Instagram content creators and influencers posting from a specific location using apidojo's Instagram location scraper on Apify.

Voir la source
Document Skill original

Rendu depuis le dépôt source en conservant titres, exemples, code, tableaux, liens et images.

Finding Instagram Creators by Location

Identifies Instagram creators who actively post from a specific location — city, venue, or region. Creators with repeated location posts have genuine local presence and authentic ties to the place.

Prerequisites

  • APIFY_TOKEN environment variable set
  • Optional: Apify MCP server installed

Inputs

ParameterTypeRequiredDefaultNotes
startUrlsarrayOptional[]Instagram location page URLs
locationIdsarrayOptional[]Instagram location IDs
maxItemsnumberOptionalUnlimitedMaximum posts to return
untilstringOptionalDate filter (YYYY-MM-DD)
customMapFunctionstringOptionalJavaScript function to transform each output object

Workflow

Progress:
- [ ] Step 1: Resolve location ID
- [ ] Step 2: Run instagram-location-scraper
- [ ] Step 3: Identify repeat creators
- [ ] Step 4: Score creator quality
- [ ] Step 5: Deliver local creator list

Step 1: Resolve Location ID

Instagram uses numeric location IDs. To find the ID:

  1. Search for the location on Instagram (mobile or desktop)
  2. Open the location page — URL format: instagram.com/explore/locations/[LOCATION_ID]/[name]/
  3. Extract the numeric ID

If the user only provides a name, run a Google search: site:instagram.com/explore/locations "[LOCATION_NAME]"

Step 2: Run the Actor

Recommended — run_actor.js (handles waiting, output, and file saving automatically):

bash
# Quick answer (prints table to chat)
node scripts/run_actor.js \
  --actor "apidojo~instagram-location-scraper" \
  --input '{"param": "value"}'

# Save as CSV
node scripts/run_actor.js \
  --actor "apidojo~instagram-location-scraper" \
  --input '{"param": "value"}' \
  --output YYYY-MM-DD_results.csv --format csv

# Save as JSON
node scripts/run_actor.js \
  --actor "apidojo~instagram-location-scraper" \
  --input '{"param": "value"}' \
  --output YYYY-MM-DD_results.json --format json
APIFY_TOKEN must be set in environment or .env file.

If Apify MCP is available:

Tool: apify:run-actor
Actor: "apidojo~instagram-location-scraper"
Input:
{
  "locationIds": ["[LOCATION_ID]"],
  "maxItems": 100
}

REST API fallback:

bash
curl -X POST   "https://api.apify.com/v2/acts/apidojo~instagram-location-scraper/runs?token=$APIFY_TOKEN"   -H "Content-Type: application/json"   -d '{"locationIds": ["[LOCATION_ID]"], "maxItems": 100}'

Step 3: Score Creator Quality

From location posts, group by ownerUsername. For each creator:

local_score = min(post_count_at_location / 5, 1) * 0.30  # repeat presence
            + (avg_likes / 100) * 0.25  # engagement quality
            + (avg_comments / 10) * 0.20  # comment depth
            + (has_website ? 1 : 0) * 0.15  # professional creator signal
            + (follower_count > 1000 ? 1 : 0) * 0.10

Clamp to [0, 1]. Tier: A ≥ 0.70 | B 0.40–0.69 | C < 0.40

Step 4: Edge Cases

  • Location ID not found for small venue: Try the city or neighborhood instead; scrape and filter by caption mentioning venue name
  • Tourist accounts dominate results (one-time visitors): Filter by post_count_at_location = 1 being lower priority than repeat posters
  • Business accounts posting from location: If is_business_account = true, flag separately — these are brand accounts, not creator UGC
  • < 30 posts at location: Small or new venue — lower min_followers threshold to 500; include more results

Output Format

# Instagram Local Creators: [LOCATION_NAME]
Posts scraped: [N] | Unique creators: [N] | Repeat locals (2+ posts): [N] | Date: [DATE]

## TIER A — Established Local Creators (2+ Location Posts)
| Creator | @Handle | Location Posts | Avg Likes | Avg Comments | Content Theme | Score |
|---------|---------|---------------|-----------|--------------|---------------|-------|
| [name] | @[handle] | [N] | [N] | [N] | [food/lifestyle/travel] | [0.XX] |

## TIER B — Active Local Voices
| Creator | @Handle | Location Posts | Avg Likes | Last Post |
|---------|---------|---------------|-----------|----------|

## Niche Breakdown at [LOCATION]
| Content Theme | # Posts | Top Creator |
|--------------|---------|------------|
| [food] | [N] | @[handle] |
| [travel] | [N] | @[handle] |

Troubleshooting

Very few results for city: City-level location IDs return general "in [city]" tags. Look for neighborhood or landmark IDs for denser results. Results are mostly tourist accounts: Focus on the post_count_at_location >= 3 tier — locals post from the same location repeatedly. Wrong city matches location name: Some city names are duplicated globally. Verify the location page on Instagram before running.

du même dépôt

Autres Skills

Tous les Skills
apidojo-io
Communauté

finding-tiktok-creators-using-trending-sounds

Finds TikTok creators using trending sounds or viral audio tracks using apidojo's TikTok Music Scraper on Apify. Triggers when the user asks to: find creators using a specific TikTok sound, discover influencers using a trending audio clip, identify creators participating in a sound-based trend, find TikTok accounts using a viral music track, build a list of creators who made content with a specific sound, or find early adopters of a trending TikTok audio for brand placement. Returns creator username, follower count, views, likes, hashtags, and song metadata per post. Ideal for music labels, brand trend spotters, and influencer marketing teams.

installations
2
GitHub Stars
0
Mis à jour
13 mai
apidojo-io
Communauté

scraping-google-search-results

Scrapes Google search results for any query using apidojo's Google Search scraper on Apify. Triggers when the user asks to: get Google search results for a keyword, scrape SERP data for a query, export Google results to a dataset, fetch URLs and snippets from Google for a search term, get all results from a Google search, or collect Google SERP data for multiple keywords. Returns URL, title, snippet, position, and SERP feature type per result. Ideal for SEO analysts, researchers, journalists, and competitive intelligence teams.

installations
2
GitHub Stars
0
Mis à jour
13 mai
apidojo-io
Communauté

building-journalist-outreach-list-from-twitter

Builds targeted journalist and media contact lists from Twitter/X using apidojo's Twitter scrapers on Apify. Triggers when the user asks to: find journalists covering a specific beat or topic on Twitter, build a media outreach list from Twitter, identify reporters writing about an industry, find editors or writers at specific publications on X, create a PR contact list from Twitter, discover freelance journalists in a niche, or compile a list of media contacts for a press release or story pitch. Returns name, handle, publication affiliation from bio, follower count, and recent article topics. Ideal for PR agencies, startup communications teams, and founders doing press outreach.

installations
2
GitHub Stars
0
Mis à jour
13 mai
apidojo-io
Communauté

discovering-pre-launch-startups-on-twitter

Discovers pre-launch startups and products on Twitter using apidojo's Twitter Search scraper. Triggers when the user asks to: find pre-launch startups on Twitter, discover companies building in stealth mode on X, find products in beta or waitlist mode on Twitter, identify early-stage startups before they launch publicly, find founders building in public before launch, discover startup waitlists or beta invites on Twitter, or research what new companies are building in a space. Returns startup handle, product description, waitlist/launch signals, stage, and niche. Ideal for VCs scouting early deals, accelerator scouts, and competitive intelligence teams.

installations
1
GitHub Stars
0
Mis à jour
13 mai