The Corruption Index API is designed to offer developers access to global corruption perception data from reliable sources. With endpoints tailored to retrieve countries, corruption scores, and trends filtered by parameters such as year, this API ensures precise data extraction. Ideal for researchers, policy-makers, and developers, it promotes transparency by allowing detailed and query-driven exploration of corruption perception indices across the globe.
{"countries":["Angola","Botswana","Cameroon","Cape Verde","Chad","Comoros","Democratic Republic of the Congo","Egypt","Equatorial Guinea","Eritrea","Ethiopia","Ghana","Guinea-Bissau","Kenya","Lesotho","Liberia","Malawi","Mauritius","Morocco","Namibia","Niger","Nigeria","Senegal","Sierra Leone","Somalia","South Africa","South Sudan","Sudan","Tanzania","Tunisia","Uganda","Zambia","Zimbabwe","Afghanistan","Armenia","Azerbaijan","Bahrain","Bangladesh","Bhutan","Brunei","Cambodia","China","Cyprus","East Timor","Georgia","India","Indonesia","Iran","Iraq","Israel","Japan","Jordan","Kuwait","Kyrgyzstan","Kazakhstan","Lebanon","Malaysia","Maldives","Myanmar","Nepal","North Korea","Pakistan","Philippines","Singapore","South Korea","Sri Lanka","Syria","Taiwan","Tajikistan","Thailand","Turkey","Turkmenistan","Uzbekistan","Vietnam","Yemen","Albania","Andorra","Austria","Belgium","Bosnia and Herzegovina","Bulgaria","Croatia","Czech Republic","Denmark","Finland","France","Germany","Greece","Hungary","Iceland","Ireland","Italy","Kosovo","Latvia","Liechtenstein","Lithuania","Luxembourg","Malta","Moldova","Monaco","Montenegro","Netherlands","North Macedonia","Northern Ireland","Norway","Poland","Portugal","Romania","Russia","San Marino","Serbia","Slovakia","Slovenia","Spain","Sweden","Switzerland","Ukraine","United Kingdom","Canada","Mexico","United States","Costa Rica","Cuba","El Salvador","Haiti","Honduras","Nicaragua","Argentina","Bolivia","Brazil","Chile","Colombia","Ecuador","Guyana","Paraguay","Peru","Uruguay","Venezuela","Australia","New Zealand","Papua New Guinea"]}
curl --location --request POST 'https://zylalabs.com/api/6018/corruption+index+api/8079/countries+with+corruption+data' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{}'
{"years":[2023,2022,2021,2020,2019,2018,2017,2016,2015,2014,2013,2012,2011,2010,2009,2008,2007,2006,2005,2004,2003,2002,2001,2000,1999,1998,1997,1996,1995]}
curl --location --request POST 'https://zylalabs.com/api/6018/corruption+index+api/8080/years+available' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{}'
{"country":"United States","year":1995,"corruption_perception_index":7.79}
curl --location --request POST 'https://zylalabs.com/api/6018/corruption+index+api/8081/get+historical+corruption+index+data' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{"country":"Required","year":"Required"}'
| 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.
You can filter the data by parameters such as year, allowing you to query specific insights and trends related to corruption perceptions over time.
The API is ideal for researchers, policy-makers, and developers who are looking to promote transparency and gain detailed insights into global corruption perception indices.
The Corruption Index API provides access to data about corruption perceptions by country, including country names, corruption scores, and historical trends. Developers can query specific insights filtered by parameters such as year to retrieve precise data.
The "countries with corruption data" endpoint returns a list of countries, while the "years available" endpoint provides a list of years for which data is available. The "get historical corruption index data" endpoint returns detailed corruption perception scores for a specified country and year.
Key fields include "countries" in the countries endpoint, "years" in the years endpoint, and "country," "year," and "corruption_perception_index" in the historical data endpoint, providing essential information for analysis.
Response data is structured in JSON format. Each endpoint returns an object containing relevant arrays or key-value pairs, making it easy to parse and utilize in applications.
The historical data endpoint requires two parameters: "country" (the name of the country) and "year" (the specific year for which you want the corruption index). Both parameters must match the available data from the respective endpoints.
The "years available" endpoint provides a comprehensive list of years for which corruption perception data is recorded, allowing users to understand the temporal scope of the dataset.
Users can analyze trends in corruption perceptions over time by comparing scores across different years and countries, enabling informed decision-making and research on corruption issues.
Typical use cases include academic research on corruption trends, policy analysis for governance improvements, and app development for transparency initiatives, leveraging the corruption perception data for various insights.
The Corruption Index API sources its data from reliable organizations that specialize in corruption perception metrics, ensuring high-quality and accurate information for users.
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
Service Level:
100%
Response Time:
11,477ms
Service Level:
100%
Response Time:
2,450ms
Service Level:
100%
Response Time:
2,042ms
Service Level:
100%
Response Time:
9,873ms
Service Level:
100%
Response Time:
4,939ms
Service Level:
100%
Response Time:
9,873ms
Service Level:
100%
Response Time:
9,873ms
Service Level:
100%
Response Time:
9,873ms
Service Level:
100%
Response Time:
9,873ms
Service Level:
100%
Response Time:
2,612ms
Service Level:
100%
Response Time:
2,702ms
Service Level:
100%
Response Time:
478ms
Service Level:
100%
Response Time:
1,107ms
Service Level:
100%
Response Time:
628ms
Service Level:
100%
Response Time:
2,596ms
Service Level:
100%
Response Time:
1,674ms
Service Level:
100%
Response Time:
725ms
Service Level:
100%
Response Time:
7,543ms
Service Level:
100%
Response Time:
952ms
Service Level:
100%
Response Time:
519ms