All platforms

Instagram API

23 endpoints for public Instagram data, from 1 credit a call. Same response format and field names as every other platform.

curl "https://scrapeio.com/v1/instagram/profile?handle=nike" \
  -H "x-api-key: YOUR_KEY"
GET/v1/instagram/profile1 credit

Instagram profile: bio, avatar, followers, following, post count, category.

ParameterTypeDescription
handlerequiredstringInstagram username, with or without @.
curl "https://scrapeio.com/v1/instagram/profile?handle=nike" \
  -H "x-api-key: YOUR_KEY"
GET/v2/instagram/user/posts5 credits

A profile's posts of every type (reels, photos, carousels), newest first, with real play counts.

ParameterTypeDescription
handlerequiredstringInstagram username, with or without @.
cursorstringCursor from the previous page's data.cursor.
curl "https://scrapeio.com/v2/instagram/user/posts?handle=nike" \
  -H "x-api-key: YOUR_KEY"
GET/v1/instagram/user/reels1 credit

A profile's reels with real play counts.

ParameterTypeDescription
handlerequiredstringInstagram username, with or without @.
cursorstringCursor from the previous page's data.cursor.
curl "https://scrapeio.com/v1/instagram/user/reels?handle=nike" \
  -H "x-api-key: YOUR_KEY"
GET/v1/instagram/post5 credits

One post or reel by URL: plays, likes, comments, caption, media URLs.

ParameterTypeDescription
urlrequiredstringInstagram post or reel URL.
curl "https://scrapeio.com/v1/instagram/post?url=..." \
  -H "x-api-key: YOUR_KEY"
GET/v2/instagram/post/comments1 credit

Comments on a post or reel.

ParameterTypeDescription
urlrequiredstringInstagram post or reel URL.
sortrecent, popularrecent pages with likes; popular returns the top 15. Default: recent.
cursorstringCursor from the previous page's data.cursor.
curl "https://scrapeio.com/v2/instagram/post/comments?url=..." \
  -H "x-api-key: YOUR_KEY"
GET/v1/instagram/post/comment/replies1 credit

Replies to one Instagram comment.

ParameterTypeDescription
urlrequiredstringInstagram post or reel URL.
comment_idrequiredstringComment id from the comments endpoint.
cursorstringCursor from the previous page's data.cursor.
curl "https://scrapeio.com/v1/instagram/post/comment/replies?url=...&comment_id=..." \
  -H "x-api-key: YOUR_KEY"
GET/v2/instagram/media/transcript5 credits

Transcript of a reel (videos under 2 minutes).

ParameterTypeDescription
urlrequiredstringInstagram reel URL.
curl "https://scrapeio.com/v2/instagram/media/transcript?url=..." \
  -H "x-api-key: YOUR_KEY"
GET/v1/instagram/search/posts1 credit

Search Instagram posts and reels by keyword.

ParameterTypeDescription
queryrequiredstringSearch text.
cursorstringCursor from the previous page's data.cursor.
curl "https://scrapeio.com/v1/instagram/search/posts?query=coffee" \
  -H "x-api-key: YOUR_KEY"
GET/v1/instagram/hashtag1 credit

Recent posts under a hashtag.

ParameterTypeDescription
hashtagrequiredstringHashtag, with or without #.
cursorstringCursor from the previous page's data.cursor.
curl "https://scrapeio.com/v1/instagram/hashtag?hashtag=travel" \
  -H "x-api-key: YOUR_KEY"
GET/v1/instagram/user/similar1 credit

Accounts Instagram suggests as similar to a profile.

ParameterTypeDescription
handlerequiredstringInstagram username, with or without @.
curl "https://scrapeio.com/v1/instagram/user/similar?handle=nike" \
  -H "x-api-key: YOUR_KEY"
GET/v1/instagram/user/highlights1 credit

A profile's story highlights: id, title, cover.

Send one of: handle, user_id.

ParameterTypeDescription
handlestringInstagram username.
user_idstringInstagram user id. Send this or handle.
curl "https://scrapeio.com/v1/instagram/user/highlights?handle=nike" \
  -H "x-api-key: YOUR_KEY"
GET/v1/instagram/user/highlight/detail1 credit

The stories inside one highlight, with image and video links.

ParameterTypeDescription
idrequiredstringHighlight id from the highlights endpoint.
curl "https://scrapeio.com/v1/instagram/user/highlight/detail?id=..." \
  -H "x-api-key: YOUR_KEY"
GET/v1/instagram/profile/post-count1 credit

How many posts a profile has.

ParameterTypeDescription
handlerequiredstringInstagram username.
curl "https://scrapeio.com/v1/instagram/profile/post-count?handle=nike" \
  -H "x-api-key: YOUR_KEY"
GET/v1/instagram/search/profiles1 credit

Search Instagram accounts by keyword.

ParameterTypeDescription
queryrequiredstringSearch text.
curl "https://scrapeio.com/v1/instagram/search/profiles?query=coffee" \
  -H "x-api-key: YOUR_KEY"
GET/v1/instagram/user/tagged-posts1 credit

Posts other accounts tagged a profile in.

Send one of: user_id, handle.

ParameterTypeDescription
user_idstringInstagram user id.
handlestringInstagram username. Send this or user_id.
cursorstringCursor from the previous page's data.cursor.
curl "https://scrapeio.com/v1/instagram/user/tagged-posts?user_id=..." \
  -H "x-api-key: YOUR_KEY"
GET/v1/instagram/search/hashtag1 credit

Recent posts under an Instagram hashtag.

ParameterTypeDescription
hashtagrequiredstringHashtag, with or without #.
cursorstringCursor from the previous page's data.cursor.
curl "https://scrapeio.com/v1/instagram/search/hashtag?hashtag=travel" \
  -H "x-api-key: YOUR_KEY"
GET/v1/instagram/audio/reels5 credits

Get Reels By Audio Id

ParameterTypeDescription
audio_idrequiredstringThe audio id from the Instagram audio page URL.
cursorstringPagination cursor returned by Instagram from the previous response.
curl "https://scrapeio.com/v1/instagram/audio/reels?audio_id=..." \
  -H "x-api-key: YOUR_KEY"
GET/v1/instagram/basic-profile5 credits

Basic Profile

ParameterTypeDescription
userIdstringInstagram user id
cache_max_age1d, 3d, 7d, 14d, 30dIf we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "ca
curl "https://scrapeio.com/v1/instagram/basic-profile" \
  -H "x-api-key: YOUR_KEY"
GET/v1/instagram/user/embed5 credits

Embed HTML

ParameterTypeDescription
handlerequiredstringInstagram handle
curl "https://scrapeio.com/v1/instagram/user/embed?handle=nike" \
  -H "x-api-key: YOUR_KEY"

Other platforms