---
title: "Davibank Costa Rica Exchange Rate API: CRC Buy and Sell Rates as JSON"
description: "Davibank Costa Rica's buy / sell, USD only rates for the USD against the Costa Rican colón, read hourly from the bank's own page and served as JSON with the Banco Central de Costa Rica official rate alongside. REST, JavaScript and Python examples."
canonical: https://allratestoday.com/blog/davibank-costa-rica-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:36.235Z
---

Davibank is the Costa Rican bank of the Davivienda group, formerly Scotiabank Costa Rica. Its home page shows the buying and selling price of the US dollar. This guide shows how to read that board as JSON: what the rates mean, how they compare with the Banco Central de Costa Rica official rate and with other banks in Costa Rica, and the calls that return them.

## What the Davibank board shows

- **1 currency against the Costa Rican colón**: USD. Every value is CRC per 1 unit of the foreign currency.
- **The buy / sell, USD only pair.** Costa Rican banks post a buying and selling price in colones per US dollar, and some per euro, with a spread of a few percent. The Banco Central de Costa Rica publishes a daily reference rate. The Banco Central de Costa Rica official rate is shown next to each row.
- **USD on 15 November 2026**: Davibank bought at 436 and sold at 454 CRC, a spread of 4.04%. The Banco Central de Costa Rica official rate was 448.37, so the bank's mid sat -0.75% from it.
- **No timestamp on the bank's page.** Davibank 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 15 November 2026, the day collection started.** 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 spread was USD 4.04%. 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 Davibank and other banks in Costa Rica

USD on the 4 boards AllRatesToday reads in Costa Rica, all captured on 15 November 2026 (the Banco Central de Costa Rica official rate was 448.37):

| Bank | Buy | Sell | Spread | Mid vs official |
| --- | --- | --- | --- | --- |
| Banco Promerica Costa Rica | 435 | 453 | 4.05% | -0.97% |
| **Davibank Costa Rica** | 436 | 454 | 4.04% | -0.75% |
| Banco LAFISE Costa Rica | 436 | 454 | 4.04% | -0.75% |
| Banco Popular (Costa Rica) | 438 | 452 | 3.15% | -0.75% |

Davibank had the 2nd narrowest USD spread of the 4. One call to `/api/v1/bank-rates/cr` 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/cr/davibankcr" \
  -H "Authorization: Bearer art_live_your_key"
```

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

```
{
  "bank": "davibankcr",
  "name": "Davibank Costa Rica",
  "country": "cr",
  "quote_ccy": "CRC",
  "bank_updated_at": null,
  "basis": "Buy / sell, USD only",
  "captured_at": "2026-11-15T11:46:24.338Z",
  "rates": [
    {"ccy":"USD","buy":436,"sell":454,"mid":445,"spread_pct":4.045,"official":448.37,"vs_official_pct":-0.752}
  ],
  "disclaimer": "…",
  "attribution": { … }
}
```

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

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

```
{
  "bank": "davibankcr",
  "name": "Davibank Costa Rica",
  "country": "cr",
  "quote_ccy": "CRC",
  "bank_updated_at": null,
  "basis": "Buy / sell, USD only",
  "captured_at": "2026-11-15T11:46:24.338Z",
  "ccy": "USD",
  "buy": 436,
  "sell": 454,
  "mid": 445,
  "spread_pct": 4.045,
  "official": 448.37,
  "vs_official_pct": -0.752,
  "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 Davibank Costa Rica on its own website, collected by AllRatesToday",
    "bank_url": "https://www.davibank.cr/",
    "url": "https://allratestoday.com/bank-exchange-rate-api/cr/davibankcr/",
    "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/cr/davibankcr?date=2026-11-15" \
  -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/cr/davibankcr/history?ccy=USD&from=2026-11-15&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' });

// Davibank Costa Rica's USD row
const r = await client.bankRates('cr', { bank: 'davibankcr', ccy: 'USD' });
console.log(`Davibank buys USD at ${r.buy}, sells at ${r.sell} CRC`);

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

## Python

```
import requests

r = requests.get(
    "https://allratestoday.com/api/v1/bank-rates/cr/davibankcr",
    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 Banco Central de Costa Rica rate is the one tax, accounting and customs rules in Costa Rica name; nobody transacts at it. Davibank'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 [Banco Central de Costa Rica endpoint](https://allratestoday.com/central-bank-rates-api/bccr/) when a rule asks for the official rate.

## FAQ

### Where do the Davibank Costa Rica rates come from?

From the bank's own public rates page (https://www.davibank.cr/), read hourly. AllRatesToday does not change the numbers: each row is the buy and sell price Davibank shows, with the mid, the spread and the Banco Central de Costa Rica rate added.

### Are these the official CRC exchange rates?

No. They are Davibank's retail prices for customers. The official rate in Costa Rica is the Banco Central de Costa Rica 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 Davibank 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 Davibank rates for a past date?

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

## Davibank Costa Rica rates, as JSON

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

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

## Related

- [Davibank Costa Rica live board rates](https://allratestoday.com/bank-exchange-rate-api/cr/davibankcr/)
- [All banks in Costa Rica side by side](https://allratestoday.com/bank-exchange-rate-api/cr/)
- [Banco Central de Costa Rica official rates API](https://allratestoday.com/central-bank-rates-api/bccr/)
- [Banco Promerica Costa Rica exchange rate API guide](https://allratestoday.com/blog/banco-promerica-costa-rica-exchange-rate-api/)
- [Banco LAFISE Costa Rica exchange rate API guide](https://allratestoday.com/blog/banco-lafise-costa-rica-exchange-rate-api/)
- [Banco Popular (Costa Rica) exchange rate API guide](https://allratestoday.com/blog/banco-popular-costa-rica-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/)
