Aller au contenu
GET /v1/rates

Both currencies (USD, EUR) at once

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/venezuela-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/venezuela-api/v1/rates" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/venezuela-api/v1/rates", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/venezuela-api/v1/rates");
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/venezuela-api/v1/rates",
    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": {
        "quote": "VES",
        "rates": [
            {
                "quote": "VES",
                "updated": "2026-06-10T00:00:00-04:00",
                "currency": "USD",
                "official": 572.6784,
                "parallel": 802.0745,
                "brecha_pct": 40.0567
            },
            {
                "quote": "VES",
                "updated": "2026-06-10T00:00:00-04:00",
                "currency": "EUR",
                "official": 662.2453,
                "parallel": 925.3667,
                "brecha_pct": 39.7317
            }
        ],
        "source": "ve.dolarapi.com"
    },
    "meta": {
        "timestamp": "2026-06-10T22:57:29.776Z",
        "request_id": "04b12dfd-04db-4476-954c-fee2e8b41729"
    },
    "status": "ok",
    "message": "Rates retrieved successfully",
    "success": true
}