![🏯 Instagram Location Scraper (Pay Per Result) avatar](https://images.apifyusercontent.com/K4ForkmPW7jdKG1rFWTjMCsryyn2RXJ9peC2qMCneZs/rs:fill:92:92/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMudXMtZWFzdC0xLmFtYXpvbmF3cy5jb20vS0dYZkFycWMxNDBzc0JmbDAvNm4zOEprMGptZjhyTFFXQ2ktMTE4NTQxLWxvZ28taW5zdGFncmFtLXBuZy1kb3dubG9hZC1mcmVlLnBuZw.webp)
🏯 Instagram Location Scraper (Pay Per Result)
Try for free
Pay $0.50 for 1,000 posts
View all Actors![🏯 Instagram Location Scraper (Pay Per Result)](https://images.apifyusercontent.com/K4ForkmPW7jdKG1rFWTjMCsryyn2RXJ9peC2qMCneZs/rs:fill:92:92/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMudXMtZWFzdC0xLmFtYXpvbmF3cy5jb20vS0dYZkFycWMxNDBzc0JmbDAvNm4zOEprMGptZjhyTFFXQ2ktMTE4NTQxLWxvZ28taW5zdGFncmFtLXBuZy1kb3dubG9hZC1mcmVlLnBuZw.webp)
![🏯 Instagram Location Scraper (Pay Per Result)](https://images.apifyusercontent.com/K4ForkmPW7jdKG1rFWTjMCsryyn2RXJ9peC2qMCneZs/rs:fill:92:92/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMudXMtZWFzdC0xLmFtYXpvbmF3cy5jb20vS0dYZkFycWMxNDBzc0JmbDAvNm4zOEprMGptZjhyTFFXQ2ktMTE4NTQxLWxvZ28taW5zdGFncmFtLXBuZy1kb3dubG9hZC1mcmVlLnBuZw.webp)
🏯 Instagram Location Scraper (Pay Per Result)
apidojo/instagram-location-scraper
Try for free
Pay $0.50 for 1,000 posts
Instagram Location Scraper, your premier solution for harvesting data from locations on Instagram. It offers remarkable value at just $0.50 per 1000 posts, with the capability to scrape between 100-200 posts per second!
The code examples below show how to run the Actor and get its results. To run the code, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token, which you can find under Settings > Integrations in Apify Console. Learn more
1from apify_client import ApifyClient
2
3# Initialize the ApifyClient with your Apify API token
4client = ApifyClient("<YOUR_API_TOKEN>")
5
6# Prepare the Actor input
7run_input = {
8 "startUrls": ["https://www.instagram.com/explore/locations/213131048/berlin-germany/"],
9 "locationIds": ["213385402"],
10 "maxItems": 1000,
11 "customMapFunction": "(object) => { return {...object} }",
12}
13
14# Run the Actor and wait for it to finish
15run = client.actor("apidojo/instagram-location-scraper").call(run_input=run_input)
16
17# Fetch and print Actor results from the run's dataset (if there are any)
18print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
19for item in client.dataset(run["defaultDatasetId"]).iterate_items():
20 print(item)
21
22# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start
Developer
Maintained by Community
Actor metrics
- 37 monthly users
- 3 stars
- 97.7% runs succeeded
- Created in Mar 2024
- Modified about 12 hours ago
Categories