npx skills add ...
npx skills add apidojo-io/apidojo-skills --skill scraping-instagram-location-content
Scrapes Instagram posts tagged at a specific location using apidojo's Instagram Location scraper on Apify. Triggers when the user asks to: find Instagram posts from a specific location or venue, scrape user-generated content from a restaurant, hotel, or event on Instagram, find photos tagged at a conference or festival, monitor what guests or visitors post from a location, discover content creators who visited a place, build a UGC library from a location tag, or find influencers who have been to a specific venue or city. Returns post URL, caption, author handle, likes, comments, and timestamp per location post. Ideal for hospitality brands, event marketers, and UGC content curation teams.
npx skills add apidojo-io/apidojo-skills --skill scraping-instagram-location-content
Collects all public Instagram posts tagged at a specific location — useful for gathering UGC, finding visitors who post about a venue, or discovering creators with genuine affinity for a place.
APIFY_TOKEN environment variable set| Parameter | Type | Required | Default | Notes |
|---|---|---|---|---|
startUrls | array | Optional | [] | Instagram location page URLs |
locationIds | array | Optional | [] | Instagram location IDs |
maxItems | number | Optional | Unlimited | Maximum posts to return |
until | string | Optional | — | Date filter (YYYY-MM-DD) |
customMapFunction | string | Optional | — | JavaScript function to transform each output object |
Instagram location tags use a numeric location ID, not a text name. To find it:
instagram.com/explore/locations/[LOCATION_ID]/[location-name]/LOCATION_IDAlternatively, ask the user for the full Instagram location URL and extract the ID from it.
If the user only has a name (e.g., "Eiffel Tower Paris"):
Run a brief Google search for site:instagram.com/explore/locations "[venue name]" to find the location page URL and extract the ID.
Recommended — run_actor.js (handles waiting, output, and file saving automatically):
APIFY_TOKENmust be set in environment or.envfile.
If Apify MCP is available:
REST API fallback:
Wait for SUCCEEDED. Fetch results.
From dataset, extract per post:
url — link to the postcaption — post textownerUsername — creator's handlelikesCount — post likescommentsCount — post commentstimestamp — when postedisVideo — true/false (Reels vs. photo)Filter options (ask user which apply):
Rank posts by likes + comments. Identify the top 10 posts for potential repost/feature.
For creators with multiple posts at the location, they're genuine fans — flag these for influencer outreach.
Calculate: unique creators vs. total posts (gives a repeat-visitor signal).
Location ID not found: Some small venues aren't indexed as Instagram locations. Try a nearby landmark or the city as a backup. Very few posts: Low-traffic venues may have limited location-tagged posts. Lower the min-likes filter. Posts from wrong location: Instagram location matching can be imprecise for similarly-named venues. Review posts manually for the top results.
Tool: apify:run-actor
Actor: "apidojo~instagram-location-scraper"
Input:
{
"locationIds": ["[LOCATION_ID]"],
"maxItems": 100
}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
}'# Instagram Location Content: [VENUE NAME]
Location ID: [ID] | Posts collected: [N] | Date: [DATE]
## Overview
Total posts at this location: [N] (based on sample)
Unique creators: [N]
Date range of posts: [oldest] – [newest]
Avg engagement per post: [N] likes + [N] comments
## Top 10 Posts (by Engagement)
| # | Creator | Likes | Comments | Date | Type | Post URL |
|---|---------|-------|----------|------|------|----------|
| 1 | @[handle] | [N] | [N] | [date] | [Photo/Reel] | [url] |
## Top Creators at This Location
Creators who appear most frequently in location posts:
1. @[handle] — [N] posts here | [N] followers (if available)
2. @[handle] — [N] posts here
3. @[handle] — [N] posts here
## Caption Themes
Common topics in captions at this location:
- [Theme] (e.g., "date night", "anniversary") — [N] posts
- [Theme] (e.g., "work trip") — [N] posts
## Outreach Picks
Top creators whose content could be repurposed as UGC or who are strong partnership candidates:
1. @[handle] — [post URL] — "[caption excerpt]"