# usaref Public Holidays by Country

> usaref Public Holidays by Country is a paid API for AI agents from usaref.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-29).

Returns official public holidays for a specified North American country, cited to the official gazette or government source with dates and descriptions

## Facts

- Endpoint: GET https://usaref.dev/v1/holidays/%7Bcountry%7D?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/usaref-public-holidays-by-country-8a287178
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_126rsMS2ZKwH0CR2kzGVr

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability usaref-public-holidays-by-country-8a287178
```

Example prompt: What are the official public holidays in Mexico this year? I need the dates cited to the government source.

## When to prefer this

Choose this endpoint when you need authoritative, gazette-cited public holiday data for North American countries with source provenance and confirmation dates — especially for compliance, payroll, or legal use cases where an official citation matters. Prefer over generic holiday APIs when you need the official source URL and last-confirmed date. Use the working-days sibling endpoint if you need to compute working days across a date range rather than just list holidays.

## Known failure modes

- Country not supported — endpoint returns an error or refusal for countries outside the covered 10
- Invalid country code or name — malformed path parameter returns 4xx error
- Payment failure — x402 payment not completed results in 402 response
- Stale data warning — last_confirmed date is old, stale flag may be set
- Rate limit exceeded on free tier — exceeds 50 free calls per day

## How this service works

North American government reference data for 10 countries as cited JSON: central-bank policy rates, VAT/GST and VAT registration thresholds, CPI, corporate, personal and withholding tax, social contributions, minimum wages, statutory interest, official FX rates, filing deadlines and public holidays (coverage varies by country). Every value carries its official source URL and last-confirmed date. Single facts $0.003; country brief (every series for one country) $0.01; cross-country compare (one series, up to 10 countries) $0.02; tax-ID and VAT-number checks $0.003; computed answers (VAT, income tax, working days, minimum-wage check) $0.01-$0.02. Pay per call in USDC on Base via x402 or MPP, no signup, or by card with credit packs or monthly plans on one key valid across all 7 regional services. Free tier: GET /catalog, plus a free email key with 50 answer calls a day, commercial use allowed. Finished answers, one cited dossier per call (supported countries vary per job; others are refused free): cost this hire (wage-floor verdict, contributions, employer cost) $0.50; charge this sale (which VAT applies, net/VAT/gross) $0.50; charge this sale certified (plus a signed VAT-rate extract) $0.75; invoice due date and statutory late interest $0.40; country evidence pack (brief plus signed extracts) $0.25; hire compare $0.75 for 2 countries, $1.00 for 3-5; next filings (VAT, PAYE, corporate-tax due dates rolled for holidays) $0.35.

Free trial: 3 computed-answer calls per day per IP on POST /v1/answers/* with header X-Free-Trial: 1 (without it, the normal x402 402; once used up, the 402 carries free_trial_resets_at). MCP answer tools use the trial automatically when no api_key is passed. Every series of the evaluation country is free. Card credit (same per-call price as x402): /pricing.

## Output

A JSON array of public holidays for the requested country, each entry including the holiday date, name or description, official source URL (gazette or government site), and a last-confirmed date indicating when the data was verified. A staleness flag may also be present.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/usaref-public-holidays-by-country-8a287178/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from usaref.dev](https://www.zero.xyz/host/usaref.dev/llms.txt)
