Instagram · 32 endpoints

The Instagram scraper API for public data

Profiles, followers and following lists, posts, reels, stories, highlights, comments, likers, hashtags, locations, audio and search. No logins, no Meta app review. 1 credit per successful call.

  • 32 endpoints
  • 1 credit per successful call
  • $0.83–$1.45 per 1,000
  • 10–30 req/s

One profile, one call

Pass a handle, get the profile back with counts, bio, links and category. Same envelope as every other endpoint.

  • Works with any public handle or profile URL
  • Numeric IDs included, for joins and follow-up calls
  • Official Python and Node SDKs, or curl and any HTTP client
GET /v1/users/by-username/natgeo
{
  "data": {
    "id": "787132",
    "username": "natgeo",
    "full_name": "National Geographic",
    "is_private": false,
    "is_verified": true,
    "profile_pic_url": "https://scontent.cdninstagram.com/…",
    "biography": "Experience the world through the eyes of our photographers.",
    "external_url": "https://www.nationalgeographic.com",
    "category": "Media/news company",
    "is_business": true,
    "profile_pic_url_hd": "https://scontent.cdninstagram.com/…",
    "counts": {
      "followers": 280000000,
      "following": 160,
      "posts": 30500
    }
  },
  "meta": {
    "request_id": "req_Zt0q…",
    "cached": true,
    "cache_age_seconds": 141,
    "credits_charged": 0.5,
    "credits_remaining": 26948.5
  }
}
Example values.

Every Instagram endpoint

All endpoints cost 1 credit per successful call; a handle we have not looked up in 7 days adds 1. Lists take a cursor for the next page. Full parameters in the docs.

32 endpoints

Profiles5 endpoints

  • GET/v1/users/by-username/{username}
    in: username
    Profile by username
    Name, bio, avatar, follower/following/post counts, verified, business category
  • GET/v1/users/by-id/{id}
    in: numeric id
    Profile by user ID
    Same profile, looked up by numeric ID
  • GET/v1/users/{user}
    in: username or id
    Profile by username or ID
    Same profile; send whichever you have
  • GET/v1/users/{user}/account-details
    in: username or id
    Account details
    When the account joined, its country and past username changes
  • GET/v1/users/{user}/related
    in: username or id, cursor
    Similar accounts
    Accounts similar to this one

Followers & following2 endpoints

  • GET/v1/users/{user}/followers
    in: username or id, cursor
    Followers
    One page of followers, newest first, with a cursor
  • GET/v1/users/{user}/following
    in: username or id, cursor
    Following
    One page of accounts the profile follows, newest first

Posts & reels6 endpoints

  • GET/v1/users/{user}/posts
    in: username or id, cursor
    Posts
    Recent posts with captions, media URLs, likes, comments
  • GET/v1/users/{user}/reels
    in: username or id, sort, cursor
    Reels
    Reels, newest first or most viewed
  • GET/v1/users/{user}/tagged
    in: username or id, cursor
    Tagged posts
    Posts the account is tagged in
  • GET/v1/users/{user}/reposts
    in: username or id, cursor
    Reposts
    Posts the account reposted
  • GET/v1/posts/{post}
    in: shortcode, id or URL
    Post or reel
    One post: media, caption, counts, owner, location
  • GET/v1/posts/stats
    in: ids (up to 20)
    Post stats (batch)
    Like, comment and view counts for up to 20 posts in one call

Comments & likes4 endpoints

  • GET/v1/posts/{post}/comments
    in: post, sort, cursor
    Comments
    Comments on a post, with author and like count
  • GET/v1/comments/{comment}/replies
    in: comment id, post, cursor
    Comment replies
    Replies to one comment
  • GET/v1/posts/{post}/likers
    in: post, cursor
    Post likers
    Accounts that liked a post
  • GET/v1/comments/{comment}/likers
    in: comment id, cursor
    Comment likers
    Accounts that liked a comment

