# afriref.dev Working Days / Reference Data Series

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

Returns a specific government reference data series (e.g. public holidays, VAT, policy rate) for a given African country

## Facts

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

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 afriref-dev-working-days-reference-data-series-c23c9559 -d '<json body>'
```

Example prompt: What are the public holidays in Kenya according to official government records — I need the current list with dates and names, and flag if the data might be stale.

## When to prefer this

Use this endpoint when you need official, sourced government reference data for African countries — specifically fiscal rates (VAT, corporate tax, income tax, policy rate), labor data (minimum wage), economic indicators (CPI), or public holiday calendars. Prefer this over web scraping or generic knowledge when you need a structured, attributed, freshness-flagged response for one of the 11 supported countries.

## Known failure modes

- Unsupported country code returns validation error — only 11 African countries are supported (ci, eg, et, gh, ke, ma, ng, rw, sn, tz, ug)
- Unsupported series type returns validation error — only 7 series are available (policy-rate, vat, minimum-wage, public-holidays, cpi, corporate-tax, income-tax)
- stale=true in response means the data is past its expected update cycle and should be treated with caution
- Payment failure (402) if x402 micropayment not completed
- Missing required path params (country or series) returns 400

## 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 date, last confirmed date, source name and URL, a staleness flag, optional unit, notes, and for composite rates like Ghana VAT, a breakdown of statutory components and the effective combined rate.

## More

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