78trust / 100

Holiday Calendar

by api.strale.io in Productivity & SaaS

x402 APIPassing, checked 4 h ago

Get public holidays by country and year for the 200+ countries covered by Nager.Date. Returns holiday names, dates, types (public/bank/optional), and whether they are fixed or variable.

GET https://api.strale.io/x402/holiday-calendar

Last 30 days

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

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://api.strale.io/x402/holiday-calendar"
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%2Fapi.strale.io%2Fx402%2Fholiday-calendar
const res = await pay("https://api.strale.io/x402/holiday-calendar");
console.log(await res.json());

Example input

{
  "country_code": {
    "description": "ISO 2-letter country code",
    "required": true,
    "type": "string"
  },
  "year": {
    "description": "Year (default current year)",
    "type": "integer"
  }
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
4 h agoPassed402354 ms$0.022
8 h agoPassed402127 ms$0.022
11 h agoPassed402206 ms$0.022
15 h agoPassed402130 ms$0.022
18 h agoPassed402129 ms$0.022
24 h agoPassed402124 ms$0.022