One API for UK Government data

Tax rates, National Insurance thresholds, bank holidays, company data, and more — through a single, consistent REST API. Stop scraping PDFs.

$ curl -H "Authorization: Bearer gd_live_..." \\
    https://api.govdata.dev/v1/tax/income/bands

{
  "data": {
    "tax_year": "2025-26",
    "personal_allowance": 12570,
    "regions": {
      "england_wales_ni": {
        "bands": [
          { "name": "basic_rate", "rate": 0.20, "from": 12570, "to": 50270 },
          { "name": "higher_rate", "rate": 0.40, "from": 50270, "to": 125140 },
          { "name": "additional_rate", "rate": 0.45, "from": 125140, "to": null }
        ]
      }
    }
  }
}

Available endpoints

Calculators

Take-Home Pay

Income tax + NI + student loan + pension in one call. Returns net annual, monthly, and weekly pay with full breakdown.

POST /v1/tax/take-home/calculate

Income Tax

Calculate income tax with band-by-band breakdown. England, Wales, Scotland, and NI rates.

POST /v1/tax/income/calculate

National Insurance

Employee and employer NI contributions. All category letters, self-employed Class 2 & 4.

POST /v1/tax/national-insurance/calculate

VAT Return

Full 9-box VAT return from transactions. Standard, flat rate, partial exemption, DRC, and reverse charge.

POST /v1/tax/vat/return/calculate

Capital Gains Tax

CGT calculation for residential property, other assets, and Business Asset Disposal Relief.

POST /v1/tax/capital-gains/calculate

Corporation Tax

Small profits rate, main rate, and marginal relief calculation for UK companies.

POST /v1/tax/corporation/calculate

Reference data

Income Tax Bands

All regions, 2020-21 to 2025-26

GET /v1/tax/income/bands

NI Thresholds

PT, UEL, ST, and all category rates

GET /v1/tax/national-insurance/thresholds

VAT Rates

Standard, reduced, zero + flat rate schemes

GET /v1/tax/vat/rates

CGT Rates

Property, other assets, allowances

GET /v1/tax/capital-gains/rates

Dividend Tax

Rates, allowances, and calculator

GET /v1/tax/dividends/rates

Student Loans

Plan 1, 2, 4, 5 & Postgrad thresholds

GET /v1/tax/student-loan/thresholds

Pension Allowances

Annual, MPAA, and tapered thresholds

GET /v1/tax/pension/allowances

Bank Holidays

All UK regions, by year, next upcoming

GET /v1/calendar/bank-holidays

Company Search

5M+ UK companies, fuzzy name search

GET /v1/companies/search

Company Lookup

Full details by company number

GET /v1/companies/:number

Why GovData

Consistent format

Every endpoint returns the same JSON envelope. No more parsing PDFs, CSVs, or inconsistent XML.

Always current

Data synced from official GOV.UK sources. Bank holidays update weekly. Tax rates verified against HMRC.

Built for developers

RESTful API with Bearer auth, rate limit headers, and clear error messages. Get started in under 2 minutes.

Pricing

100 free credits every month. Buy more when you need them — no subscriptions, no commitments.

How credits work

GET Reference lookups

1 credit

POST Calculations

10 credits

FREE Every month

100 credits

100 free credits = 100 reference lookups or 10 calculations per month. Resets on the 1st. Purchased credits never expire.

Starter

£5

500 credits

  • 1.0p per credit
  • All endpoints
  • Live + test API keys
  • Never expires
Get Started
Best value

Growth

£40

5,000 credits

  • 0.8p per credit — save 20%
  • All endpoints
  • Live + test API keys
  • Never expires
Get Started

Scale

£300

50,000 credits

  • 0.6p per credit — save 40%
  • All endpoints
  • Live + test API keys
  • Auto top-up available
Get Started

Need higher volume or a custom arrangement? Get in touch.

Start building with UK Government data

Free to start. No credit card required.

Get Started Free