InputPOST /api/v1/x402/business-days
{
"start_date": "2026-01-05",
"end_date": "2026-01-09",
"calendar": "weekdays"
}
Web and API intelligence · utility
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.
One-command purchase
No account or API key. AgentCash reads the 402 challenge, pays no more than the declared cap, retries the request and returns the result.
npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/business-days -m POST -H 'x-delx-source: product-page' --max-amount 0.002 -b '{"start_date":"2026-01-05","end_date":"2026-01-09","calendar":"weekdays"}'
{
"start_date": "2026-01-05",
"end_date": "2026-01-09",
"calendar": "weekdays"
}
{
"tool_name": "util_business_days",
"result": {
"schema": "delx/business-days/v1",
"start_date": "2026-01-05",
"end_date": "2026-01-09",
"calendar": "weekdays",
"business_day_count": 5,
"calendar_day_count": 5,
"excluded_weekends": 0,
"excluded_holidays": 0,
"business_days": [
"2026-01-05",
"2026-01-06",
"2026-01-07",
"2026-01-08",
"2026-01-09"
],
"truncated": false,
"note": "Inclusive range. us_federal uses observed US federal holiday rules; not legal advice."
}
}
Example computed locally; this is not a paid delivery receipt.
Machine-readable evidence