{"uid":"cap_L_uvpMw7fZRX95RBC9ECb","slug":"agent402-uk-business-days-calculator-f0e62c6d","name":"Agent402 UK Business Days Calculator","description":"Don't burn tokens on deterministic work. Go/no-go jobs first: payout preflight, text firewall (PII/secrets), budget check — then rails, calendars, finmath. x402 USDC on Base. UK + global. agent402.co.uk — not agent402.tools. $0.001–$0.002 USDC on Base. No API keys.","url":"https://agent402.co.uk/v1/time/business-days","method":"GET","headers":{},"bodySchema":{"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":["start","end"],"properties":{"end":{"type":"string","description":"End date YYYY-MM-DD"},"start":{"type":"string","description":"Start date YYYY-MM-DD"},"region":{"type":"string","description":"england-and-wales | scotland | northern-ireland"},"country":{"type":"string","description":"GB|UK enables UK bank holidays"},"division":{"type":"string","description":"Alias for region (GOV.UK key)"},"exclude_holidays":{"type":"string","description":"true|false — default true when country/region set"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"end":"2026-08-10","note":"Weekends and UK bank holidays excluded.","start":"2026-08-01","business_days":6}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_IE2IbvS8odo45n6bvuNQf","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Counts business days between two dates (inclusive), optionally excluding UK bank holidays by region from GOV.UK OGL data, for SLA and delivery ETA calculations.","exampleAgentPrompt":"How many business days are there between 2024-12-20 and 2025-01-10 in England and Wales, excluding UK bank holidays?","exampleUseCases":[{"title":"UK delivery SLA window check","prompt":"I need to know how many business days there are between 2025-03-28 and 2025-04-15 in England and Wales, excluding UK bank holidays — we're calculating a delivery ETA for a customer."},{"title":"Contract notice period in Scotland","prompt":"Can you count the business days between 2025-05-01 and 2025-05-30 for Scotland, making sure to exclude Scottish bank holidays? I need this for a contract notice period."},{"title":"End-of-year working days count","prompt":"How many working days are left between 2024-12-01 and 2024-12-31 in the UK, excluding all GB bank holidays? I'm trying to plan sprint capacity for December."}],"resultDescription":"Returns the count of business days between the start and end dates (inclusive), with weekends excluded by default, and optionally with UK public bank holidays removed based on the specified country (GB/UK) and region (england-and-wales, scotland, or northern-ireland), sourced from GOV.UK OGL data.","failureModes":["Missing required start or end date parameters returns a validation error","Invalid date format (not YYYY-MM-DD) causes a parse error","Unrecognised country or region code may fall back to weekends-only calculation or return an error","Date range where start is after end may return zero or an error","GOV.UK bank holiday data fetch failure may cause degraded results without holiday exclusion"],"whenToPreferThis":"Choose this endpoint when you need accurate UK-specific business day counts that respect regional bank holiday variations (England & Wales, Scotland, Northern Ireland) sourced authoritatively from GOV.UK. Prefer it over generic date calculators for any UK SLA, delivery ETA, contract notice period, or compliance deadline calculation where public holidays matter.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T11:27:55.336Z","isFirstParty":false}