# UK Open Data – Bank Holidays

> UK Open Data – Bank Holidays is a paid API for AI agents from uk-open-data.x402tookit.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-12-05).

Returns official UK bank holidays for a given year and division (England & Wales, Scotland, or Northern Ireland), including weekday names, sourced from GOV.UK.

## Facts

- Endpoint: GET https://uk-open-data.x402tookit.com/bank-holidays?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-12-05
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/uk-open-data-bank-holidays-6956a465
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_cKUETbjKZtSz8z0IWO8Sh

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability uk-open-data-bank-holidays-6956a465
```

Example prompt: Can you list all the official bank holidays in Scotland for 2025, including which day of the week they fall on?

## When to prefer this

Choose this endpoint when you need authoritative, GOV.UK-sourced UK bank holiday data for a specific year and one of the three UK divisions (England & Wales, Scotland, Northern Ireland). It is ideal for scheduling, HR systems, compliance checks, or calendar enrichment where official government data is required rather than a generic holidays API.

## Known failure modes

- Invalid or unsupported division value returns an error
- Year parameter out of range or missing data for that year may return an empty holiday list or degraded response
- Network or upstream GOV.UK data source unavailability may result in a degraded or null response
- Payment failure (x402) blocks the request entirely

## How this service works

Official UK bank holidays for England and Wales, Scotland or Northern Ireland in a given year, with weekdays, from GOV.UK.

## Output

Returns a structured list of bank holidays for the requested year and UK division, each with a date (ISO string), holiday title, weekday name, optional notes, and a bunting flag. Also includes a count, division name, the data source URL, coverage date range, and a summary verdict with any degradation flags.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "year": {
       "type": "integer",
       "description": "Calendar year, default the current year"
      },
      "division": {
       "enum": [
        "england-and-wales",
        "scotland",
        "northern-ireland"
       ],
       "type": "string",
       "description": "england-and-wales (default), scotland or northern-ireland"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "year": {
       "type": [
        "null",
        "number"
       ]
      },
      "count": {
       "type": [
        "null",
        "number"
       ]
      },
      "source": {
       "type": [
        "null",
        "string"
       ]
      },
      "reasons": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "summary": {
       "type": [
        "null",
        "string"
       ]
      },
      "verdict": {
       "type": [
        "null",
        "string"
       ]
      },
      "degraded": {
       "type": [
        "boolean",
        "null"
       ]
      },
      "division": {
       "type": [
        "null",
        "string"
       ]
      },
      "holidays": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "object",
        "properties": {
         "date": {
          "type": [
           "null",
           "string"
          ]
         },
         "notes": {
          "type": [
           "null",
           "string"
          ]
         },
         "title": {
          "type": [
           "null",
           "string"
          ]
         },
         "bunting": {
          "type": [
           "boolean",
           "null"
          ]
         },
         "weekday": {
          "type": [
       
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/uk-open-data-bank-holidays-6956a465/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from uk-open-data.x402tookit.com](https://www.zero.xyz/host/uk-open-data.x402tookit.com/llms.txt)
