---
title: "Income tax API | APIFor"
description: "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. 2 credits per call, REST and MCP, one API key."
canonical: "https://apifor.dev/services/income-tax/"
---

1. [Services](https://apifor.dev/services/)
2. [Income tax](https://apifor.dev/services/income-tax/)

# 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/calculate 2 credits About $0.002

[Get a free API key](https://app.apifor.dev/register) [Endpoint reference](https://apifor.dev/docs/reference/income-tax/)

## Try it

GET /v1/income-tax/calculate

```bash
curl 'https://api.apifor.dev/v1/income-tax/calculate?country=GB&year=2025&income=60000' \
  -H 'x-api-key: YOUR_API_KEY'
```

Example response · 200

```json
{
  "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`](https://apifor.dev/docs/reference/income-tax/#get-income-tax-coverage), free with your API key. [How coverage works](https://apifor.dev/docs/coverage/)

## 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.

## Sources and licences

- **[OECD Tax Database](https://data-explorer.oecd.org/)**: OECD Terms and Conditions (Data): any purpose including commercial, with credit
- **[Indonesian statute (UU 7/2021 HPP, PMK 101/2016)](https://jdih.kemenkeu.go.id/)**: Not subject to copyright (Law 28/2014 Art. 42)
- **[Philippine statute (RA 10963 TRAIN)](https://www.officialgazette.gov.ph/2017/12/19/republic-act-no-10963/)**: Statute (RA 8293 Sec. 176.1)
- **[US Internal Revenue Service, Revenue Procedures (federal brackets by filing status)](https://www.irs.gov/irb)**: Public domain (17 U.S.C. 105)

### Attribution

- OECD (2025), Table I.1. Central government personal income tax rates and thresholds, OECD Tax Database
- Source: Internal Revenue Service (IRS)

## Also on MCP

Connect `https://mcp.apifor.dev/mcp` and your agent gets a tool for this service, billed the same way.

[MCP setup](https://apifor.dev/docs/mcp/)

## 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.

## Related services

[All services](https://apifor.dev/services/)

- [VAT rates and VAT number validation API](https://apifor.dev/services/tax/)
- [Minimum wage API](https://apifor.dev/services/minimum-wages/)
- [Social contributions API](https://apifor.dev/services/social-contributions/)
- [Per diem API](https://apifor.dev/services/per-diem/)
