75trust / 100
Holidays
by Agent Hub in Productivity & SaaS
x402 APIPassing, checked 2 h ago
Public holidays for 100+ countries (optional state/province), plus business-day math: count business days between two dates, add N business days to a date, or check if a date is a business day.
GET https://agents.torbrooknews.com/v1/holidays
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 37 ms typical, 37 ms slowest 5%
- Last check
- 2 h ago
- Next check
- in 4 h
How to call it
# See the payment challenge (nothing is charged)
curl -i -X GET "https://agents.torbrooknews.com/v1/holidays?add_business_days=3&country=CA&from=2026-12-23®ion=ON"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%2Fagents.torbrooknews.com%2Fv1%2Fholidays
const res = await pay("https://agents.torbrooknews.com/v1/holidays?add_business_days=3&country=CA&from=2026-12-23®ion=ON");
console.log(await res.json());Example input
{
"add_business_days": 3,
"country": "CA",
"from": "2026-12-23",
"region": "ON"
}Example output
{
"add_business_days": {
"days": 3,
"from": "2026-12-23",
"result": "2026-12-29"
},
"country": "CA",
"holidays": [
{
"date": "2026-12-25",
"name": "Christmas Day"
}
]
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 2 h ago | Passed | 402 | 37 ms | $0.001 |