# Ni Biashara — USD/KES Official FX Rate

> Ni Biashara — USD/KES Official FX Rate is a paid API for AI agents from agents.nibiashara.biz, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Returns the official USD to Kenyan Shilling exchange rate with timestamp and source attribution

## Facts

- Endpoint: POST https://agents.nibiashara.biz/api/fx/USD-KES
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ni-biashara-usd-kes-official-fx-rate-9b7cf0ca
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_eyk7iw_rPgn8xAinQuH0i

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 ni-biashara-usd-kes-official-fx-rate-9b7cf0ca -d '<json body>'
```

Example prompt: What's the official USD to KES exchange rate right now? I need the rate, the date it was recorded, and where the data comes from.

## When to prefer this

Choose this endpoint when you need a structured, single-pair USD-KES official exchange rate with provenance metadata (timestamp + source) for Kenya-specific use cases such as remittance calculations, invoice conversions, or compliance reporting. Prefer this over a multi-pair bulk endpoint when only the KES rate is needed and you want to minimize payload size and cost. Use the parallel/street-rate sibling endpoints if you need informal market rates from P2P order books.

## Known failure modes

- Rate data unavailable from upstream source — may return stale or null rate
- Invalid pair path returns 404 or error response
- Payment authorization failure via x402 protocol returns 402 before data is served
- Upstream Frankfurter API outage results in timeout or error

## How this service works

Single African FX pair vs USD (official rate, timestamp, source)

## Output

A JSON object containing the currency pair label (USD-KES), the official numeric exchange rate (e.g. 129.2 KES per 1 USD), the date the rate was recorded (ISO date string), and the name of the upstream data source (e.g. 'frankfurter').

## Response schema (JSON Schema)

```json
{
 "pair": "USD-KES",
 "rate": 129.2,
 "as_of": "2026-08-22",
 "source": "frankfurter"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ni-biashara-usd-kes-official-fx-rate-9b7cf0ca/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.nibiashara.biz](https://www.zero.xyz/host/agents.nibiashara.biz/llms.txt)
