A free JSON endpoint with current UK and US tax rates. No key, no signup, no rate limit, no tracking. Use it in anything.
GET https://financeclearly.com/api/uk-tax-rates.json
CORS is open, so it works from the browser as well as the server.
Why this exists
Anyone building a payroll tool, a finance app or an internal spreadsheet needs current UK tax figures, and there is no straightforward free source. GOV.UK publishes them across dozens of pages in prose. This is the same numbers as JSON.
They are maintained by a chartered management accountant because we use them ourselves in our own calculators. When rates change, this changes.
Examples
JavaScript
const res = await fetch('https://financeclearly.com/api/uk-tax-rates.json');
const rates = await res.json();
console.log(rates.uk.income_tax.personal_allowance); // 12570
console.log(rates.uk.dividends.higher_rate); // 0.3575
console.log(rates.uk.corporation_tax.main_rate); // 0.25
Python
import requests
rates = requests.get('https://financeclearly.com/api/uk-tax-rates.json').json()
print(rates['uk']['vat']['registration_threshold']) # 90000
print(rates['uk']['student_loans']['plan_2']['threshold']) # 29385
Google Sheets
=IMPORTDATA("https://financeclearly.com/api/uk-tax-rates.json")
What is in it
- Income tax — personal allowance, bands, and the taper above £100,000
- Scottish income tax — all six bands
- National Insurance — employee and employer rates and thresholds
- Dividends — allowance and all three rates
- Capital gains — annual exempt amount, rates, BADR
- Corporation tax — both rates plus the marginal relief fraction
- Inheritance tax — nil-rate bands, taper, gift exemptions
- VAT — rates and registration thresholds
- Stamp duty — full band table, first-time buyer relief, surcharges
- ISAs and pensions — allowances, including changes already announced
- Student loans — all five plans
- Director’s loans — S455 rates and the official rate of interest
- HMRC interest — late payment and repayment rates
- US — 401(k) and IRA limits, long-term capital gains brackets, NIIT
Licence
CC BY 4.0. Free to use, including commercially. The only condition is attribution — a link to financeclearly.com in your docs, README or credits is enough.
Reliability, honestly
This is offered free with no uptime guarantee. If you are building something where a failed request matters, cache the response and fall back to your own copy. The values change a few times a year at most, so fetching daily is plenty.
Every figure is checked against GOV.UK, HMRC or IRS publications. Even so, verify anything you are relying on in production. If you spot something wrong, tell us and it will be fixed.
See also: embeddable calculators and the same rates in plain English.
Or install it as a package
The same figures are published as an npm package with the calculations built in, so you do not have to write the band logic yourself.
npm install uk-tax-ratesconst tax = require('uk-tax-rates');
tax.incomeTax(45000).tax; // 6486
tax.corporationTax(120000).tax; // 28050
tax.stampDuty(350000).tax; // 7500
tax.redundancyPay(45, 10, 600).payment // 7200It handles the parts that are easy to get wrong: dividends stacking on top of other income, the personal allowance taper above £100,000, corporation tax marginal relief, and first-time buyer stamp duty relief being lost rather than tapered above £500,000.
Source and issues on GitHub. No dependencies, TypeScript types included, 29 tests.
Maintained by. Peter Edwards ACMA CGMA, founder of Finance Clearly. Chartered management accountant, 25 years in corporate finance.