# latamref.dev Working Days / Government Reference Data

> latamref.dev Working Days / Government Reference Data is a paid API for AI agents from latamref.dev, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-15).

Returns current government reference data (policy rate, VAT, minimum wage, public holidays, CPI, corporate tax, or income tax) for a specified Latin American country

## Facts

- Endpoint: POST https://latamref.dev/v1/answers/working-days
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/latamref-dev-working-days-government-reference-data-f0a30c0f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ZhgTD960Glsptaw47j8mM

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 latamref-dev-working-days-government-reference-data-f0a30c0f -d '<json body>'
```

Example prompt: What's the current VAT rate in Mexico right now — can you pull the latest official figure from latamref, including whether the data is still fresh?

## When to prefer this

Use this endpoint when you need authoritative, up-to-date government reference data for Latin American countries — specifically one of the 12 supported nations and one of the 7 defined series. Prefer this over general web search when you need structured, machine-readable output with source attribution and freshness metadata. Ideal for financial, compliance, or policy applications requiring official fiscal and monetary figures.

## Known failure modes

- Invalid or unsupported country code returns an error (supported: ar, br, cl, co, cr, do, ec, gt, mx, pe, py, uy)
- Invalid or unsupported series name returns an error (supported: policy-rate, vat, minimum-wage, public-holidays, cpi, corporate-tax, income-tax)
- stale:true flag indicates data is past its expected update cycle and should be treated with caution
- Payment failure (x402) if USDC payment of $0.005 is not provided or is rejected
- Network timeout or service unavailability

## How this service works

Working days in a date range: weekends + public holidays applied, next working day

## Output

A JSON object containing the country code, series identifier, current value (a number for rates/wages or an array of date+name objects for holiday calendars), the effective-from date, last-confirmed date, source name and URL, unit, optional notes, a staleness boolean flag, and optional breakdown of composite rate components.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/latamref-dev-working-days-government-reference-data-f0a30c0f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from latamref.dev](https://www.zero.xyz/host/latamref.dev/llms.txt)
