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/statcan-api

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

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

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

{
    "data": {
        "name": "Statistics Canada Economic Data API",
        "source": "Statistics Canada Web Data Service (www150.statcan.gc.ca)",
        "country": "Canada",
        "endpoints": [
            {
                "path": "/v1/indicators",
                "description": "List curated indicators"
            },
            {
                "path": "/v1/indicator",
                "description": "Latest value of one indicator (?code=cpi)"
            },
            {
                "path": "/v1/snapshot",
                "description": "All curated indicators at once"
            },
            {
                "path": "/v1/series",
                "description": "Raw time series for any vector (?vector=41690973&periods=12)"
            },
            {
                "path": "/v1/meta",
                "description": "This metadata document"
            }
        ],
        "disclaimer": "Unofficial proxy of the public Statistics Canada Web Data Service. Not affiliated with Statistics Canada. Data only; refer to StatCan for authoritative figures.",
        "indicators": [
            "cpi",
            "unemployment_rate",
            "gdp_monthly",
            "policy_rate",
            "population"
        ],
        "description": "Key Canadian economic indicators from the official Statistics Canada Web Data Service: the Consumer Price Index, unemployment rate, monthly real GDP, the Bank of Canada policy rate and the national population estimate. Look up a single indicator, read a full snapshot, or fetch the raw time series for any Statistics Canada vector. Values always resolve to the latest published reference period."
    },
    "meta": {
        "timestamp": "2026-06-15T11:15:00.502Z",
        "request_id": "8eb42923-2531-4be3-9ab5-124fe4929ebc"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}