# Mearef Public Holidays by Country

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

Returns official public holidays for a specified Middle Eastern country, cited to the official gazette or government source with dates and metadata.

## Facts

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

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 mearef-public-holidays-by-country-8005e7d7
```

Example prompt: Can you pull the official public holidays for Saudi Arabia from mearef, with their gazette citations and confirmed dates?

## When to prefer this

Choose this endpoint when you need authoritative, gazette-cited public holiday data for Middle Eastern countries with traceable official sources — ideal for compliance, payroll, contract, or scheduling workflows where citation provenance matters. Prefer over generic holiday APIs when operating in the Middle East region and needing source verification.

## Known failure modes

- Unsupported country returns an error or empty response — coverage is limited to the 9 supported Middle Eastern countries
- Stale data flag if the official source has not been re-confirmed recently
- Invalid or unrecognized country code/name returns a 400 or 404 error
- Network or payment failure (x402 protocol) if USDC balance is insufficient

## How this service works

Middle Eastern government reference data for 9 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, official gazette or government source URL, and the last-confirmed date. Coverage and number of entries varies by country.

## Request schema (JSON Schema)

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

## More

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