{"uid":"cap_rQvlouZpc8DJuByFfD5Mb","slug":"delx-business-days-0c161e7d","name":"Delx Business Days","description":"Business-day counter for agents: weekdays or US federal holidays for $0.002 USDC—first-party calendar, no third-party API. Call when you need this bounded result without an API key or subscription. Returns machine-readable JSON via x402 on Base or Solana. Limitation: results cover only the supplied input or one bounded public endpoint at request time; callers must verify before acting.","url":"https://api.delx.ai/api/v1/x402/business-days","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input","output"],"properties":{"input":{"type":"object","required":["type","bodyType","body"],"properties":{"body":{"type":"object","additionalProperties":true},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type","example"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object","additionalProperties":true}}}}},"responseSchema":{"type":"json","example":{}},"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_fx9bJZq9ZTOIWLLIYQ0pq","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":"Counts business days between two dates, accounting for weekdays and US federal holidays, without relying on any third-party calendar API.","exampleAgentPrompt":"How many business days are there between March 3, 2025 and April 18, 2025, excluding US federal holidays?","exampleUseCases":[{"title":"Contract deadline calculation","prompt":"I signed a contract on February 10, 2025 that requires delivery within 30 business days — what's the actual calendar date that falls on, excluding US federal holidays?"},{"title":"Payroll processing window","prompt":"How many business days are there between April 1 and April 30, 2025 if we exclude US federal holidays? I need to plan our payroll schedule."},{"title":"SLA compliance check","prompt":"A support ticket was opened on November 20, 2024 and closed on December 5, 2024 — how many business days elapsed, excluding US federal holidays?"}],"resultDescription":"Returns the count of business days between the specified start and end dates, with US federal holidays optionally excluded from the weekday count, giving an integer result and details about the date range used.","failureModes":["Invalid or unparseable date format returns an error","End date before start date may return zero or an error","Unsupported calendar type parameter returns a validation error","Payment failure via x402 protocol prevents the call from completing","Extremely large date ranges may return unexpected results"],"whenToPreferThis":"Choose this endpoint when you need a reliable, first-party business-day count without integrating a third-party calendar service. It is ideal for scheduling, SLA calculations, contract deadlines, and payroll windows where US federal holidays matter. Prefer it over manual date arithmetic or general-purpose date libraries when accuracy around US holidays is required and you want a single deterministic API call at very low cost ($0.002 USDC).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T01:00:46.256Z","isFirstParty":false}