Stories & highlights4 endpoints

  • GET/v1/users/{user}/stories
    in: username or id
    Stories
    Live stories from the last 24 hours
  • GET/v1/stories/{story}
    in: story id
    Story
    One story by ID
  • GET/v1/users/{user}/highlights
    in: username or id
    Highlights
    Story highlights on the profile
  • GET/v1/highlights/{highlight}
    in: highlight id, cursor
    Highlight stories
    Every story inside one highlight

Hashtags3 endpoints

  • GET/v1/search/hashtags
    in: q
    Search hashtags
    Matching hashtags
  • GET/v1/hashtags/{tag}
    in: tag
    Hashtag
    A hashtag and its post count
  • GET/v1/hashtags/{tag}/posts
    in: tag, cursor
    Hashtag posts
    Top posts for a hashtag

Locations3 endpoints

  • GET/v1/search/places
    in: q or lat/lng
    Search places
    Places by name or near a point
  • GET/v1/places/{place}
    in: place id
    Place
    Name, category, address, contact
  • GET/v1/places/{place}/posts
    in: place id, sort, cursor
    Place posts
    Top or recent posts tagged at a place

Audio4 endpoints

  • GET/v1/search/audio
    in: q
    Search audio
    Songs and original audio
  • GET/v1/audio/trending
    in: cursor
    Trending audio
    Trending audio on Reels
  • GET/v1/audio/{audio}
    in: audio id
    Audio
    A song or original audio
  • GET/v1/audio/{audio}/reels
    in: audio id, cursor
    Reels using audio
    Reels that use an audio

Followers and following lists, billed per page

Per-row vendors bill every follower on a page. We bill one credit for the page. For follower lists, that is the biggest price difference in this market.

  • Cursor-based paging, resume any time
  • Handle, ID, name, verified and private flags per row
  • Public profiles only
curl "https://api.handlehaul.com/v1/users/natgeo/followers" \
  -H "X-Api-Key: $HANDLEHAUL_API_KEY"
Responseapplication/json
{
  "data": [
    {
      "position": 1,
      "id": "6860189",
      "username": "new_follower",
      "full_name": "New Follower",
      "is_private": false,
      "is_verified": false,
      "profile_pic_url": "https://scontent.cdninstagram.com/…"
    },
    {
      "position": 2,
      "id": "3141592",
      "username": "coffee.place",
      "full_name": "Coffee Place",
      "is_private": false,
      "is_verified": false,
      "profile_pic_url": "https://scontent.cdninstagram.com/…"
    }
  ],
  "pagination": {
    "next_cursor": "kJx1…opaque…Qw",
    "has_more": true,
    "page_size": 25
  },
  "meta": {
    "request_id": "req_…",
    "order": "newest_first",
    "list_hidden": false,
    "cached": false,
    "cache_age_seconds": 0,
    "credits_charged": 1,
    "credits_remaining": 26947.5
  }
}

Instagram API questions

Is this the official Instagram API?
No. HandleHaul is an independent API for public Instagram data. It does not need a Meta app review, a business account or user logins. Meta’s Graph API only covers accounts that authorize your app.
Can I get followers and following lists?
Yes, for public profiles. Each call returns one page plus a cursor for the next page, and each page is 1 credit however many rows it holds.
Do you support private accounts?
No. Only public profiles, posts and stories. A private profile returns an error and the call is free.
Python or Node SDK?
Both, official and free: pip install handlehaul (sync and async) and npm install handlehaul (TypeScript types, plus the handlehaul CLI). Both read your key from HANDLEHAUL_API_KEY; see the SDK tabs above, or the source for Python and Node. Any other HTTP client works too.
How much does an Instagram call cost?
1 credit per successful call, the same as every endpoint (a handle we have not looked up in 7 days adds 1 lookup credit; send the numeric id to skip it): $1.45 to $0.83 per 1,000 calls depending on pack. Cache hits and failed calls are free.

Start pulling Instagram data

$29 for 20,000 calls. Credits never expire. TikTok included on the same key.

Want to test first? Sandbox keys are free and unlimited, with sample data in the live schema.