# UK Open Data – Next Bank Holiday

> UK Open Data – Next Bank Holiday 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 the next UK bank holiday on or after a given date for England and Wales, Scotland, or Northern Ireland, plus the following two upcoming holidays.

## Facts

- Endpoint: GET https://uk-open-data.x402tookit.com/next-bank-holiday?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-next-bank-holiday-0df6edce
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8WlMphNxEtMByy-nQ9dT9

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-next-bank-holiday-0df6edce
```

Example prompt: What's the next bank holiday in Scotland after 1st June 2025, and what are the two after that?

## When to prefer this

Use this endpoint when you need quick, structured access to the next 1–3 upcoming UK bank holidays for a specific region, especially when you need the number of days away or a human-readable summary. Prefer this over the full-year bank holiday listing endpoint when you only need near-future holidays and don't want to parse a full calendar. Ideal for scheduling, payroll, logistics, or any agent workflow that needs to check proximity to a public holiday.

## Known failure modes

- Invalid date format for 'from' parameter returns an error
- Invalid division enum value returns an error
- If the official GOV.UK bank holiday feed is unavailable, the response may be degraded (degraded: true) with reduced accuracy
- Requests for dates beyond the end of the available government feed may return partial or no results (feedEnds field indicates coverage limit)

## How this service works

Next UK bank holiday on or after a date (default today) for England and Wales, Scotland or Northern Ireland, plus the next two.

## Output

Returns a structured object with the next bank holiday on or after the requested date for the specified UK division (england-and-wales by default), including its date, title, weekday, and number of days away, plus the following two upcoming bank holidays with the same fields. Also includes metadata such as the division queried, the from date, an as-of timestamp, feed end date, a plain-English summary and verdict, and a degraded flag indicating any data quality issues.

## 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": {
      "from": {
       "type": "string",
       "description": "YYYY-MM-DD to count from, default today (UTC)"
      },
      "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"
       ]
      },
      "from": {
       "type": [
        "null",
        "string"
       ]
      },
      "next": {
       "type": [
        "null",
        "object"
       ],
       "properties": {
        "date": {
         "type": [
          "null",
          "string"
         ]
        },
        "notes": {},
        "title": {
         "type": [
          "null",
          "string"
         ]
        },
        "weekday": {
         "type": [
          "null",
          "string"
         ]
        },
        "daysAway": {
         "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"
       ]
      },
      "feedEnds": {
       "type": [
        "null",
        "string"
       ]
      },
      "sourceUrl": {
       "type": [
        "null",
        "string"
  
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/uk-open-data-next-bank-holiday-0df6edce/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)
