Zum Inhalt springen
GET /v1/convert

Convert between CLP, UF, UTM, USD, EUR

Live testen

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

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

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

API-Key holen

Code-Snippets

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

Beispiel-Response

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

{
    "data": {
        "to": "CLP",
        "from": "UF",
        "amount": 1000000,
        "result": 40765970000,
        "source": "mindicador.cl (Banco Central de Chile)",
        "updated": "2026-06-10T22:00:00.000Z",
        "clp_per_to": 1,
        "clp_per_from": 40765.97
    },
    "meta": {
        "timestamp": "2026-06-10T22:56:42.861Z",
        "request_id": "fc4c0aa9-a7d3-4a5b-9047-6fc3d3595463"
    },
    "status": "ok",
    "message": "Conversion completed",
    "success": true
}