Skip to content
Fourohtwo

China public holiday status and calendar

cn-data-x402.cn-data-x402-worker.workers.dev/cn/holiday

China public holiday status and calendar. Today's status (holiday / makeup workday / normal weekend / workday) plus the full year list of statutory days off and makeup workdays, with festival names and overtime pay multipliers. Optional ?date=YYYY-MM-DD. No API key and no signup: call the endpoint, it answers HTTP 402 with the payment terms, pay per request in USDC on Base with any x402-compatible

BaseAnswering
GEThttps://cn-data-x402.cn-data-x402-worker.workers.dev/cn/holiday

Uptime100% of 1 check in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://cn-data-x402.cn-data-x402-worker.workers.dev/cn/holiday");
console.log(await res.json());

Example input

{}

More from CN Data