{"uid":"cap_LR-ZXyetfg4kcUADDGdSU","slug":"oromi-uk-working-days-calculator-47ffaf31","name":"Oromi UK Working Days Calculator","description":"Machine-payable APIs for AI agents, paid per call in USDC via the x402 protocol: UK business data (Companies House), UK property market data (HM Land Registry), website agent-readiness audits, and crypto market context.","url":"https://agents.oromi.co.uk/api/util/uk-working-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":["from"],"properties":{"to":{"type":"string","description":"End date (mutually exclusive with add)"},"add":{"type":"string","description":"Working days to add"},"from":{"type":"string","description":"Start date YYYY-MM-DD"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"from":"2026-07-21","result_date":"2026-08-04","working_days_added":10}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_8kaaxqarqhqUPdVERTqzr","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Calculates UK working days between two dates or adds a specified number of UK working days to a start date, accounting for UK bank holidays and weekends.","exampleAgentPrompt":"What date will it be 10 UK working days from 2026-07-21? I need to account for UK bank holidays.","exampleUseCases":[{"title":"Contract notice period end date","prompt":"Our supplier gave notice on 2026-09-01 and their contract requires 20 UK working days notice — what date does the notice period end?"},{"title":"Invoice payment due date","prompt":"We received an invoice on 2026-08-10 with 30 UK working day payment terms — what date is payment actually due?"},{"title":"Days between two UK business dates","prompt":"How many UK working days are there between 2026-06-01 and 2026-07-15, excluding weekends and bank holidays?"}],"resultDescription":"A JSON object containing the input start date (from), the calculated result date (result_date in YYYY-MM-DD format), and the number of working days added (working_days_added) — all accounting for UK weekends and bank holidays.","failureModes":["Missing required 'from' parameter returns an error","Supplying both 'to' and 'add' simultaneously is invalid as they are mutually exclusive","Invalid date format (non-YYYY-MM-DD) causes a parsing error","Payment failure via x402 protocol if USDC balance is insufficient"],"whenToPreferThis":"Choose this endpoint when you need UK-specific working day calculations that correctly exclude UK bank holidays (not just weekends), such as for legal notice periods, payment terms, settlement dates, or compliance deadlines governed by UK business calendar rules. Prefer over generic date libraries that may not include up-to-date UK bank holiday data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:51:25.752Z","isFirstParty":false}