Zum Inhalt springen
GET /v1/dollars

Buy/sell for every dollar type (oficial, blue, mep, ccl, mayorista, cripto, tarjeta)

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/dolar-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

curl "https://api.oanor.com/dolar-api/v1/dollars" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/dolar-api/v1/dollars", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/dolar-api/v1/dollars");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/dolar-api/v1/dollars",
    headers={"x-oanor-key": "oanor_test_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "base": "USD",
        "count": 7,
        "quote": "ARS",
        "source": "dolarapi.com",
        "dollars": [
            {
                "buy": 1405,
                "mid": 1430,
                "name": "Oficial",
                "sell": 1455,
                "type": "oficial",
                "updated": "2026-06-10T17:00:00.000Z"
            },
            {
                "buy": 1430,
                "mid": 1440,
                "name": "Blue",
                "sell": 1450,
                "type": "blue",
                "updated": "2026-06-10T21:00:00.000Z"
            },
            {
                "buy": 1453.1,
                "mid": 1456.2,
                "name": "Bolsa",
                "sell": 1459.3,
                "type": "bolsa",
                "updated": "2026-06-10T21:00:00.000Z"
            },
            {
                "buy": 1508.6,
                "mid": 1509.15,
                "name": "Contado con liquidación",
                "sell": 1509.7,
                "type": "contadoconliqui",
                "updated": "2026-06-10T21:00:00.000Z"
            },
            {
                "buy": 1422,
                "mid": 1426.5,
                "name": "Mayorista",
                "sell": 1431,
                "type": "mayorista",
                "updated": "2026-06-10T14:55:00.000Z"
            },
            {
                "buy": 1500.1,
                "mid": 1500.5,
                "name": "Cripto",
                "sell": 1500.9,
                "type": "cripto",
                "updated": "2026-06-10T21:00:00.000Z"
            },
            {
                "buy": 1826.5,
                "mid": 1859,
                "name": "Tarjeta",
                "sell": 1891.5,
                "type": "tarjeta",
                "updated": "2026-06-10T17:00:00.000Z"
            }
        ]
    },
    "meta": {
        "timestamp": "2026-06-10T22:57:55.956Z",
        "request_id": "30392b70-5c69-4daa-853f-2e3be8d97f9b"
    },
    "status": "ok",
    "message": "Dollars retrieved successfully",
    "success": true
}