[All calculators](https://readyreckoner.yv3.uk/)

# Ready Reckoner API

List the calculators and run them from your own software. The API gives the same figures and wording as the pages. It is read only: a request works out an answer and changes nothing. Results are estimates, not advice.

## Authentication

There is none. The API is free and needs no sign-up, key or account, so you can try any request straight away. Requests from a browser on another site are allowed.

## Endpoints

All addresses start with `https://readyreckoner.yv3.uk`. The full description, with the inputs and replies of every operation, is the [OpenAPI 3.1 file](https://readyreckoner.yv3.uk/api/openapi.json).

| Request | What it does |
| --- | --- |
| `GET /api/v1/calculators.json` | Every calculator with its input schema, formula summary and sources |
| `GET /api/v1/status` | Status and the number of calculators |
| `POST /api/v1/calculate/{calculator}` | Runs one calculator. The body is a JSON object of its inputs |
| `POST /api/v1/batch` | Runs 1 to 10 calculations in one request |

## Example: one calculation

A vehicle taxed for a year at £200, running out in August 2027, with DVLA told in November 2026:

```
curl -s https://readyreckoner.yv3.uk/api/v1/calculate/vehicle-tax-refund \
  -H 'Content-Type: application/json' \
  -d '{"plan":"annual","paid":200,"expiry":"2027-08","told":"2026-11"}'
```

The reply, shortened:

```
{
  "calculator": "Vehicle tax refund",
  "summary": "About £150.00 back\n...",
  "defaultedInputs": ["firstYear", "standard"],
  "result": { "months": 9, "refund": 150, ... }
}
```

Every reply also carries the page address, the sources and the date they were checked. Inputs you leave out are listed in `defaultedInputs`. Check that each default fits your case: some are prices or rates taken from the worked example on the page. The main facts of a case are required and are never filled in for you.

## Example: a batch

```
curl -s https://readyreckoner.yv3.uk/api/v1/batch \
  -H 'Content-Type: application/json' \
  -d '{"requests":[
    {"calculator":"vehicle-tax-refund","inputs":{"plan":"annual","paid":200,"expiry":"2027-08","told":"2026-11"}},
    {"calculator":"vehicle-tax-refund","inputs":{"plan":"annual","paid":200,"expiry":"2027-08","told":"2026-12"}}
  ]}'
```

The reply has a `results` list in the same order. Each item has `ok`, then either `data` or `error`. The batch counts as one request towards the rate limit.

## Errors

Errors use problem details ([RFC 9457](https://www.rfc-editor.org/rfc/rfc9457)) with the content type `application/problem+json`. Each has `type`, `title`, `status`, `detail`, a stable `code` and a `hint`. Invalid inputs are also listed in `errors`.

```
{
  "type": "https://readyreckoner.yv3.uk/developers/#error-invalid_input",
  "title": "Invalid input",
  "status": 422,
  "code": "invalid_input",
  "detail": "paid must be 0 or more.",
  "hint": "Correct the inputs listed in errors. The input schema is in the OpenAPI description.",
  "instance": "/api/v1/calculate/vehicle-tax-refund",
  "errors": ["paid must be 0 or more."]
}
```

`invalid_json` (400): Invalid JSON

Send a JSON object as the request body.

`not_found` (404): Not found

See https://readyreckoner.yv3.uk/api/openapi.json for the paths that exist.

`unknown_calculator` (404): Unknown calculator

Use a slug listed at https://readyreckoner.yv3.uk/api/v1/calculators.json.

`method_not_allowed` (405): Method not allowed

Use one of the methods in the Allow header.

`request_too_large` (413): Request too large

Send a smaller request body.

`invalid_input` (422): Invalid input

Correct the inputs listed in errors. The input schema is in the OpenAPI description.

`rate_limited` (429): Too many requests

Wait for the number of seconds in the Retry-After header, then try again.

`http_error` (500 or another status): Request failed

Try again later.

## Rate limit

You can make 120 requests in 60 seconds from one address to the API and the MCP server together. The count is kept in the memory of the server instance that answers, and each instance counts on its own, so treat the figure as the limit of one instance and not as a total across the service. Ordinary pages are not limited.

Replies carry `RateLimit-Policy` and `RateLimit`, and also `RateLimit-Limit`, `RateLimit-Remaining` and `RateLimit-Reset`. A refused request gets status 429 with `Retry-After`.

## Versioning

The version is part of the path: /api/v1/. Within v1, changes only add things, such as a new calculator, a new optional input or a new response field. Anything that would break a working client, such as removing or renaming a field or newly requiring an input, goes into a new path, /api/v2/. A calculator’s figures and rules change when the published rates and law behind them change; each result gives the date they were checked.

## Deprecation

Before an operation or version is removed, its responses carry a Deprecation header (RFC 9745) and a Sunset header (RFC 8594) giving the removal date, at least 180 days ahead, and the developer page says what replaces it. Nothing is deprecated now.

## What happens to what you send

Inputs sent to the API or the MCP server are used to work out the reply. The site’s code does not store or log them. To apply the rate limit it holds your network address and a count in memory, never on disk. The entry is cleared after its window when that instance handles later requests, or when the instance shuts down. This is different from using a calculator page, where what you type stays in your browser. The [privacy page](https://readyreckoner.yv3.uk/privacy/) covers hosting.

## Other ways in

-   [Ready Reckoner MCP server](https://readyreckoner.yv3.uk/mcp/), with one tool for each calculator.
-   Send `Accept: text/markdown` to any page address for its markdown version, or start from [llms.txt](https://readyreckoner.yv3.uk/llms.txt).
-   [The home page as data](https://readyreckoner.yv3.uk/?mode=agent).

## Calculators

| Name in the address | Required inputs |
| --- | --- |
| [`attendance-allowance-hospital`](https://readyreckoner.yv3.uk/attendance-allowance-hospital/) | `from1` |
| [`booklet-letter-or-large-letter`](https://readyreckoner.yv3.uk/booklet-letter-or-large-letter/) | `size`, `pages`, `paper`, `cover`, `envelope` |
| [`bulky-waste-vs-skip-bag`](https://readyreckoner.yv3.uk/bulky-waste-vs-skip-bag/) | None |
| [`bunting-fabric`](https://readyreckoner.yv3.uk/bunting-fabric/) | `runs`, `span`, `top`, `drop`, `gap`, `make`, `width`, `print`, `fabrics` |
| [`conservation-area-tree-notice`](https://readyreckoner.yv3.uk/conservation-area-tree-notice/) | `work`, `state`, `reply`, `served` |
| [`council-tax-moving`](https://readyreckoner.yv3.uk/council-tax-moving/) | `leave`, `newStart`, `oldAnnual`, `newAnnual`, `paid` |
| [`cycle-to-work-leaving`](https://readyreckoner.yv3.uk/cycle-to-work-leaving/) | `value`, `paid`, `salary` |
| [`energy-back-bill`](https://readyreckoner.yv3.uk/energy-back-bill/) | `amount`, `start`, `end`, `asked` |
| [`firewood-cost-per-kwh`](https://readyreckoner.yv3.uk/firewood-cost-per-kwh/) | `form0`, `size0`, `price0` |
| [`garden-waste-vs-tip`](https://readyreckoner.yv3.uk/garden-waste-vs-tip/) | `fee` |
| [`gas-bottle-hours-left`](https://readyreckoner.yv3.uk/gas-bottle-hours-left/) | `capacity` |
| [`high-hedge-height`](https://readyreckoner.yv3.uk/high-hedge-height/) | `current` |
| [`hire-car-prepaid-fuel`](https://readyreckoner.yv3.uk/hire-car-prepaid-fuel/) | `currency`, `offerType`, `offer`, `tank`, `unit`, `low`, `high`, `economyUnit`, `economy`, `pump` |
| [`homemade-rain-gauge-mm`](https://readyreckoner.yv3.uk/homemade-rain-gauge-mm/) | `method` |
| [`hot-water-bottle-date`](https://readyreckoner.yv3.uk/hot-water-bottle-date/) | `year`, `petal`, `dots`, `others`, `damage` |
| [`immersion-heater-timer`](https://readyreckoner.yv3.uk/immersion-heater-timer/) | `litres` |
| [`jam-setting-point-temperature`](https://readyreckoner.yv3.uk/jam-setting-point-temperature/) | None |
| [`lawn-spreader-calibration`](https://readyreckoner.yv3.uk/lawn-spreader-calibration/) | `kind`, `rate`, `passes`, `width`, `distance`, `before`, `after` |
| [`mulled-wine-punch-units`](https://readyreckoner.yv3.uk/mulled-wine-punch-units/) | `kind1`, `ml1`, `abv1`, `cup` |
| [`park-home-pitch-fee`](https://readyreckoner.yv3.uk/park-home-pitch-fee/) | `fee`, `per`, `review`, `served`, `form` |
| [`party-wall-notice-dates`](https://readyreckoner.yv3.uk/party-wall-notice-dates/) | `work`, `sent`, `start` |
| [`planning-enforcement-time-limit`](https://readyreckoner.yv3.uk/planning-enforcement-time-limit/) | `kind`, `from` |
| [`prepayment-debt-clearance`](https://readyreckoner.yv3.uk/prepayment-debt-clearance/) | `debt`, `topLow`, `topHigh` |
| [`rainwater-tank-size`](https://readyreckoner.yv3.uk/rainwater-tank-size/) | `region`, `area`, `storage`, `weekly` |
| [`right-to-reject-deadline`](https://readyreckoner.yv3.uk/right-to-reject-deadline/) | `delivered` |
| [`service-charge-18-month-rule`](https://readyreckoner.yv3.uk/service-charge-18-month-rule/) | `demand`, `share1` |
| [`stepped-fence-slope-posts`](https://readyreckoner.yv3.uk/stepped-fence-slope-posts/) | `panels`, `fall`, `panel`, `board`, `road`, `place` |
| [`tortoise-hibernation-weight`](https://readyreckoner.yv3.uk/tortoise-hibernation-weight/) | `start`, `entry`, `now`, `weighed` |
| [`towbar-bike-rack-weight`](https://readyreckoner.yv3.uk/towbar-bike-rack-weight/) | `carLimit`, `rackWeight`, `rackMax`, `perBike`, `bike1` |
| [`training-costs-repayment`](https://readyreckoner.yv3.uk/training-costs-repayment/) | `amount`, `start`, `leave`, `finalPay`, `hours` |
| [`vehicle-tax-refund`](https://readyreckoner.yv3.uk/vehicle-tax-refund/) | `plan`, `paid`, `expiry` |
| [`water-meter-switch-back`](https://readyreckoner.yv3.uk/water-meter-switch-back/) | `billed`, `days`, `unmetered`, `company`, `fitted` |
| [`water-off-compensation`](https://readyreckoner.yv3.uk/water-off-compensation/) | `off`, `offTime` |

---
Page: https://readyreckoner.yv3.uk/developers/
Estimates, not advice. All calculators: https://readyreckoner.yv3.uk/
Also by us: [Just Trees](https://justtrees.yv3.uk/), a free JSON and PHP var_dump viewer
