
Instagram API Scraper
apify/instagram-api-scraper
Scrape and download Instagram posts, profiles, places, hashtags, photos without login. Supports search keywords and URL lists. Download your data as HTML table, JSON, CSV, Excel, XML, and RSS feed.
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 mode
# Set API token
API_TOKEN=<YOUR_API_TOKEN>
# Prepare Actor input
cat > input.json <<'EOF'
{
"directUrls": [
"https://www.instagram.com/humansofny/"
],
"resultsType": "details",
"resultsLimit": 200,
"searchType": "hashtag",
"searchLimit": 1
}
EOF
# Run the Actor
curl "https://api.apify.com/v2/acts/apify~instagram-api-scraper/runs?token=$API_TOKEN" \
-X POST \
-d @input.json \
-H 'Content-Type: application/json'
Developer
Maintained by Apify
Actor stats
- 1.3k users
- 612.4k runs
- Modified about 13 hours ago
Categories