# UK Working Days - Count Working Days Between Dates

> UK Working Days - Count Working Days Between Dates is a paid API for AI agents from uk-working-days.agent-fee-check.workers.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-22).

Counts the number of UK working days between two dates, excluding weekends and bank holidays, for England & Wales, Scotland, or Northern Ireland.

## Facts

- Endpoint: GET https://uk-working-days.agent-fee-check.workers.dev/count?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/uk-working-days-count-working-days-between-dates-229f1bcd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_vHFtre-6SFKh_PyfliSc3

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-working-days-count-working-days-between-dates-229f1bcd
```

Example prompt: How many working days are there between 1st March 2025 and 31st March 2025 in England and Wales, excluding bank holidays?

## When to prefer this

Choose this endpoint when you need an authoritative count of UK working days between two dates using official GOV.UK bank holiday data, specifically for England & Wales, Scotland, or Northern Ireland. Prefer this over generic business-day calculators when UK region-specific bank holidays matter, such as for payment settlement windows, notice periods, or regulatory compliance deadlines.

## Known failure modes

- Dates outside GOV.UK bank holiday coverage range are refused with an error rather than guessed
- Invalid date formats (non-YYYY-MM-DD) will be rejected
- 'from' date later than 'to' date may return an error or zero count
- Invalid region values not matching the enum will be rejected
- Network or upstream GOV.UK API failure could cause service unavailability

## How this service works

UK working-day calculator using GOV.UK bank holidays for England and Wales, Scotland or Northern Ireland. Next working day, add or subtract working days (e.g. payment settlement, notice periods, delivery dates), count working days between dates, and list bank holidays. Dates must fall within GOV.UK coverage; out-of-range dates are refused, not guessed.

## Output

A plain-text summary string stating the number of working days counted between the two specified dates for the chosen UK region, based on GOV.UK official bank holiday data.

## 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": [
      "from",
      "to"
     ],
     "properties": {
      "to": {
       "type": "string",
       "description": "Last day (inclusive) as YYYY-MM-DD"
      },
      "from": {
       "type": "string",
       "description": "First day as YYYY-MM-DD"
      },
      "region": {
       "enum": [
        "england-and-wales",
        "scotland",
        "northern-ireland"
       ],
       "type": "string",
       "description": "Defaults to england-and-wales"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "to": "2026-12-31",
  "from": "2026-12-01",
  "region": "england-and-wales",
  "summary": "21 working days from 2026-12-01 to 2026-12-31 inclusive in England and Wales (2 weekday bank holidays).",
  "weekend_days": 8,
  "working_days": 21,
  "bank_holidays": [
   {
    "date": "2026-12-25",
    "title": "Christmas Day"
   },
   {
    "date": "2026-12-28",
    "title": "Boxing Day"
   }
  ],
  "calendar_days": 31
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/uk-working-days-count-working-days-between-dates-229f1bcd/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from uk-working-days.agent-fee-check.workers.dev](https://www.zero.xyz/host/uk-working-days.agent-fee-check.workers.dev/llms.txt)
