Straightsums

UK Tax Rates API

Free UK tax rates API: static JSON and CSV for 2026-27 and 2025-26 Income Tax bands (including Scottish bands), National Insurance, student loans, dividend…

Developer tools#openapi

Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.

Overview

Free UK tax rates API: static JSON and CSV for 2026-27 and 2025-26 Income Tax bands (including Scottish bands), National Insurance, student loans, dividend tax, HMRC mileage rates, VAT rates and thresholds, and tax deadlines. CORS enabled, checked on GOV.UK.

Endpoints taken from the examples in the documentation and checked on 2026-11-18 by calling each one without a key.

Endpoints 5

  • GETGet 2026 27/api/v1/2026-27.json
  • GETGet csv 2026 27/api/csv/v1/2026-27.csv
  • GETGet index/api/v1/index.json
  • GETGet 2026 27 income tax/api/v1/2026-27/income-tax.json
  • GETGet 2026 27 scottish income tax/api/v1/2026-27/scottish-income-tax.json

API details

Base URL
https://straightsums.co.uk
Authentication
None declared in the description
Operations
5 operations on 5 pathsGET 5
Response formats
application/json text/csv
Description format
OpenAPI 3.0.3, API version 2026-11-18

How to test the UK Tax Rates API in Swastik Codes

  1. Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
  2. Fork it into your workspaceChoose a workspace. You get your own copy of the UK Tax Rates API collection, without the publisher's secrets.
  3. Add your credentialsOpen the collection's variables or an environment and enter your API key or token, if the API needs one.
  4. Send a requestPick an endpoint, for example “Get 2026 27” (GET /api/v1/2026-27.json), and press Send. Check the response, add tests and run the whole collection with the runner.

Frequently asked questions

What is the UK Tax Rates API?

Free UK tax rates API: static JSON and CSV for 2026-27 and 2025-26 Income Tax bands (including Scottish bands), National Insurance, student loans, dividend… It is listed under Developer tools and has 5 endpoints.

Who publishes the UK Tax Rates API?

It is listed from Straightsums's public API description (an OpenAPI document), not published by Straightsums on Swastik Codes. Anyone who controls straightsums.co.uk can claim the profile by adding a DNS TXT record.

What is the base URL of the UK Tax Rates API?

Requests go to https://straightsums.co.uk. Endpoint paths are added to this base URL.

How do I authenticate with the UK Tax Rates API?

Its OpenAPI description does not declare an authentication scheme. Some endpoints may be open; check the provider's documentation before relying on that.

How many endpoints does the UK Tax Rates API have?

5 operations on 5 paths (5 GET).

Is forking the UK Tax Rates API free?

Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.

Suggest an API

Tell us which public API is missing. We check it, then add it here with its endpoints when it has an OpenAPI (Swagger) description.