Income tax API
Personal income tax brackets set by the central government, by country and year, and a calculator that works out the tax due on an income with a bracket by bracket breakdown.
GET /v1/income-tax/calculate2 creditsAbout $0.002Try it
curl 'https://api.apifor.dev/v1/income-tax/calculate?country=GB&year=2025&income=60000' \
-H 'x-api-key: YOUR_API_KEY'{
"success": true,
"data": {
"country": "GB",
"year": 2025,
"currency": "GBP",
"income": 60000,
"personal_allowance_applied": 12570,
"taxable_income": 47430,
"tax_due": 11432,
"average_rate": 19.05,
"marginal_rate": 40,
"breakdown": [
{
"level": 1,
"threshold": 0,
"upper_threshold": 37700,
"rate": 20,
"taxable_amount": 37700,
"tax": 7540
},
{
"level": 2,
"threshold": 37700,
"upper_threshold": 125140,
"rate": 40,
"taxable_amount": 9730,
"tax": 3892
}
],
"assumptions": [
"Central (federal) government personal income tax only. No state, provincial, municipal or church taxes, no social contributions.",
"`income` is treated as annual taxable income of one individual taxpayer (single, no children) before the personal allowance."
],
"rules": {
"regime": "Central government personal income tax",
"legal_basis": "OECD Tax Database Table I.1 (2025)",
"effective_from": "2025-01-01",
"effective_to": null,
"source_url": "https://data-explorer.oecd.org/"
}
},
"meta": {
"attribution": {
"source": "OECD Tax Database, Table I.1: Central government personal income tax rates and thresholds",
"licence": "OECD Terms and Conditions, Data: use for any purpose, including commercial, with credit to the OECD",
"license": "OECD Terms and Conditions, Data: use for any purpose, including commercial, with credit to the OECD",
"license_url": "https://www.oecd.org/en/about/terms-conditions.html",
"source_url": "https://data-explorer.oecd.org/vis?df[ds]=dsDisseminateFinalDMZ&df[id]=DSD_TAX_PIT%40DF_PIT_CENT&df[ag]=OECD.CTP.TPS",
"attribution_page": "https://apifor.dev/sources",
"citation": "OECD (2025), Table I.1. Central government personal income tax rates and thresholds, OECD Tax Database, https://data-explorer.oecd.org/ (...",
"notice": "Source: OECD Tax Database. Restructured by APIFor; not endorsed by the OECD. If you redistribute this data you must credit the OECD and p..."
}
}
}A real response from our OpenAPI file, with long lists and strings shortened.
Endpoints and price
| Endpoint | Credits | About |
|---|---|---|
GET /v1/income-tax | 1 credit | $0.001 |
GET /v1/income-tax/calculate | 2 credits | $0.002 |
GET /v1/income-tax/coverage (Free) | Free | $0 |
USD at Starter pack prices ($5 for 5,000 credits). Calls that fail before work starts are refunded.
Coverage today
Australia, Austria, Belgium, Canada, Chile, Colombia, Costa Rica, Czechia, Denmark, Estonia, Finland, France, Germany, Greece, Hungary, Iceland, Indonesia, Ireland, Israel, Italy, Japan, Latvia, Lithuania, Luxembourg, Mexico, Netherlands, New Zealand, Norway, Philippines, Poland, Portugal, Slovakia, Slovenia, South Korea, Spain, Sweden, Switzerland, Türkiye, United Kingdom and United States.
The country parameter is required.
Sources, row counts and country-only fields per country: GET /v1/income-tax/coverage, free with your API key. How coverage works
Limits
- Central or federal tax only. No state, local or church tax, and no social contributions.
- The calculator deducts the basic personal allowance when the source has one. No other deductions or credits.
- Schedules that cannot be computed return 422 NOT_COMPUTABLE, refunded. You can still read them.
Questions
Is this a full tax return?
No. It applies the published brackets to the income you send. Use it for estimates and comparisons.
Where do the brackets come from?
The OECD Tax Database for most countries, and national statutes or tax authority notices for the rest. rules.legal_basis names it.
Do I have to credit the OECD?
Yes, if you pass the data on. Every response carries the citation.