{"countries":["India","United States","Brazil","Indonesia","Turkey","Japan","Mexico","United Kingdom","Germany","Italy","France","Argentina","Spain","South Korea","Philippines","Colombia","Canada","Egypt","Iraq","Thailand","Pakistan","Saudi Arabia","Malaysia","Australia","Chile","Nigeria","Ukraine","Morocco","Kazakhstan","Poland","Algeria","Taiwan","Peru","Uzbekistan","Venezuela","Netherlands","United Arab Emirates","South Africa","Bangladesh","Ecuador","Portugal","Sweden","Romania","Belgium","Dominican Republic","Greece","Israel","Azerbaijan","Nepal","Switzerland","Jordan","Czech Republic","Belarus","Hong Kong","Tanzania","Austria","Guatemala","Tunisia","Serbia","Kenya","Singapore","Kuwait","Hungary","Kyrgyzstan","Denmark","Norway","Ireland","Lebanon","Panama","Paraguay","Finland","Costa Rica","New Zealand","Oman","Uruguay","Ghana","Bolivia","Libya","Bulgaria","Honduras","El Salvador","Sri Lanka","Cambodia","Georgia","Slovakia","Yemen","Qatar","Puerto Rico","Tajikistan","Croatia","Myanmar","Armenia","Senegal","Albania","Afghanistan","Nicaragua","Ivory Coast","Bosnia and Herzegovina","Jamaica","Bahrain","Ethiopia","Moldova","Mongolia","Lithuania","Cyprus","Angola","North Macedonia","Uganda","Slovenia","DR Congo","Latvia","Trinidad and Tobago","Cameroon","Mozambique","Haiti","Laos","Somalia","Zimbabwe","Estonia","Zambia","Rwanda","Namibia","Montenegro","Mauritius","Brunei","Luxembourg","Reunion","Maldives","Malta","Mali","Macau","Turkmenistan","Iceland","Fiji","Benin","Madagascar","Botswana","Barbados","Togo","Guyana","Burkina Faso","Gambia","Guadeloupe","Guinea","Martinique","Republic of the Congo","Mauritania","Bhutan","Malawi","Gabon","Suriname","Cape Verde","Belize","Bahamas","Liberia","Sierra Leone","Burundi","Chad","Guam","French Guiana","Papua New Guinea","Niger","New Caledonia","Curacao","Saint Lucia","French Polynesia","Eswatini","Aruba","South Sudan","Equatorial Guinea","Andorra","Cayman Islands","Grenada","Mayotte","Saint Vincent and the Grenadines","Jersey","Antigua and Barbuda","Lesotho","Seychelles","Bermuda","Samoa","Isle of Man","Comoros","Saint Kitts and Nevis","United States Virgin Islands","Faroe Islands","Turks and Caicos Islands","Dominica","Greenland","Sint Maarten","Gibraltar","Northern Mariana Islands","Tonga","Solomon Islands","British Virgin Islands","Monaco","American Samoa","Eritrea","Vanuatu","Sao Tome and Principe","Saint Martin","Liechtenstein","Micronesia","Central African Republic","Anguilla"]}
curl --location --request POST 'https://zylalabs.com/api/6654/instagram+stats+api/9762/get+countries+with+instagram' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{}'
[{"country":"India","total_users":392500000}]
curl --location --request POST 'https://zylalabs.com/api/6654/instagram+stats+api/9763/get+total+users+by+country' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{"country":"Required"}'
{"country":"India","female_percentage":33.1}
curl --location --request POST 'https://zylalabs.com/api/6654/instagram+stats+api/9764/get+female+users+by+country' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{"country":"Required"}'
{"country":"India","male_percentage":66.9}
curl --location --request POST 'https://zylalabs.com/api/6654/instagram+stats+api/9765/get+male+users+by+country' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{"country":"Required"}'
After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the Instagram Stats API simply include your bearer token in the Authorization header.
| Header | Description |
|---|---|
Authorization
|
Required
Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.
|
No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.
(Save 2 months with annual billing 🎉)
The Instagram Stats API provides comprehensive statistics on Instagram users by country, including total user counts and gender distribution percentages (female and male) for each country.
The API response is structured in a tabular format, where each entry corresponds to a specific country and includes fields for country name, total Instagram users, female percentage, and male percentage.
The API requires standard HTTP requests for data retrieval, and it responds with outputs formatted in JSON, making it easy for developers to parse and utilize the data.
Businesses and researchers interested in social media trends and user engagement metrics globally can benefit from using the Instagram Stats API to analyze user demographics and distribution.
Each endpoint returns specific data related to Instagram users by country. The "get countries" endpoint lists all countries, while "get total users," "get female users," and "get male users" endpoints provide user counts and gender distribution for a specified country.
The key fields in the response data include "country," "total_users," "female_percentage," and "male_percentage." These fields provide essential insights into user demographics and distribution for each country.
The response data is organized in JSON format. Each entry corresponds to a specific country, with relevant metrics clearly labeled, allowing for straightforward parsing and analysis by developers.
The primary parameter used with the "get total users," "get female users," and "get male users" endpoints is the "country" name. Users must specify a valid country from the list provided by the "get countries" endpoint.
The "get countries" endpoint provides a list of countries, while the other endpoints return user counts and gender distribution percentages for a specified country, offering insights into Instagram's user demographics.
Users can utilize the returned data for market analysis, demographic studies, and social media strategy development. For example, businesses can tailor marketing campaigns based on gender distribution in target countries.
Data accuracy is maintained through regular updates and quality checks, ensuring that the statistics reflect the most current user demographics and distribution trends across countries.
Typical use cases include analyzing social media trends, understanding user engagement metrics, and conducting market research to inform business strategies and advertising efforts based on demographic insights.
To obtain your API key, first sign in to your account and navigate to the API you want to use. From the API's Pricing section, choose a plan and complete the subscription process. Once subscribed, return to the API page and you will see your API Access Key displayed at the top of the documentation page. You can use this key to authenticate your requests.
You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.
The free trial lasts for 7 days and allows you to make up to 50 API requests.
No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.
Yes. If the API offers a free trial, you will see a "Free 7-Day Trial" option in its Pricing section. The trial lasts for 7 days and allows up to 50 API requests, enabling you to evaluate the API before subscribing to a paid plan.
Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.
You can monitor your API usage through the response headers included with every request:
x-zyla-api-calls-monthly-used: Shows the total number of API requests you have used during the current billing period.
x-zyla-api-calls-monthly-remaining: Shows the number of API requests you have remaining for the current billing period.
Yes, you can cancel your subscription at any time. Simply go to the Pricing section of the API you're subscribed to and click the "Unsubscribe" button.
Please note that upgrades, downgrades, and cancellations take effect immediately. Once your subscription is canceled, access to the service will end immediately, regardless of any remaining API calls in your quota.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund