Income tax API Reference
3 routes. Base URL https://api.apifor.dev, authenticated with x-api-key. Failed calls are not charged. Overview, limits and sources are on the Income tax API page.
/v1/income-tax1 creditCentral (federal) government personal income tax schedule for one country and year: brackets (threshold, upper_threshold, rate in percent), basic personal allowance, tax credit and surtax as published, currency, rules.legal_basis and local filing notes. US: IRS federal brackets by filing_status for 2018-2026. 1 credit.
| Parameter | In | Type | Rules |
|---|---|---|---|
| country * | query | string | ISO 3166-1 alpha-2 · ISO 3166-1 alpha-2 code. Required. Covered countries: GET /v1/income-tax/coverage |
| year | query | string | Tax year, or latest (default) |
| filing_status | query | string | one of single, married_filing_jointly, married_filing_separately, head_of_household · US only: single (default), married_filing_jointly, married_filing_separately or head_of_household. IRS schedules for 2018-2026. |
curl 'https://api.apifor.dev/v1/income-tax?country=' \
-H 'x-api-key: YOUR_API_KEY'{
"success": true,
"data": {
"id": "GB-2025",
"country": "GB",
"year": 2025,
"currency": "GBP",
"scope": "Central (federal) government personal income tax only. No state, provincial, municipal or church taxes, no social contributions.",
"brackets": [
{
"level": 1,
"threshold": 0,
"upper_threshold": 37700,
"rate": 20
},
{
"level": 2,
"threshold": 37700,
"upper_threshold": 125140,
"rate": 40
}
],
"personal_allowance": 12570,
"tax_credit": null,
"surtax_rate": null,
"data_quality_flags": [],
"source": "OECD Tax Database, Table I.1: Central government personal income tax rates and thresholds",
"source_url": "https://data-explorer.oecd.org/",
"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/"
},
"local": {
"country": "GB",
"filing_unit": "single person, no children (OECD Table I.1 basis)",
"notes": "Thresholds in national currency for the tax year. Tax credits and surtaxes are listed as published and not applied by /calculate."
},
"years_available": [
2015,
2016
]
},
"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..."
}
}
}200OK400Missing or invalid parameter (refunded)404Country or year not held (refunded)
/v1/income-tax/calculate2 creditsTax due on an annual taxable income with a bracket-by-bracket breakdown. Central/federal government personal income tax only; deducts the basic personal allowance when the source table has one, and applies no other deductions or credits. Returns 422 NOT_COMPUTABLE (refunded) for schedules with formula-based zones or suspect published values. 2 credits.
| Parameter | In | Type | Rules |
|---|---|---|---|
| country * | query | string | ISO 3166-1 alpha-2 · ISO 3166-1 alpha-2 code. Required. Covered countries: GET /v1/income-tax/coverage |
| year | query | string | Tax year, or latest (default) |
| filing_status | query | string | one of single, married_filing_jointly, married_filing_separately, head_of_household · US only: single (default), married_filing_jointly, married_filing_separately or head_of_household. IRS schedules for 2018-2026. |
| income * | query | string | Annual taxable income in the local currency |
| apply_allowance | query | string | one of true, false · Deduct the basic personal allowance first (default true) |
curl 'https://api.apifor.dev/v1/income-tax/calculate?country=&income=' \
-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..."
}
}
}200OK400Missing or invalid parameter (refunded)404Country or year not held (refunded)422Schedule cannot be applied by bracket arithmetic (refunded)
/v1/income-tax/coverageFreeCountries this service covers, with sources, licences, row counts and country-only fields. Free (0 credits), still needs an API key. Price note: Free.
curl 'https://api.apifor.dev/v1/income-tax/coverage' \
-H 'x-api-key: YOUR_API_KEY'{
"success": true,
"data": {
"service": "income-tax",
"global": false,
"country_param": "required",
"param_name": "country",
"countries": [
{
"country": "AT",
"market": null,
"subdivision_levels": [],
"rows": 11,
"updated_at": "2026-11-30",
"sources": [
{
"name": "OECD Tax Database, Table I.1 (central government PIT rates and thresholds)",
"url": "https://data-explorer.oecd.org/vis?df[ds]=dsDisseminateFinalDMZ&df[id]=DSD_TAX_PIT%40DF_PIT_CENT&df[ag]=OECD.CTP.TPS",
"licence": "OECD Terms and Conditions (Data): any purpose including commercial, with credit",
"attribution": "OECD (2025), Table I.1. Central government personal income tax rates and thresholds, OECD Tax Database"
}
],
"local_fields": [
"local.filing_unit",
"local.notes"
],
"notes": "Central/federal government only, 2015 to the latest OECD year. Brackets, basic personal allowance, basic tax credit and surtax rate as pu..."
},
{
"country": "AU",
"market": null,
"subdivision_levels": [],
"rows": 11,
"updated_at": "2026-11-30",
"sources": [
{
"name": "OECD Tax Database, Table I.1 (central government PIT rates and thresholds)",
"url": "https://data-explorer.oecd.org/vis?df[ds]=dsDisseminateFinalDMZ&df[id]=DSD_TAX_PIT%40DF_PIT_CENT&df[ag]=OECD.CTP.TPS",
"licence": "OECD Terms and Conditions (Data): any purpose including commercial, with credit",
"attribution": "OECD (2025), Table I.1. Central government personal income tax rates and thresholds, OECD Tax Database"
}
],
"local_fields": [
"local.filing_unit",
"local.notes"
],
"notes": "Central/federal government only, 2015 to the latest OECD year. Brackets, basic personal allowance, basic tax credit and surtax rate as pu..."
}
]
}
}200Coverage