---
title: "Xalq Banki Exchange Rate API: UZS Buy and Sell Rates as JSON"
description: "Xalq Banki's exchange office rates for 5 currencies against the Uzbekistani som, read hourly from the bank's own page and served as JSON with the Central Bank of the Republic of Uzbekistan official rate alongside. REST, JavaScript and Python examples."
canonical: https://allratestoday.com/blog/xalq-banki-exchange-rate-api/
source: AllRatesToday (https://allratestoday.com/) — Markdown mirror of the page above; index of all pages at https://allratestoday.com/llms.txt
generated: 2026-11-15T19:12:32.672Z
---

Xalq Banki (People's Bank) is a state-owned bank headquartered in Tashkent with one of the country's largest branch networks. Its site lists exchange-office buying and selling rates against the sum for seven currencies. This guide shows how to read that board as JSON: what the rates mean, how they compare with the Central Bank of the Republic of Uzbekistan official rate and with other banks in Uzbekistan, and the calls that return them.

## What the Xalq Banki board shows

- **5 currencies against the Uzbekistani som**: CHF, EUR, GBP, JPY and USD. Every value is UZS per 1 unit of the foreign currency.
- **The exchange office pair.** Uzbek banks print buying and selling rates against the sum for the US dollar, euro, pound, Swiss franc, yen and rouble, and some add yuan and tenge, with separate boards for exchange offices, ATMs and mobile apps. The US dollar spread is usually under 1%, while the other currencies are quoted far wider and the rouble, yen and tenge are often not bought at all. The Central Bank of the Republic of Uzbekistan official rate is shown next to each row.
- **USD on 15 November 2026**: Xalq Banki bought at 11960 and sold at 12070 UZS, a spread of 0.92%. The Central Bank of the Republic of Uzbekistan official rate was 12014.37, so the bank's mid sat +0.01% from it.
- **The bank's own timestamp.** The page prints a last-updated stamp (`2026-11-14 09:00:00` on the board above), returned as `bank_updated_at` next to our `captured_at`.
- **Every day's board is kept permanently, from 13 November 2026.** Read one past day with `?date=`, or a range for one currency with the `/history` endpoint (paid plans).

## Spreads across the board

On the 15 November 2026 board the tightest spreads were USD (0.92%), EUR (6.95%), GBP (37.50%) and the widest JPY (82.35%), CHF (40.00%), GBP (37.50%). Spread is (sell − buy) ÷ mid: what a round trip through the bank costs, before any fees. The API returns it on every row as `spread_pct`, so you can rank currencies or alert when a bank widens its board.

## USD at Xalq Banki and other banks in Uzbekistan

USD on the 21 boards AllRatesToday reads in Uzbekistan, all captured on 15 November 2026 (the Central Bank of the Republic of Uzbekistan official rate was 12014.37):

| Bank | Buy | Sell | Spread | Mid vs official |
| --- | --- | --- | --- | --- |
| National Bank of Uzbekistan | 11980 | 12050 | 0.58% | +0.01% |
| Hamkorbank | 11960 | 12070 | 0.92% | +0.01% |
| Ipoteka Bank | 11915 | 12045 | 1.08% | -0.29% |
| Asakabank | 12000 | 12040 | 0.33% | +0.05% |
| Agrobank | 11970 | 12060 | 0.75% | +0.01% |
| **Xalq Banki** | 11960 | 12070 | 0.92% | +0.01% |
| InfinBank | 11970 | 12060 | 0.75% | +0.01% |
| Orient Finans Bank | 11960 | 12060 | 0.83% | -0.04% |
| Davr Bank | 11920 | 12040 | 1.00% | -0.29% |
| Trustbank | 11950 | 12070 | 1.00% | -0.04% |
| KDB Bank Uzbekistan | 11955 | 12070 | 0.96% | -0.02% |
| Aloqabank | 11930 | 12030 | 0.83% | -0.29% |
| Mikrokreditbank | 11915 | 12030 | 0.96% | -0.35% |
| Madad Invest Bank | 11920 | 12030 | 0.92% | -0.33% |
| Octobank | 11920 | 12040 | 1.00% | -0.29% |
| Anorbank | 12000 | 12070 | 0.58% | +0.17% |
| Garant Bank | 11965 | 12065 | 0.83% | +0.01% |
| Poytaxt Bank | 11970 | 12030 | 0.50% | -0.12% |
| Turonbank | 11970 | 12070 | 0.83% | +0.05% |
| TBC Bank Uzbekistan | 11965 | 12065 | 0.83% | +0.01% |
| Asia Alliance Bank | 12000 | 12065 | 0.54% | +0.15% |

Xalq Banki had the 14th narrowest USD spread of the 21. One call to `/api/v1/bank-rates/uz` returns every board in the table at once.

## Get the board (REST)

You need an API key; the [free key](https://allratestoday.com/register/) works. The full board:

```
curl "https://allratestoday.com/api/v1/bank-rates/uz/xalqbank" \
  -H "Authorization: Bearer art_live_your_key"
```

What comes back (the 15 November 2026 board, first three rows):

```
{
  "bank": "xalqbank",
  "name": "Xalq Banki",
  "country": "uz",
  "quote_ccy": "UZS",
  "bank_updated_at": "2026-11-14 09:00:00",
  "basis": "Exchange office",
  "captured_at": "2026-11-15T11:22:28.851Z",
  "rates": [
    {"ccy":"CHF","buy":12000,"sell":18000,"mid":15000,"spread_pct":40,"official":14338.67,"vs_official_pct":4.612},
    {"ccy":"EUR","buy":12500,"sell":13400,"mid":12950,"spread_pct":6.95,"official":13280.68,"vs_official_pct":-2.49},
    {"ccy":"GBP","buy":13000,"sell":19000,"mid":16000,"spread_pct":37.5,"official":15899.82,"vs_official_pct":0.63},
    … 2 more currencies
  ],
  "disclaimer": "…",
  "attribution": { … }
}
```

One currency, with the row fields at the top level:

```
curl "https://allratestoday.com/api/v1/bank-rates/uz/xalqbank?ccy=USD" \
  -H "Authorization: Bearer art_live_your_key"
```

```
{
  "bank": "xalqbank",
  "name": "Xalq Banki",
  "country": "uz",
  "quote_ccy": "UZS",
  "bank_updated_at": "2026-11-14 09:00:00",
  "basis": "Exchange office",
  "captured_at": "2026-11-15T11:22:28.851Z",
  "ccy": "USD",
  "buy": 11960,
  "sell": 12070,
  "mid": 12015,
  "spread_pct": 0.916,
  "official": 12014.37,
  "vs_official_pct": 0.005,
  "disclaimer": "Retail buy/sell rates as displayed on each bank’s own website at capture time, quoted as home currency per 1 unit of foreign currency. Indicative only: banks change these through the day, apply them at the counter or in-app, and they are not official or reference rates. For the rate a regulation names, use the central-bank endpoints.",
  "attribution": {
    "source": "Board rates published by Xalq Banki on its own website, collected by AllRatesToday",
    "bank_url": "https://xb.uz/page/valyuta-ayirboshlash",
    "url": "https://allratestoday.com/bank-exchange-rate-api/uz/xalqbank/",
    "terms": "Public pages that show the rates need a visible link to allratestoday.com"
  }
}
```

The board as it stood on a past day:

```
curl "https://allratestoday.com/api/v1/bank-rates/uz/xalqbank?date=2026-11-13" \
  -H "Authorization: Bearer art_live_your_key"
```

One currency over a date range, one row per day (paid plans; add `&format=csv`, `xml` or `xlsx` for a file):

```
curl "https://allratestoday.com/api/v1/bank-rates/uz/xalqbank/history?ccy=USD&from=2026-11-13&to=2026-11-15" \
  -H "Authorization: Bearer art_live_your_key"
```

## JavaScript

```
npm install @allratestoday/sdk
```

```
import { AllRatesToday } from '@allratestoday/sdk';

const client = new AllRatesToday({ apiKey: 'art_live_your_key' });

// Xalq Banki's USD row
const r = await client.bankRates('uz', { bank: 'xalqbank', ccy: 'USD' });
console.log(`Xalq Banki buys USD at ${r.buy}, sells at ${r.sell} UZS`);

// The board as it stood on a past day
const past = await client.bankRates('uz', { bank: 'xalqbank', date: '2026-11-13' });
console.log(past.snapshot_date, past.rates.length);
```

## Python

```
import requests

r = requests.get(
    "https://allratestoday.com/api/v1/bank-rates/uz/xalqbank",
    headers={"Authorization": "Bearer art_live_your_key"},
    timeout=10,
)
r.raise_for_status()
for row in r.json()["rates"]:
    print(row["ccy"], row["buy"], row["sell"], row["spread_pct"])
```

## Board rate or official rate?

The Central Bank of the Republic of Uzbekistan rate is the one tax, accounting and customs rules in Uzbekistan name; nobody transacts at it. Xalq Banki's board is the price a customer actually gets. The API puts both on every row: `official` is the central bank's rate for the same currency and `vs_official_pct` is how far the bank's mid sits from it. Use the board to show customers a real price, compare banks for a remittance, or keep a dated record of what the bank quoted; use the [Central Bank of the Republic of Uzbekistan endpoint](https://allratestoday.com/central-bank-rates-api/cbu/) when a rule asks for the official rate.

## FAQ

### Where do the Xalq Banki rates come from?

From the bank's own public rates page (https://xb.uz/page/valyuta-ayirboshlash), read hourly. AllRatesToday does not change the numbers: each row is the buy and sell price Xalq Banki shows, with the mid, the spread and the Central Bank of the Republic of Uzbekistan rate added.

### Are these the official UZS exchange rates?

No. They are Xalq Banki's retail prices for customers. The official rate in Uzbekistan is the Central Bank of the Republic of Uzbekistan rate, which the API returns as `official` on each row where the central bank has one, and in full from the central-bank endpoint.

### How often is the Xalq Banki board updated?

AllRatesToday reads the page every hour. The bank's own last-updated stamp is returned as `bank_updated_at`, so you can tell a fresh read of an unchanged board from a new board.

### Can I get Xalq Banki rates for a past date?

Yes, from 13 November 2026 onward; every day's board is kept permanently. Add `?date=YYYY-MM-DD` for one day: the response is the board captured that day, or the nearest earlier day within five days, with `date_requested` and `snapshot_date` added. For a range, `/history?ccy=USD&from=…&to=…` returns one row per day as JSON, CSV, XML or XLSX on paid plans.

### Do I need an API key?

Yes. Commercial bank boards need an API key; any plan works, the free key included, and each call counts against the plan. Public pages or widgets that show the rates need a visible link to allratestoday.com.

## Xalq Banki rates, as JSON

Free API key, hourly board captures, the official rate alongside.

 [Get your free API key](https://allratestoday.com/register/)

## Related

- [Xalq Banki live board rates](https://allratestoday.com/bank-exchange-rate-api/uz/xalqbank/)
- [All banks in Uzbekistan side by side](https://allratestoday.com/bank-exchange-rate-api/uz/)
- [Central Bank of the Republic of Uzbekistan official rates API](https://allratestoday.com/central-bank-rates-api/cbu/)
- [National Bank of Uzbekistan exchange rate API guide](https://allratestoday.com/blog/national-bank-of-uzbekistan-exchange-rate-api/)
- [Hamkorbank exchange rate API guide](https://allratestoday.com/blog/hamkorbank-exchange-rate-api/)
- [Ipoteka Bank exchange rate API guide](https://allratestoday.com/blog/ipoteka-bank-exchange-rate-api/)
- [Asakabank exchange rate API guide](https://allratestoday.com/blog/asakabank-exchange-rate-api/)
- [Agrobank exchange rate API guide](https://allratestoday.com/blog/agrobank-exchange-rate-api/)
- [InfinBank exchange rate API guide](https://allratestoday.com/blog/infinbank-exchange-rate-api/)
- [Orient Finans Bank exchange rate API guide](https://allratestoday.com/blog/orient-finans-bank-exchange-rate-api/)
- [Davr Bank exchange rate API guide](https://allratestoday.com/blog/davr-bank-exchange-rate-api/)
- [Trustbank exchange rate API guide](https://allratestoday.com/blog/trustbank-exchange-rate-api/)
- [KDB Bank Uzbekistan exchange rate API guide](https://allratestoday.com/blog/kdb-bank-uzbekistan-exchange-rate-api/)
- [Aloqabank exchange rate API guide](https://allratestoday.com/blog/aloqabank-exchange-rate-api/)
- [Mikrokreditbank exchange rate API guide](https://allratestoday.com/blog/mikrokreditbank-exchange-rate-api/)
- [Every bank exchange rate API guide, by country](https://allratestoday.com/blog/bank-exchange-rate-api-guides/)
- [Commercial bank rates API: every bank and country](https://allratestoday.com/bank-exchange-rate-api/)
