Comment on page
Instagram Profile Scraper API
Instagram Scraper API lets you gather public data of an account from Instagram as structured JSON via our solid infrastructure. It is extremely easy to use and integrate into your own solution.
After signing up for an account, each user will be assigned a unique API Access Key. This key will be used to authenticate with the API via REST and access any of the available endpoints.
If you are a current user of AvesAPI, obtain the API Key from your account page to access our API. If you are not a member of AvesAPI you can create your account to benefit from our service.
To authenticate with the API, simply append your API key to the API's base URL using the
apikey
parameter shown below.https://api.avesapi.com/instagram/view-profile?apikey=YOUR_API_KEY
The response will be returned as 400 Status code except missing or invalid apikey If there is a problem with your request.
Code | Type | Message |
---|---|---|
401 | missing_apikey | You must provide a valid apikey |
401 | invalid_apikey | You must provide a valid apikey |
400 | missing_username | You must provide a username |
400 | insufficient_balance | Please reload your balance to keep using our service |
400 | restricted_profile | Age restriction profile |
400 | not_found | This user does not exist |
400 | system_error | Please try again later |
If the request returns as success or with status code 400 containing types such as (restricted_profile, not_found) then your balance will be deducted. Otherwise your balance will not be deducted.
To query the API for Google search results, simply append the query parameter to the API's base URL and set it to a search query of your choice.
Example request:
https://api.avesapi.com/instagram/view-profile?apikey=YOUR_API_KEY&username=nike
Your API response strongly depends on your search query and the parameters you choose to make use of. Find below a representative example API response, returned for the query
nike
and containing some of Google's key response objects. Each available response object will be explained further below in this section.Response and Object
Object | Type | Description |
---|---|---|
success | Boolean | Returns true if request is responded as successful |
total_time_taken | Int | Returns as milliseconds of how long does a request take |
data > biography | String | Biography section of a profile on instagram |
data > external_url | String | Shows the URL of a profile if present |
data > edge_followed_by > count | Int | Shows follower count of an instagram account |
data > edge_follow > count | Int | Shows following count of an instagram account |
data > full_name | String | Shows the full name of account |
data > is_business_account | Boolean | Returns true if scraped account is a business account |
data > is_professional_account | Boolean | Returns true if scraped account is a professional account |
data > business_category_name | String | Shows the business category name of the scraped account if account is a business account |
data > category_enum | String | Shows the category name as key of the scraped account |
data > category_name | String | Shows the category name of the scraped account |
data > is_private | Boolean | Returns true if the profile is public profile |
data > is_verified | Boolean | Returns true if account is verified by Instagram |
data > profile_pic_url | String | Returns the URL of instagram profile picture |
data > profile_pic_url_hd | String | Returns the URL of instagram profile picture as HD |
Last modified 1yr ago