# zaref.dev ZAR FX Rates

> zaref.dev ZAR FX Rates is a paid API for AI agents from zaref.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-16).

Returns SARB indicative daily ZAR exchange rates against USD, GBP, EUR and JPY, plus the nominal effective (trade-weighted) exchange rate index, with source URL, effective date, and freshness flag.

## Facts

- Endpoint: GET https://zaref.dev/v1/fx-rates?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/zaref-dev-zar-fx-rates-ea3da177
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_e2xApIvxiyK5RinOWxyjS

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 zaref-dev-zar-fx-rates-ea3da177
```

Example prompt: What are today's official SARB ZAR exchange rates against the dollar, euro, pound, and yen — including the trade-weighted effective exchange rate index and when the data was last updated?

## When to prefer this

Use this endpoint when you need official, cited South African Reserve Bank indicative ZAR exchange rates against major currencies (USD, GBP, EUR, JPY) and the trade-weighted NEER index. Prefer it over generic FX APIs when you need an authoritative SARB-sourced rate with a source URL suitable for citation, and a freshness flag to confirm data currency. Best for South Africa-specific financial applications, compliance contexts, or any workflow requiring verifiable official rates.

## Known failure modes

- SARB source unavailable or delayed — rates may be stale, indicated by freshness flag
- HTTP 402 if payment not provided or payment verification fails
- HTTP 429 if rate limits exceeded
- Empty or null rate fields if SARB has not published rates for the current day (e.g. public holiday)

## How this service works

South African ZAR exchange rates (SARB indicative daily ZAR exchange rates against USD, GBP, EUR and JPY, plus the nominal effective exchange rate (trade-weighted) index.) Clean cited JSON with official source URL, effective date and freshness flag.

## Output

A clean JSON response containing SARB indicative daily ZAR spot rates against USD, GBP, EUR and JPY, the nominal effective (trade-weighted) exchange rate index, the effective date of the rates, a freshness flag indicating whether the data is current, and the official SARB source URL for citation.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": "current values with citations",
  "stale": false,
  "series": "fx-rates",
  "source_url": "https://www.resbank.co.za/en/home/what-we-do/statistics/key-statistics/current-market-rates",
  "effective_date": "2026-07-24"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/zaref-dev-zar-fx-rates-ea3da177/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from zaref.dev](https://www.zero.xyz/host/zaref.dev/llms.txt)
