Exchange Rate API
Integrate Costa Rica's official USD exchange rate (BCCR) directly into your applications. A single source of truth, always up to date, with no need to connect to the Central Bank yourself.
/api/v1Why use our API?
Fast
Optimized, cached responses that return in milliseconds.
Secure
API key authentication, rate limiting and configurable CORS.
Versioned
Stable endpoints under /api/v1 so your apps never break.
Reliable
Official BCCR data synced every single day.
Pricing
One simple plan with full access to the API.
Pro Plan
- Access to all endpoints
- 5,000 requests per month
- Official BCCR data, updated daily
- Widgets, SDK and support
Custom
Need more capacity? We design a plan tailored to your needs.
- More than 5,000 requests per month
- Custom limits and endpoints
- Priority support and SLA
- Billing tailored to your volume
Query types
Every query returns JSON in a consistent format. These are the available types:
/api/v1/exchange-rate/latestRequires API keyLatest rate
Get the most recent buy and sell rate for the USD/CRC pair.
/api/v1/exchange-rate?date=YYYY-MM-DDRequires API keyBy specific date
Look up the exchange rate for a single day.
/api/v1/exchange-rate/history?days=30Requires API keyHistory
The latest N days of rates (up to 365), perfect for charts.
/api/v1/exchange-rate/range?from=…&to=…Requires API keyDate range
Every rate between two dates for period analysis.
/api/v1/convert?amount=1000&from=USD&to=CRCRequires API keyAmount converter
Convert amounts between USD and CRC with the official rate.
/api/v1/exchange-rate/analytics?days=30Requires API keyAnalytics
Average, min, max, change, volatility and trend, already computed.
/api/v1/exchange-rate/stats?period=monthly&from=…&to=…Requires API keyPeriod statistics
Monthly or yearly aggregates for a date range.
/api/v1/exchange-rate/chart?days=90&points=60Requires API keyChart data
Optimized series downsampled to N points, with a trend line.
/api/v1/banking/ratesRequires API keyRates by institution
Per-bank and exchange-house USD buy/sell rates (ventanilla).
/api/v1/banking/best?operation=sellRequires API keyBest rate
Which institution buys or sells USD at the best price, with ranking.
/api/v1/insights?days=30&locale=esRequires API keyAI Market Insights
AI summary of the likely causes of market movements plus a verdict.
/api/v1/healthPublicService status
Check the API availability and the latest available date.
Every query requires your API key in the x-api-key header, except the service status.
Example response
Response for the "Latest rate" query:
GET /api/v1/exchange-rate/latest{
"success": true,
"data": {
"date": "2026-07-19",
"currencyFrom": "USD",
"currencyTo": "CRC",
"buy": 505.12,
"sell": 512.34,
"source": "BCCR",
"fetchedAt": "2026-07-19T12:00:00.000Z"
}
}Embeddable widgets
Show the exchange rate on your site with an iframe. No API key, auto-updates.
<iframe src="https://exchangecr.com/es/widget?theme=auto"
width="360" height="150" style="border:0"></iframe><iframe src="https://exchangecr.com/es/banner?theme=auto"
width="640" height="90" style="border:0"></iframe>Ready to integrate?
Get in touch to receive your API key and start consuming exchange rates in minutes.
Request access