78trust / 100

Holiday

by quartermaster.surewhynot.app in Productivity & SaaS

x402 APIPassing, checked 2 h ago

Is a date a public holiday in a country (2-letter ISO code)? Returns the holiday name, its types, and the next upcoming holiday that year.

GET https://quartermaster.surewhynot.app/v1/holiday

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
645 ms typical, 888 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://quartermaster.surewhynot.app/v1/holiday?country=US&date=2026-01-01"
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%2Fquartermaster.surewhynot.app%2Fv1%2Fholiday
const res = await pay("https://quartermaster.surewhynot.app/v1/holiday?country=US&date=2026-01-01");
console.log(await res.json());

Example input

{
  "country": "US",
  "date": "2026-01-01"
}

Example output

{
  "country": "US",
  "date": "2026-01-01",
  "holiday": {
    "local_name": "New Year's Day",
    "name": "New Year's Day",
    "types": [
      "Public"
    ]
  },
  "is_holiday": true,
  "next_holiday": {
    "date": "2026-01-19",
    "name": "Martin Luther King, Jr. Day"
  },
  "source": "date.nager.at"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed402645 ms$0.001
6 h agoPassed402650 ms$0.001
9 h agoPassed402888 ms$0.001
13 h agoPassed40233 ms$0.001
16 h agoPassed402110 ms$0.001
19 h agoPassed4021.1 s$0.001
24 h agoPassed402518 ms$0.001