Aller au contenu
GET /v1/dataset

Observations from any CBS StatLine table

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/netherlands-stats-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/netherlands-stats-api/v1/dataset" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/netherlands-stats-api/v1/dataset", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/netherlands-stats-api/v1/dataset");
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/netherlands-stats-api/v1/dataset",
    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": {
        "rows": [
            {
                "CPI_1": 131.35,
                "Perioden": "2025MM01"
            },
            {
                "CPI_1": 132.8,
                "Perioden": "2025MM02"
            },
            {
                "CPI_1": 133.33,
                "Perioden": "2025MM03"
            },
            {
                "CPI_1": 134.72,
                "Perioden": "2025MM04"
            },
            {
                "CPI_1": 134,
                "Perioden": "2025MM05"
            },
            {
                "CPI_1": 133.96,
                "Perioden": "2025MM06"
            },
            {
                "CPI_1": 135.69,
                "Perioden": "2025MM07"
            },
            {
                "CPI_1": 135.99,
                "Perioden": "2025MM08"
            },
            {
                "CPI_1": 135.92,
                "Perioden": "2025MM09"
            },
            {
                "CPI_1": 136.38,
                "Perioden": "2025MM10"
            }
        ],
        "count": 10,
        "table": "83131NED"
    },
    "meta": {
        "timestamp": "2026-06-15T11:14:37.240Z",
        "request_id": "c615b161-88cb-4b36-832b-2116c738206a"
    },
    "status": "ok",
    "message": "Dataset retrieved successfully",
    "success": true
}