Naar de inhoud
GET /v1/indicator

One indicator with its recent series

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/chile-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "data": {
        "code": "uf",
        "date": "2026-06-10T04:00:00.000Z",
        "name": "Unidad de fomento (UF)",
        "unit": "Pesos",
        "value": 40765.97,
        "recent": [
            {
                "date": "2026-06-10T04:00:00.000Z",
                "value": 40765.97
            },
            {
                "date": "2026-06-09T04:00:00.000Z",
                "value": 40763.26
            },
            {
                "date": "2026-06-08T04:00:00.000Z",
                "value": 40746.28
            },
            {
                "date": "2026-06-07T04:00:00.000Z",
                "value": 40729.31
            },
            {
                "date": "2026-06-06T04:00:00.000Z",
                "value": 40712.34
            },
            {
                "date": "2026-06-05T04:00:00.000Z",
                "value": 40695.38
            },
            {
                "date": "2026-06-04T04:00:00.000Z",
                "value": 40678.43
            },
            {
                "date": "2026-06-03T04:00:00.000Z",
                "value": 40661.48
            },
            {
                "date": "2026-06-02T04:00:00.000Z",
                "value": 40644.55
            },
            {
                "date": "2026-06-01T04:00:00.000Z",
                "value": 40627.62
            }
        ],
        "source": "mindicador.cl (Banco Central de Chile)"
    },
    "meta": {
        "timestamp": "2026-06-10T22:56:42.065Z",
        "request_id": "e8415ae4-c09a-42c1-b522-d0d060e32d0b"
    },
    "status": "ok",
    "message": "Indicator retrieved successfully",
    "success": true
}