- Home
- API
Blue dollar JSON API
If you are not a developer you can skip this page: see today’s rates.
The API is free to use, needs no authentication and answers plain JSON. Values update every 5 minutes, Monday to Friday 7:00–20:00 Argentine time. Every response allows CORS from any origin; numbers always have two decimals.
Latest values
GET https://api.bluelytics.com.ar/v2/latest
Optional parameters: ?callback=nombrereturns JSONP (for a widget, for example; jQuery adds it automatically); ?prettyreturns indented JSON.
| Attribute | Description |
|---|---|
oficial.value_buy | Official dollar buy value |
oficial.value_avg | Official dollar average of buy and sell |
oficial.value_sell | Official dollar sell value |
blue.value_buy | Blue dollar buy value |
blue.value_avg | Blue dollar average of buy and sell |
blue.value_sell | Blue dollar sell value |
oficial_euro.value_buy | Official euro buy value |
oficial_euro.value_avg | Official euro average of buy and sell |
oficial_euro.value_sell | Official euro sell value |
blue_euro.value_buy | Blue euro buy value |
blue_euro.value_avg | Blue euro average of buy and sell |
blue_euro.value_sell | Blue euro sell value |
last_update | Time of the last blue dollar update (ISO 8601, Argentine time, -03:00) |
{"oficial":{"value_avg":1574.50,"value_sell":1601.00,"value_buy":1548.00},
"blue":{"value_avg":1652.50,"value_sell":1670.00,"value_buy":1635.00},
"oficial_euro":{"value_avg":1712.00,"value_sell":1741.00,"value_buy":1683.00},
"blue_euro":{"value_avg":1796.00,"value_sell":1815.00,"value_buy":1777.00},
"last_update":"2026-11-20T19:45:51.758024-03:00"}Value for a specific day
GET https://api.bluelytics.com.ar/v2/historical?day=AAAA-MM-DD
Returns the official and blue values of that day (value_buy, value_avg, value_sell), with no euro and no last_update. Saturdays and Sundays return the previous Friday. A day without data answers 404.
All history (JSON)
GET https://api.bluelytics.com.ar/v2/evolution.json
A list with two objects per day (Oficial and Blue), newest first; weekends included. The optional ?days=N parameter returns only the first N objects (rows, not days: ?days=10 is 5 days).
| Attribute of each item | Description |
|---|---|
date | Day of the rate (YYYY-MM-DD) |
source | Exchange rate type: Oficial (government rate) or Blue (informal market) |
value_sell | Sell (ask) value: what sellers ask for a dollar |
value_buy | Buy (bid) value: what buyers offer for a dollar |
[{"date":"2026-11-20","source":"Oficial","value_sell":1595.00,"value_buy":1543.00},
{"date":"2026-11-20","source":"Blue","value_sell":1665.00,"value_buy":1615.00},
…]All history (CSV)
GET https://api.bluelytics.com.ar/v2/evolution.csv
The same data as CSV (columns day, type, value_buy, value_sell). Also accepts ?days=N (rows).
day,type,value_buy,value_sell
2026-11-20,Oficial,1543.00,1595.00
2026-11-20,Blue,1615.00,1665.00Other currencies
GET https://api.bluelytics.com.ar/data/json/currency.json
Currencies with their value against the US dollar, refreshed once a day.
| Attribute of each item | Description |
|---|---|
code | ISO 4217 currency code |
name | Currency name (in Spanish) |
value | Units of that currency per US dollar |
Old API (v1)
GET https://api.bluelytics.com.ar/json/last_price
A list of two objects (oficial and blue) with date, source, value_avg, value_sell and value_buy. Kept for compatibility; use /v2/latest in new code.
Bindings
Third-party libraries for the Bluelytics API:
| Technology | URL |
|---|---|
| Laravel (PHP) (API v1) | fedeisas/laravel-dolar-blue |
| NodeJS (JavaScript) (API v1) | matiu/dolar-blue |
| Odoo (Python) (API v1) | morrillo/currency_usd_update |
Widget
To show the rates on your site, paste this where it should appear:
<script src="https://bluelytics.com.ar/embed.js" async></script>In English: add data-lang="en" to the script. Preview: /widget