# UK Data API – Next Working Day

> UK Data API – Next Working Day is a paid API for AI agents from uk-data.agent-fee-check.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-12).

Returns the next UK working day after a given date, skipping weekends and bank holidays, for England & Wales, Scotland, or Northern Ireland

## Facts

- Endpoint: GET https://uk-data.agent-fee-check.workers.dev/working-days/next?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/uk-data-api-next-working-day-fed0af18
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_z4Lsa1BDOdxJHvmqKJaje

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-data-api-next-working-day-fed0af18
```

Example prompt: What's the next working day in England and Wales after 24 December 2026 — and list any bank holidays that will be skipped?

## When to prefer this

Choose this endpoint when you need to calculate the next UK working day from a known date with full awareness of regional bank holidays across England & Wales, Scotland, or Northern Ireland. It is preferable over generic date libraries that may not have up-to-date UK bank holiday data, and over manual lookup, especially around variable holidays like Easter. Ideal for scheduling payments, legal deadlines, invoice due dates, or any workflow that must respect UK public holidays by region.

## Known failure modes

- Missing required 'date' query parameter returns an error
- Date not in YYYY-MM-DD format causes a parse error
- Invalid region enum value returns a 400 error
- Dates far in the future may lack bank holiday data and return incomplete results
- Network or worker timeout returns a 5xx error

## How this service works

UK public data for AI agents, one origin, pay per call: a one-call postcode report, street crime, live flood warnings, property sales and the House Price Index, food hygiene ratings, MP lookup, NHS GPs, pharmacies and dentists, Companies House checks and search, UK working days and bank holidays, and the cheapest card machine provider. Official sources, attribution in every answer, free preview in every 402, failed requests never charged.

## Output

A JSON object containing the input start date with its day name and working-day status, the next working day's date and day name, the UK region used, a human-readable summary sentence, and a list of bank holiday names and dates that were skipped to arrive at the next working day.

## 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": [
      "date"
     ],
     "properties": {
      "date": {
       "type": "string",
       "description": "Start date, YYYY-MM-DD"
      },
      "region": {
       "enum": [
        "england-and-wales",
        "scotland",
        "northern-ireland"
       ],
       "type": "string",
       "description": "england-and-wales (default), scotland or northern-ireland"
      },
      "inclusive": {
       "enum": [
        "true",
        "false"
       ],
       "type": "string",
       "description": "true to count the date itself if it is a working day"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "from": {
   "day": "Thursday",
   "date": "2026-12-24",
   "working_day": true
  },
  "region": "england-and-wales",
  "summary": "The next working day after 2026-12-24 in England and Wales is Tuesday 2026-12-29.",
  "next_working_day": {
   "day": "Tuesday",
   "date": "2026-12-29",
   "working_day": true
  },
  "bank_holidays_skipped": [
   "2026-12-25 Christmas Day",
   "2026-12-28 Boxing Day"
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/uk-data-api-next-working-day-fed0af18/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from uk-data.agent-fee-check.workers.dev](https://www.zero.xyz/host/uk-data.agent-fee-check.workers.dev/llms.txt)
