# Afriref Country Brief – Pan-African Government Reference Data

> Afriref Country Brief – Pan-African Government Reference Data is a paid API for AI agents from afriref.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-28).

Returns a comprehensive set of government reference data for a single African country in one call, including policy rate, VAT/GST, CPI, income/corporate/withholding tax, minimum wage, and public holidays, each with value, unit, effective date, last-confirmed date, official source, and confidence label.

## Facts

- Endpoint: GET https://afriref.dev/v1/brief/:country?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-28
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/afriref-country-brief-pan-african-government-reference-data-aa5c4390
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_v5o1aHT9Lcx07YYeMOPJO

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-country-brief-pan-african-government-reference-data-aa5c4390
```

Example prompt: Pull the full government reference brief for Kenya — I need the policy rate, VAT rate, corporate tax rate, minimum wage, and CPI all in one go with their official sources and effective dates.

## When to prefer this

Choose this endpoint when you need a comprehensive, single-call snapshot of all key government reference data for an African country — particularly for compliance, market entry, payroll setup, or investment due diligence workflows where sourcing each figure individually would require multiple calls or manual research. It is ideal when you need official source citations and effective dates alongside the values, and when Africa-specific statutory accuracy is critical.

## Known failure modes

- Invalid or unsupported country code returns a 400 or 404 error
- Country not yet covered by Afriref returns an empty or partial dataset
- Stale data for countries with infrequent official updates, flagged via low confidence label
- Payment failure or insufficient USDC balance returns a 402 Payment Required
- Network timeout if upstream government sources are temporarily unreachable

## How this service works

Pan-African country brief: every government reference series for one country in one call (policy rate, VAT/GST, CPI, income/corporate/withholding tax, minimum wage, holidays...), each with value, unit, effective date, last-confirmed date, official source and confidence label

## Output

A structured JSON object containing all available government reference series for the requested African country, including: central bank policy rate, VAT/GST rate, CPI, income tax rate, corporate tax rate, withholding tax rate, minimum wage, and public holidays. Each data point includes its value, unit, effective date, last-confirmed date, official source URL or citation, and a confidence label indicating data quality.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {},
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/afriref-country-brief-pan-african-government-reference-data-aa5c4390/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)
