Instagram API by APISH avatar

Instagram API by APISH

Pricing

$4.00 / 1,000 credits

Go to Apify Store
Instagram API by APISH

Instagram API by APISH

Instagram data as clean JSON via APISH: Comments on an Instagram post, Stories inside an Instagram highlight, Instagram location and 18 more endpoints. Pay per credit; failed calls are free.

Pricing

$4.00 / 1,000 credits

Rating

0.0

(0)

Developer

APISH

APISH

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

3 days ago

Last modified

Categories

Share

Get public Instagram data as clean, consistent JSON: comments on an Instagram post, stories inside an Instagram highlight, instagram location, one Instagram post, instagram post or reel (media URLs, counts, music, tags), instagram embed card and more. 21 endpoints, one response shape, numbers parsed, absolute URLs.

How to use

  1. Pick an Endpoint. Each option shows what it returns and its price in credits.
  2. Enter its Parameters as JSON, for example {"url":"https://www.instagram.com/p/DeewiSPpCrm/"}. All parameters are listed below.
  3. Run. Each call becomes one row in the dataset. Use Batch to run the same endpoint for many inputs and Pages per input to follow pagination.

Pricing

Pay per event: you pay per APISH credit the call used. The price of each endpoint is in the table below. Calls that fail on our side (server errors, timeouts, blocks) are free.

Endpoints

EndpointReturnsRequired parametersCredits
/instagram/v1/commentsComments on an Instagram posturl1
/instagram/v1/highlightStories inside an Instagram highlightid1
/instagram/v1/locationInstagram locationid1
/instagram/v1/postOne Instagram posturl1
/instagram/v1/post/detailsInstagram post or reel (media URLs, counts, music, tags)url1
/instagram/v1/post/embedInstagram embed cardurl1
/instagram/v1/post/tagged-usersAccounts tagged in an Instagram posturl1
/instagram/v1/post/transcriptInstagram reel transcripturl1
/instagram/v1/reels/audioReels using a soundid1
/instagram/v1/reels/trendingTrending Instagram reels—1
/instagram/v1/searchSearch Instagram posts and reelsq1
/instagram/v1/search/hashtagTop Instagram posts for a hashtagq1
/instagram/v1/search/profilesSearch Instagram accountsq1
/instagram/v1/search/reelsSearch Instagram reelsq1
/instagram/v1/trendingTrending topics on Instagram—1
/instagram/v1/userInstagram profileusername1
/instagram/v1/user/basicInstagram profile (light)username1
/instagram/v1/user/highlightsInstagram story highlightsusername1
/instagram/v1/user/post-countInstagram post and reel countsusername1
/instagram/v1/user/postsInstagram user postsusername1
/instagram/v1/user/reelsInstagram user reels (plays, likes, comments)username1

Output

Each dataset row has endpoint, params, status, credits_used and the endpoint's data. Add "raw": 1 to the parameters to also get the site's original record, or "fields": "a,b.c" to return only the fields you need.

Endpoint details

Comments on an Instagram post

Endpoint /instagram/v1/comments · 1 credit per successful call.

Pagination: pass the cursor from next_cursor on the previous response; next_cursor is null on the last page.

Parameters:

  • url (required)
  • cursor: Value of next_cursor from the previous page.

Example parameters: {"url":"https://www.instagram.com/p/DeewiSPpCrm/"}

Stories inside an Instagram highlight

Endpoint /instagram/v1/highlight · 1 credit per successful call.

Parameters:

  • id (required): Highlight ID or URL.

Example parameters: {"id":"18195781759377100"}

Instagram location

Endpoint /instagram/v1/location · 1 credit per successful call.

An Instagram location page as shown logged out: name, category, coordinates, address, city, zip, phone, price range, the number of posts tagged there, and its top posts (about 15, with caption, media, likes and comments). Logged out, Instagram refuses further pages, so next_cursor is always null.

Parameters:

  • id (required): Location id, or a instagram.com/explore/locations/
  • url: Location page URL (instead of id).

Example parameters: {"id":"212988663"}

One Instagram post

