# Ni Biashara Africa FX — All Pairs (Agents)

> Ni Biashara Africa FX — All Pairs (Agents) is a paid API for AI agents from agents.nibiashara.biz, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-13).

Returns structured FX rate data for African currencies vs USD, including official central-bank rates and parallel/street market rates sourced from live P2P order books, for all supported pairs in one call.

## Facts

- Endpoint: GET https://agents.nibiashara.biz/api/fx?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ni-biashara-africa-fx-all-pairs-agents-a37f47bc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mQfk3xqLj29nTinwx-xr4

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-africa-fx-all-pairs-agents-a37f47bc
```

Example prompt: Pull the latest official and parallel/street FX rates for all African currencies — I need both the central-bank reference rates and the live P2P order-book rates from Ni Biashara, formatted as JSON.

## When to prefer this

Choose this endpoint when you need both official and parallel/informal market FX rates for African currencies in a single call, especially when the spread between official and street rates is operationally significant (remittances, arbitrage, compliance). Prefer over single-pair endpoints when you need all supported pairs at once. Use when you specifically need P2P order-book-derived street rates, not just central-bank reference data.

## Known failure modes

- Payment not included or invalid — returns HTTP 402 requiring x402 USDC payment
- P2P order book data temporarily unavailable — parallel rate may be stale or missing
- Unsupported format parameter — only 'json' is accepted
- Rate limiting or upstream data source outage — may return 503 or empty rates array
- Network timeout if P2P aggregation takes too long

## How this service works

Structured African-currency FX data (official + parallel/street rates from live P2P order books, with history) and business services (Swahili localization, design, consulting, landing pages), sold per call to AI agents. Ni Biashara LLC, Dallas TX.

## Output

A JSON object containing an array of rate entries for all supported African currency pairs (KES, NGN, GHS, TZS, and others vs USD). Each entry includes the official central-bank reference rate and the parallel/street rate sourced from live P2P order books, along with spread data and historical context. The response includes a base currency indicator and a count of pairs returned.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "format": {
   "enum": [
    "json"
   ],
   "type": "string",
   "description": "Response format (json only today; reserved)."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "rates"
 ],
 "properties": {
  "base": {
   "type": "string"
  },
  "count": {
   "type": "integer"
  },
  "rates": {
   "type": "array",
   "items": {
    "type": "object"
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ni-biashara-africa-fx-all-pairs-agents-a37f47bc/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)
