Aller au contenu
GET /v1/brecha

Each rate's premium over the official dollar (the parallel gap)

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/dolar-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

curl "https://api.oanor.com/dolar-api/v1/brecha" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/dolar-api/v1/brecha", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/dolar-api/v1/brecha");
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/brecha",
    headers={"x-oanor-key": "oanor_test_..."}
)

Exemple de réponse

Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.

{
    "data": {
        "base": "USD",
        "quote": "ARS",
        "brecha": [
            {
                "name": "Tarjeta",
                "sell": 1891.5,
                "type": "tarjeta",
                "premium_over_official_pct": 30
            },
            {
                "name": "Contado con liquidación",
                "sell": 1509.7,
                "type": "contadoconliqui",
                "premium_over_official_pct": 3.7595
            },
            {
                "name": "Cripto",
                "sell": 1500.9,
                "type": "cripto",
                "premium_over_official_pct": 3.1546
            },
            {
                "name": "Bolsa",
                "sell": 1459.3,
                "type": "bolsa",
                "premium_over_official_pct": 0.2955
            },
            {
                "name": "Blue",
                "sell": 1450,
                "type": "blue",
                "premium_over_official_pct": -0.3436
            },
            {
                "name": "Mayorista",
                "sell": 1431,
                "type": "mayorista",
                "premium_over_official_pct": -1.6495
            }
        ],
        "source": "dolarapi.com",
        "official_sell": 1455
    },
    "meta": {
        "timestamp": "2026-06-10T22:57:56.174Z",
        "request_id": "6af34dc4-b0c2-4430-a1c9-cdb60581bfcc"
    },
    "status": "ok",
    "message": "Brecha retrieved successfully",
    "success": true
}