Endpoint /instagram/v1/post · 1 credit per successful call.

Parameters:

  • url (required): Post URL or shortcode.

Example parameters: {"url":"https://www.instagram.com/p/DeewiSPpCrm/"}

Instagram post or reel (media URLs, counts, music, tags)

Endpoint /instagram/v1/post/details · 1 credit per successful call.

Parameters:

  • url (required)

Example parameters: {"url":"https://www.instagram.com/reel/DeTUk4sDSp-/"}

Instagram embed card

Endpoint /instagram/v1/post/embed · 1 credit per successful call.

Parameters:

  • url (required)

Example parameters: {"url":"https://www.instagram.com/p/DeAYvsnn4la/"}

Accounts tagged in an Instagram post

Endpoint /instagram/v1/post/tagged-users · 1 credit per successful call.

People tagged in the post: one entry per person in tagged_users, and every tag with its position and carousel slide in tags.

Parameters:

  • url (required)

Example parameters: {"url":"https://www.instagram.com/p/DeM-xDCA2W5/"}

Instagram reel transcript

Endpoint /instagram/v1/post/transcript · 1 credit per successful call.

Speech-to-text on the reel audio.

Parameters:

  • url (required)

Example parameters: {"url":"https://www.instagram.com/reel/DeTUk4sDSp-/"}

Reels using a sound

Endpoint /instagram/v1/reels/audio · 1 credit per successful call.

Parameters:

  • id (required): Audio ID (music.audio_id from post details) or /reels/audio/ URL.
  • cursor: Value of next_cursor from the previous page.

Example parameters: {"id":"281823195823646"}

Endpoint /instagram/v1/reels/trending · 1 credit per successful call.

Search Instagram posts and reels

Endpoint /instagram/v1/search · 1 credit per successful call.

Instagram's public keyword pages; includes related searches.

Parameters:

  • q (required)
  • cursor: Value of next_cursor from the previous page.

Example parameters: {"q":"space"}

Top Instagram posts for a hashtag

Endpoint /instagram/v1/search/hashtag · 1 credit per successful call.

Parameters:

  • q (required)
  • cursor: Value of next_cursor from the previous page.

Example parameters: {"q":"space"}

Search Instagram accounts

Endpoint /instagram/v1/search/profiles · 1 credit per successful call.

Accounts behind the top results for the keyword.

Parameters:

  • q (required)
  • cursor: Value of next_cursor from the previous page.

Example parameters: {"q":"cooking"}

Search Instagram reels

Endpoint /instagram/v1/search/reels · 1 credit per successful call.

Parameters:

  • q (required)
  • cursor: Value of next_cursor from the previous page.

Example parameters: {"q":"cooking"}

Endpoint /instagram/v1/trending · 1 credit per successful call.

Instagram profile

Endpoint /instagram/v1/user · 1 credit per successful call.

Parameters:

  • username (required)

Example parameters: {"username":"nasa"}

Instagram profile (light)

Endpoint /instagram/v1/user/basic · 1 credit per successful call.

Parameters:

  • username (required)

Example parameters: {"username":"nasa"}

Instagram story highlights

Endpoint /instagram/v1/user/highlights · 1 credit per successful call.

Parameters:

  • username (required)

Example parameters: {"username":"nasa"}

Instagram post and reel counts

Endpoint /instagram/v1/user/post-count · 1 credit per successful call.

Parameters:

  • username (required)

Example parameters: {"username":"nasa"}

Instagram user posts

Endpoint /instagram/v1/user/posts · 1 credit per successful call.

Parameters:

  • username (required)
  • cursor: Value of next_cursor from the previous page.

Example parameters: {"username":"nasa"}

Instagram user reels (plays, likes, comments)

Endpoint /instagram/v1/user/reels · 1 credit per successful call.

Parameters:

  • username (required)
  • cursor: Value of next_cursor from the previous page.

Example parameters: {"username":"nasa"}

Support

Questions, bugs or a missing field? Open an issue in this Actor's Issues tab and we will reply there.

Public data only: nothing behind a login. You are responsible for how you use the data you collect.