---
title: "Banco BPI Exchange Rate API: EUR Buy and Sell Rates as JSON"
description: "Banco BPI's cheques (non-cash) buy / sell rates for 11 currencies against the euro, read hourly from the bank's own page and served as JSON with the European Central Bank official rate alongside. REST, JavaScript and Python examples."
canonical: https://allratestoday.com/blog/banco-bpi-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:21:48.105Z
---

Banco BPI, part of Spain’s CaixaBank group, is one of Portugal’s largest banks. Its quotes page lists buying and selling prices for 11 currencies, for bank notes and for cheques; the cheques (non-cash) columns are shown here. This guide shows how to read that board as JSON: what the rates mean, how they compare with the European Central Bank official rate, and the calls that return them.

## What the BPI board shows

- **11 currencies against the euro**: AUD, CAD, CHF, DKK, GBP, JPY, NOK, PLN, SEK, USD and ZAR. Every value is EUR per 1 unit of the foreign currency.
- **The cheques (non-cash) buy / sell pair.** Portuguese banks quote foreign currency per 1 euro, with separate columns for bank notes (notas) and non-cash currency or cheques; the non-cash columns are shown here, inverted to euros per unit. The European Central Bank’s reference rate sits between the buy and sell. The European Central Bank official rate is shown next to each row.
- **USD on 15 November 2026**: BPI bought at 0.8957 and sold at 0.912 EUR, a spread of 1.80%. The European Central Bank official rate was 0.9048, so the bank's mid sat -0.11% from it.
- **No timestamp on the bank's page.** BPI does not print a last-updated time, so `bank_updated_at` is `null` and `captured_at` (when AllRatesToday read the page) is the only time available.
- **Every day's board is kept permanently, from 14 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 GBP (1.80%), CAD (1.80%), CHF (1.80%) and the widest PLN (2.40%), ZAR (2.40%), AUD (2.40%). 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.

## 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/pt/bpipt" \
  -H "Authorization: Bearer art_live_your_key"
```

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

```
{
  "bank": "bpipt",
  "name": "Banco BPI",
  "country": "pt",
  "quote_ccy": "EUR",
  "bank_updated_at": null,
  "basis": "Cheques (non-cash) buy / sell",
  "captured_at": "2026-11-15T11:30:33.238Z",
  "rates": [
    {"ccy":"AUD","buy":0.60674457,"sell":0.62148086,"mid":0.61411272,"spread_pct":2.4,"official":0.6139489194499017,"vs_official_pct":0.027},
    {"ccy":"CAD","buy":0.62848021,"sell":0.63989352,"mid":0.63418686,"spread_pct":1.8,"official":0.6345982992765579,"vs_official_pct":-0.065},
    {"ccy":"CHF","buy":1.0720182,"sell":1.0914886,"mid":1.0817534,"spread_pct":1.8,"official":1.0792143319663285,"vs_official_pct":0.235},
    … 8 more currencies
  ],
  "disclaimer": "…",
  "attribution": { … }
}
```

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

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

```
{
  "bank": "bpipt",
  "name": "Banco BPI",
  "country": "pt",
  "quote_ccy": "EUR",
  "bank_updated_at": null,
  "basis": "Cheques (non-cash) buy / sell",
  "captured_at": "2026-11-15T11:30:33.238Z",
  "ccy": "USD",
  "buy": 0.89568816,
  "sell": 0.91195944,
  "mid": 0.9038238,
  "spread_pct": 1.8,
  "official": 0.9048136083966704,
  "vs_official_pct": -0.109,
  "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 Banco BPI on its own website, collected by AllRatesToday",
    "bank_url": "https://www.bancobpi.pt/cotacoes",
    "url": "https://allratestoday.com/bank-exchange-rate-api/pt/bpipt/",
    "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/pt/bpipt?date=2026-11-14" \
  -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/pt/bpipt/history?ccy=USD&from=2026-11-14&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' });

// Banco BPI's USD row
const r = await client.bankRates('pt', { bank: 'bpipt', ccy: 'USD' });
console.log(`BPI buys USD at ${r.buy}, sells at ${r.sell} EUR`);

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

## Python

```
import requests

r = requests.get(
    "https://allratestoday.com/api/v1/bank-rates/pt/bpipt",
    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 European Central Bank rate is the one tax, accounting and customs rules in Portugal name; nobody transacts at it. BPI'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 [European Central Bank endpoint](https://allratestoday.com/central-bank-rates-api/ecb/) when a rule asks for the official rate.

## FAQ

### Where do the Banco BPI rates come from?

From the bank's own public rates page (https://www.bancobpi.pt/cotacoes), read hourly. AllRatesToday does not change the numbers: each row is the buy and sell price BPI shows, with the mid, the spread and the European Central Bank rate added.

### Are these the official EUR exchange rates?

No. They are BPI's retail prices for customers. The official rate in Portugal is the European Central Bank 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 BPI board updated?

AllRatesToday reads the page every hour. The bank prints no timestamp, so `captured_at` tells you when the rates were read.

### Can I get BPI rates for a past date?

Yes, from 14 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.

## Banco BPI rates, as JSON

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

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

## Related

- [Banco BPI live board rates](https://allratestoday.com/bank-exchange-rate-api/pt/bpipt/)
- [All banks in Portugal side by side](https://allratestoday.com/bank-exchange-rate-api/pt/)
- [European Central Bank official rates API](https://allratestoday.com/central-bank-rates-api/ecb/)
- [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/)
