Aller au contenu
GET /v1/meta

Service metadata

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/chile-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/chile-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/chile-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/chile-api/v1/meta");
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/meta",
    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": {
        "source": "mindicador.cl (Banco Central de Chile data, live)",
        "uf_clp": 40765.97,
        "service": "chile-api",
        "usd_clp": 916.39,
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/convert": "Convert between CLP, UF, UTM, USD and EUR (amount=1000000, from=UF, to=CLP).",
            "GET /v1/history": "A full year of daily values for an indicator (code=dolar, year=2026).",
            "GET /v1/indicator": "One indicator with its recent series (code=uf, limit=10).",
            "GET /v1/indicators": "Latest value of every Chilean indicator (UF, UTM, dollar, copper, TPM …)."
        },
        "indicators": [
            "uf",
            "ivp",
            "dolar",
            "dolar_intercambio",
            "euro",
            "ipc",
            "utm",
            "imacec",
            "tpm",
            "libra_cobre",
            "tasa_desempleo",
            "bitcoin"
        ],
        "description": "Live Chilean economic indicators from mindicador.cl (Banco Central de Chile data). Chile runs on indicators no other currency uses: the UF (Unidad de Fomento) is an inflation-indexed unit that prices mortgages, rents and contracts, and the UTM (Unidad Tributaria Mensual) is the tax unit — both quoted in pesos and updated daily. The feed also carries the observed dollar and euro, the IPC inflation index, the IMACEC activity index, the policy rate (TPM), the copper price (Chile is the world's top copper exporter) and unemployment. The indicators endpoint returns every indicator's latest value; the indicator endpoint returns one with its recent series; the history endpoint returns a full year of daily values; the convert endpoint converts amounts between the peso, UF, UTM, dollar and euro. Live, no key, nothing stored. Distinct from generic FX feeds — this is Chile's own UF/UTM, FX, rate and copper indicator layer.",
        "upstream_status": "ok"
    },
    "meta": {
        "timestamp": "2026-06-10T22:56:43.299Z",
        "request_id": "578053ff-29a8-471b-8e39-8beaf5e00f5a"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}