78trust / 100

Business Days

by Holiday Calendar API in Productivity & SaaS

x402 APIPassing, checked 2 h ago

Business-day count excluding weekends and full-day Public or Bank holidays; Optional and HalfDay observances remain business days.

GET https://holidays.use.x402atlas.com/business-days

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
453 ms typical, 484 ms slowest 5%
Last check
2 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://holidays.use.x402atlas.com/business-days?country=DE&from=2026-01-01&language=EN&subdivision=DE-BE&to=2026-01-10"
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fholidays.use.x402atlas.com%2Fbusiness-days
const res = await pay("https://holidays.use.x402atlas.com/business-days?country=DE&from=2026-01-01&language=EN&subdivision=DE-BE&to=2026-01-10");
console.log(await res.json());

Example input

{
  "country": "DE",
  "from": "2026-01-01",
  "language": "EN",
  "subdivision": "DE-BE",
  "to": "2026-01-10"
}

Example output

{
  "business_days": 6,
  "country": "DE",
  "from": "2026-01-01",
  "holiday_weekdays": 1,
  "queried_at": "2026-07-27T12:00:00Z",
  "subdivision": "DE-BE",
  "to": "2026-01-10",
  "total_days": 10,
  "weekend_days": 3
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed402425 ms$0.005
6 h agoPassed402484 ms$0.005
9 h agoPassed402435 ms$0.005
13 h agoPassed402484 ms$0.005
16 h agoPassed402535 ms$0.005
19 h agoPassed402436 ms$0.005
25 h agoPassed402453 ms$0.005