Naar de inhoud
GET /v1/meta

Service metadata

Probeer het live

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

Aangepaste headers (optioneel)
api.oanor.com/latvia-stats-api

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

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

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

{
    "data": {
        "note": "path is relative to OSP_PUB, e.g. VEK/PC/PCI/PCI021m (consumer prices).",
        "source": "Official Statistics of Latvia (Central Statistical Bureau, CSB)",
        "upstream": "https://data.stat.gov.lv/api/v1/en/OSP_PUB",
        "cpi_table": "VEK/PC/PCI/PCI021m",
        "endpoints": [
            "/v1/cpi",
            "/v1/series",
            "/v1/table",
            "/v1/catalog",
            "/v1/meta"
        ],
        "description": "Keyless gateway over the Official Statistics of Latvia PxWeb API. /v1/cpi gives the latest Latvian consumer price index and inflation (index + monthly + year-on-year change); /v1/series pulls any table as a clean time-series; /v1/table inspects a table's variables; /v1/catalog browses the subject tree.",
        "documentation": "https://api.oanor.com/latvia-stats-api"
    },
    "meta": {
        "timestamp": "2026-06-15T20:41:18.650Z",
        "request_id": "f4d34a6f-7839-438d-9759-a69f543aaacd"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}