80trust / 100

Calendar Holidays

by 1gateway in Productivity & SaaS

x402 APIPassing, checked 2 h ago

Use when you need South Korea's official public holidays for a year (business-day calculation, scheduling, settlement and payroll calendars). Data: KASI (Korea Astronomy and Space Science Institute) special-day register, incl. substitute and temporary holidays once promulgated. Input: year (YYYY, 2004-2100). Output: JSON list with date, weekday, Korean and English name, isPublicHoliday, kind. Example: ?year=2026

GET https://1gateway.dev/v1/calendar/holidays

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
39 ms typical, 39 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://1gateway.dev/v1/calendar/holidays?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%2F1gateway.dev%2Fv1%2Fcalendar%2Fholidays
const res = await pay("https://1gateway.dev/v1/calendar/holidays?year=2026");
console.log(await res.json());

Example input

{
  "year": 2026
}

Example output

{
  "attribution": "Source: Korea Astronomy and Space Science Institute (한국천문연구원) special-day data via data.go.kr (dataset 15012690, no usage restriction). Translated by this serv…",
  "cache": "miss",
  "count": 22,
  "country": "KR",
  "holidays": [
    {
      "date": "2026-01-01",
      "dayOfWeek": "Thursday",
      "isPublicHoliday": true,
      "kind": "national_holiday_or_public_holiday",
      "kindCode": "01",
      "nameEn": "New Year's Day",
      "nameKo": "1월1일"
    }
  ],
  "notes": [
    "isPublicHoliday reflects 공공기관 휴일여부 (government office holiday). Substitute holidays appear only after official promulgation."
  ],
  "publicHolidayCount": 22,
  "timezone": "Asia/Seoul",
  "year": 2026
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed40239 ms$0.0027
7 h agoPassed40241 ms$0.0027