# Ausref Public Holidays by Country

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

Returns official public holidays for a specified Australasian country as gazette-cited JSON with source URLs and confirmation dates

## Facts

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

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 ausref-public-holidays-by-country-bf43245d
```

Example prompt: What are the official public holidays in New Zealand this year? I need the gazette-cited list with dates and source URLs.

## When to prefer this

Choose this endpoint when you need official, gazette-cited public holiday data for Australasian and Pacific Island countries (Australia, New Zealand, Fiji, Papua New Guinea, Samoa, Tonga, and similar covered nations) and require traceable source URLs and confirmation dates for compliance or audit purposes. Prefer it over generic holiday APIs when citation provenance matters — e.g. payroll, legal, or regulatory use cases. Not suitable for countries outside the 8-country Oceania coverage.

## Known failure modes

- Country not supported — endpoint refuses with an error indicating the country is outside the 8-country coverage
- Invalid country identifier — malformed or unrecognised country code returns an error
- Payment not attached or insufficient — x402 payment required error if no USDC payment is provided
- Stale data warning — response includes a stale flag if the data has not been recently confirmed against official sources
- Rate limit exceeded on free tier — daily free call limit reached

## How this service works

Australasian government reference data for 8 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 object listing official public holidays for the requested country, including holiday names, dates, official government source URLs, last-confirmed dates, and a staleness flag indicating whether the data may be outdated.

## Request schema (JSON Schema)

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

## More

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