# CBR Official Exchange Rates API

> CBR Official Exchange Rates API is a paid API for AI agents from payforapi.com, paid per call via x402, $0.008/call, status unknown (last checked 2026-09-15).

Returns the Central Bank of Russia's official daily exchange rates for specified currencies (USD, EUR, CNY, and others) in rubles.

## Facts

- Endpoint: GET https://payforapi.com/v1/cbr-rates
- Price: $0.008/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/cbr-official-exchange-rates-api-2cc8ae9e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Z_Em-EjTaV6k4x2Xp-SiL

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 cbr-official-exchange-rates-api-2cc8ae9e
```

Example prompt: What are today's official Central Bank of Russia exchange rates for USD, EUR, and CNY in rubles?

## When to prefer this

Use this endpoint when you need the official, authoritative ruble exchange rates published by the Central Bank of Russia — distinct from market/trading rates. Ideal for compliance, invoicing, accounting, or any Russian regulatory context where CBR rates are legally required. Prefer over MOEX ISS quotes when you need the official fixing rather than live market prices.

## Known failure modes

- Invalid or unsupported ISO currency code returns empty or missing rate entry
- Weekend/holiday dates may return the most recent available rate rather than a same-day rate
- Network timeout if CBR upstream is slow or unavailable
- Empty currencies array defaults to USD/EUR/CNY only

## How this service works

PAYFORAPI.com — окно между ру-рынком и глобальным x402. Глобальный провайдер: твой эндпоинт платят агенты из СНГ. Ру-провайдер: твой сервис — на мировой витрине. Локализация, продвижение, платежи USDC — наша работа.

## Output

A JSON object with today's date and a map of currency codes to objects containing the currency code, Russian name, nominal unit, exchange rate value, and rub_per_unit — e.g. USD at 86.9963 RUB, EUR at 100.8287 RUB, CNY at 12.9217 RUB.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "currencies": {
   "type": "array",
   "items": {
    "type": "string"
   },
   "description": "ISO currency codes (USD, EUR, CNY, GBP, KZT, JPY...). Empty = USD/EUR/CNY"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "date": "2026-09-03",
  "rates": {
   "CNY": {
    "code": "CNY",
    "name": "Китайский юань",
    "value": 12.9217,
    "nominal": 1,
    "rub_per_unit": 12.9217
   },
   "EUR": {
    "code": "EUR",
    "name": "Евро",
    "value": 100.8287,
    "nominal": 1,
    "rub_per_unit": 100.8287
   },
   "USD": {
    "code": "USD",
    "name": "Доллар США",
    "value": 86.9963,
    "nominal": 1,
    "rub_per_unit": 86.9963
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/cbr-official-exchange-rates-api-2cc8ae9e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from payforapi.com](https://www.zero.xyz/host/payforapi.com/llms.txt)
