Extract public Instagram data — profiles, posts, reels, hashtags, and comments — with simple REST API calls. No browser automation, no maintenance, no headaches.
Get Free API Key →GramScraper is an Instagram-specific extraction API. Sign up, get your API key, and start making requests. Every response returns clean JSON with the data you need.
# Get Instagram profile data curl -H 'Authorization: Bearer gs_your_api_key' \ 'https://gramscraper.com/api/instagram/v1/user/by/username?username=instagram'
import requests url = "https://gramscraper.com/api/instagram/v1/user/by/username" headers = {"Authorization": "Bearer gs_your_api_key"} params = {"username": "instagram"} response = requests.get(url, headers=headers, params=params) data = response.json() print(f"Followers: {data['follower_count']}") print(f"Posts: {data['media_count']}")
const response = await fetch( 'https://gramscraper.com/api/instagram/v1/user/by/username?username=instagram', { headers: { 'Authorization': 'Bearer gs_your_api_key' } } ); const data = await response.json(); console.log(`Followers: ${data.follower_count}`); console.log(`Posts: ${data.media_count}`);
GramScraper covers the Instagram data points developers need most:
GET /v1/user/by/username
Bio, follower count, post count, profile picture, verification status, and more.
GET /v1/user/medias/by/username
Recent posts with captions, likes, comments, media URLs, and timestamps.
GET /v1/user/reels/by/username
User's reels with view counts, likes, and video URLs.
GET /v2/media/comments
Post comments with usernames, timestamps, and like counts.
GET /v1/search/hashtags
Search hashtags and get top posts for any hashtag.
GET /v2/media/info/by/url
Get detailed info for any Instagram post, reel, or story by URL.
An Instagram scraping API lets you programmatically extract public Instagram data — profiles, posts, reels, hashtags, and comments — via simple HTTP requests, without building or maintaining your own scraper.
No. GramScraper handles the infrastructure. You make API calls and get structured JSON back. No proxies, no browsers, no maintenance.
Public profiles, posts, reels, stories, highlights, tagged posts, hashtag data, comments, and location-based content. Only publicly available information is accessible.
Start with 100 free credits (no credit card required). Paid packs start at $29 for 15,400 credits. Credits never expire — use them whenever you need.
100 free credits. No credit card required. Get your API key in 30 seconds.
Get Free API Key →