API Docs

  • All requests it's necessary your api key.
  • The response body is application/json.
  • Hard limit request for all plans, 200 requests for minute.
  • API: https://instagramscraperapi.com/api/v1
GET /account_username

Return all public data about one profile by username.

Name Type Value
username String An valid instagram username. eg: nike
key String Your API Key.
GET /account_link

Return all public data about one profile by url.

Name Type Value
url String An valid instagram profile link. eg: https://instagram.com/nike/
key String Your API Key.
GET /medias

Return a list of posts by a profile id. It's necessary you give this user id by an account request before.

Name Type Value
user_id String An valid instagram user id. eg: 13460080
limit Int Optional, default is 40. eg: 12
after_cursor String Optional, Instagram pagination. eg: XoRRt654rFFde2...
key String Your API Key.
GET /media_code

Return a specific media public data by shortcode.

Name Type Value
code String An valid media shortcode. eg: CM2CKT8nRrU
key String Your API Key.
GET /media_url

Return a specific media public data by url.

Name Type Value
url String An valid media url. eg: https://www.instagram.com/p/CM2CKT8nRrU/
key String Your API Key.
GET /hashtags

Return a search list, similar to hashtags search on Instagram App.

Name Type Value
query String An Hashtag. eg: travel
key String Your API Key.
GET /hashtag_medias

Return a list of medias using this hashtag.

Name Type Value
query String An Hashtag. eg: travel
key String Your API Key.
GET /locations

Return a search list, similar to locations search on Instagram App.

Name Type Value
query String An Location. eg: new york
key String Your API Key.
GET /location_medias

Return a list of medias using this location, facebook places id is returned in the search locations.

Name Type Value
facebook_places_id String An Facebook Place ID. eg: 118547963392542
key String Your API Key.
GET /users

Return a search list, similar to users search on Instagram App.

Name Type Value
query String An Instagram Username. eg: nik
key String Your API Key.