# usaref Government Reference Data Series

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

Returns a single government reference data series (e.g. policy rate, VAT, minimum wage, CPI, corporate tax, income tax, or public holidays) for a specified North American country

## Facts

- Endpoint: GET https://usaref.dev/v1/:country/:series
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/usaref-government-reference-data-series-e88400d0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RBBx5PkFfZmT41la6Dnfn

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 usaref-government-reference-data-series-e88400d0
```

Example prompt: What is the current VAT rate in Mexico? Pull it from usaref and let me know the effective date and whether the data might be stale.

## When to prefer this

Use this endpoint when you need authoritative, structured government reference data for North American countries (US, Canada, Mexico, Central America) and need a single well-defined series such as VAT, minimum wage, CPI, or tax rates. Prefer this over general web search when you need machine-readable values with source attribution and freshness metadata. Ideal for compliance checks, financial modeling, or enriching business data with current regulatory parameters.

## Known failure modes

- Unsupported country code returns a 4xx error — only ca, cr, do, gt, hn, mx, pa, sv, us are supported
- Unsupported series ID returns a 4xx error — only policy-rate, vat, minimum-wage, public-holidays, cpi, corporate-tax, income-tax are valid
- stale:true in response indicates the data is past its expected update cycle and may not reflect the latest official figure
- Payment failure (x402) if USDC balance is insufficient or payment not properly handled
- Network timeout if the upstream government data source is temporarily unavailable

## How this service works

Government reference data series

## 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 holidays), effective-from date, last-confirmed date, unit, source name and URL, a stale boolean flag, and optionally a breakdown of rate components and a combined effective rate where statutory levies stack.

## 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"
    },
    "pathParams": {
     "type": "object",
     "required": [
      "country",
      "series"
     ],
     "properties": {
      "series": {
       "enum": [
        "policy-rate",
        "vat",
        "vat-registration-threshold",
        "minimum-wage",
        "public-holidays",
        "cpi",
        "corporate-tax",
        "withholding-tax",
        "statutory-interest",
        "income-tax",
        "social-contributions",
        "fx-reference",
        "sales-tax"
       ],
       "type": "string",
       "description": "Reference series id"
      },
      "country": {
       "enum": [
        "bs",
        "ca",
        "cr",
        "do",
        "gt",
        "hn",
        "mx",
        "pa",
        "sv",
        "us"
       ],
       "type": "string",
       "description": "ISO country code"
      }
     }
    },
    "queryParams": {
     "type": "object",
     "properties": {},
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

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