80trust / 100
World Holidays
by tokenguard in Productivity & SaaS
x402 APIPassing, checked 14 min ago
Which days are public holidays in this country? Full year of national and regional holidays with local names and a past/upcoming flag — date arithmetic an agent cannot infer from a calendar alone
POST https://eltociear-tokenguard.hf.space/world/holidays
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 119 ms typical, 119 ms slowest 5%
- Last check
- 14 min ago
- Next check
- in 14 min
How to call it
# See the payment challenge (nothing is charged)
curl -i -X POST "https://eltociear-tokenguard.hf.space/world/holidays" \
-H "content-type: application/json" \
-d '{"country":"JP","year":2026}'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%2Feltociear-tokenguard.hf.space%2Fworld%2Fholidays
const res = await pay("https://eltociear-tokenguard.hf.space/world/holidays", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"country":"JP","year":2026}),
});
console.log(await res.json());Example input
{
"country": "JP",
"year": 2026
}Example output
{
"count": 16,
"country": "JP",
"holidays": [
{
"date": "2026-01-01",
"local_name": "元日",
"name": "New Year's Day",
"nationwide": true,
"past": true
}
],
"year": 2026
}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 |
|---|---|---|---|---|
| 14 min ago | Passed | 402 | 119 ms | $0.02 |
| 5 h ago | Passed | 402 | 121 ms | $0.02 |