Gini data for a country
API · /gini-api
Gini Index (Income Inequality) API
Income-inequality data for every country as an API — the World Bank Gini index, the standard measure of how evenly income is distributed. The coefficient runs from 0 (perfect equality) to 100 (one person holds all income); a higher number means a more unequal society. For each of 170+ countries the API returns the latest available value, the full year-by-year history and the all-time minimum and maximum, enriched with the ISO 3166-1 alpha-2 code and flag emoji. Look a country up by name or code, RANK countries by their latest inequality (the most or least equal in the world), search, or list them all. The reference an economics dashboard, data-journalism piece or research tool needs. Distinct from countrystats-api (area, population, life expectancy) — this is the inequality series specifically, with per-country history. Served from memory — always fast.
API health
healthy- Uptime
- 100.00%
- Server probes · 24h
- Avg latency
- 93 ms
- Server probes · 24h
- Subscribers
- 3,968
- active
- Total calls
- 35
- last 7 days
Pricing
Pick a tier — billed monthly, cancel anytime.
Free
Free
- 14,000 calls / month
- 3 requests / second
- Hard cap (429 above quota, no overage)
- 14k calls/month
- 3 req/sec
- All endpoints
- No credit card
Starter
€7.00 /month
- 160,000 calls / month
- 10 requests / second
- Hard cap (429 above quota, no overage)
- 160k calls/month
- 10 req/sec
- Email support
Pro
€20.00 /month
- 800,000 calls / month
- 25 requests / second
- Hard cap (429 above quota, no overage)
- 800k calls/month
- 25 req/sec
- Priority support
Mega
€46.00 /month
- 4,000,000 calls / month
- 60 requests / second
- Hard cap (429 above quota, no overage)
- 4M calls/month
- 60 req/sec
- Dedicated SLA
Built by
Related APIs
Other APIs with overlapping tags.
Eurostat API
Official European Union statistics as an API, powered by Eurostat — the statistical office of the EU. Eurostat publishes harmonised data across every EU and EFTA country and region: population and demography, GDP and national accounts, employment and unemployment, inflation (HICP), trade, energy, migration, education, health and thousands more datasets. This API wraps Eurostat's JSON-stat dissemination service into clean, decoded rows, and adds friendly named indicators so you don't have to learn dataset codes. /v1/indicator?indicator=population&geo=DE&year=2023 returns a named statistic — population, gdp, gdp_per_capita, unemployment, inflation or employment — for one or more countries (2-letter codes such as DE, FR, IT, or aggregates like EU27_2020 and EA20) and one or more years, with no need to know the underlying dataset or dimension codes. /v1/data?dataset=demo_pjan&geo=DE&sex=T&age=TOTAL&time=2023 gives direct access to any of Eurostat's thousands of datasets by its code, with arbitrary dimension filters passed as query parameters — every dataset has its own dimensions (geo, time, sex, age, unit, na_item, coicop and so on). Both endpoints decode Eurostat's JSON-stat format automatically: single-value dimensions are lifted into a `fixed` context block, and each row carries the dimensions that actually vary (with both a human-readable label and the underlying code) alongside the numeric value, the dataset label and the last-update date. Ideal for economic dashboards, country comparison tools, research, data journalism and policy analysis. Country codes are 2-letter ISO; aggregates include EU27_2020 and EA20. Data © European Union, free to reuse with attribution.
api.oanor.com/eurostat-api
DBnomics API
Economic data from 90+ official providers as one API, powered by DBnomics. DBnomics aggregates the public statistics of the IMF, OECD, Eurostat, the European Central Bank, the World Bank, the BIS, the US Federal Reserve and Bureau of Labor Statistics, national statistics offices and dozens more — millions of time series — into a single, consistent interface. List the data providers; search datasets across every provider at once by keyword; read a dataset's details and its dimensions (the codes you combine to pick a series); and fetch a series with its full observations (period and value) plus the latest data point. The typical flow is search → dataset → series. Ideal for macroeconomic and financial dashboards, data-science and research pipelines, fintech and economics apps, and anyone who needs GDP, inflation, unemployment, interest-rate, trade or monetary series from authoritative sources. Data is free and open.
api.oanor.com/dbnomics-api
Olympic Medals API
The all-time Olympic medal table as an API — cumulative Summer and Winter Olympic results for every National Olympic Committee. For each country: its NOC code and, split into Summer / Winter / Combined, the number of Games attended and the gold, silver, bronze and total medals won. Look a country up by name or NOC code, rank countries by any medal metric (all-time gold, winter gold, totals and more), or search. A stable sports reference for quiz, media, sports and data-viz apps. Distinct from single-Games results.
api.oanor.com/olympicmedals-api
Country Statistics API
Geographic, demographic and political statistics for every country as an API — the reference a research dashboard, data-journalism piece or analytics tool needs. For each country: its government type, whether it is landlocked, surface area (km²), population, population density (people/km²) and life expectancy (years), enriched with the ISO 3166-1 alpha-2 code and flag emoji. Look a country up by name or code, or RANK every country by any numeric statistic — the ten largest by area, the most densely populated, the highest life expectancy — in ascending or descending order. Search by name or government type, or list them all. This is the country statistics reference — distinct from countries-api (ISO identifiers: codes, dialing, currency, region) and disease-api (public-health data). Served from memory — always fast.
api.oanor.com/countrystats-api
Frequently asked questions
Quick answers about pricing, quotas, and integration.
How do I get an API key for Gini Index (Income Inequality) API?
What's the rate limit for Gini Index (Income Inequality) API?
How much does Gini Index (Income Inequality) API cost?
Can I cancel my subscription anytime?
Is Gini Index (Income Inequality) API GDPR-compliant?
Pick an endpoint from the list on the left to see its details and try it.
Code snippets
Sign up to get an API key, then call any path under your slug.
curl https://api.oanor.com/gini-api/SOME_PATH \
-H "x-oanor-key: oanor_test_..."
const res = await fetch("https://api.oanor.com/gini-api/SOME_PATH", {
headers: { "x-oanor-key": "oanor_test_..." }
});
const data = await res.json();
$ch = curl_init("https://api.oanor.com/gini-api/SOME_PATH");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
$response = curl_exec($ch);
import requests
r = requests.get(
"https://api.oanor.com/gini-api/SOME_PATH",
headers={"x-oanor-key": "oanor_test_..."},
)
print(r.json())
Ratings
Sign in to rate.
No reviews yet.
Discussion
Ask questions, share usage tips, get answers from the provider and other developers. Public — anyone can read.
Sign in to start a thread or reply.
Sign inNew thread
·
-
Provider answer
🔒 This thread is locked — no new replies.
-
·
- No threads yet — start the discussion.
Support
Private 1:1 support with the provider — billing questions, integration issues, account problems. Only you and the provider team can see these threads.
Sign in to open a support ticket.
Sign inOpen new ticket
Describe what you need help with. The provider team gets an email and replies on the ticket page.
-
·
Urgent - No tickets yet for this API.