/v1/series
Raw time series for any vector
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
curl "https://api.oanor.com/statcan-api/v1/series" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/statcan-api/v1/series", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/statcan-api/v1/series");
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/series",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"count": 12,
"source": "Statistics Canada",
"vector": 41690973,
"observations": [
{
"value": 168,
"period": "2026-04-01",
"decimals": 1
},
{
"value": 167.4,
"period": "2026-03-01",
"decimals": 1
},
{
"value": 165.9,
"period": "2026-02-01",
"decimals": 1
},
{
"value": 165,
"period": "2026-01-01",
"decimals": 1
},
{
"value": 165,
"period": "2025-12-01",
"decimals": 1
},
{
"value": 165.4,
"period": "2025-11-01",
"decimals": 1
},
{
"value": 165.3,
"period": "2025-10-01",
"decimals": 1
},
{
"value": 164.9,
"period": "2025-09-01",
"decimals": 1
},
{
"value": 164.8,
"period": "2025-08-01",
"decimals": 1
},
{
"value": 164.9,
"period": "2025-07-01",
"decimals": 1
},
{
"value": 164.4,
"period": "2025-06-01",
"decimals": 1
},
{
"value": 164.3,
"period": "2025-05-01",
"decimals": 1
}
],
"indicator_code": "cpi"
},
"meta": {
"timestamp": "2026-06-15T11:15:00.395Z",
"request_id": "bf059216-6882-497c-aaac-760bdd2015d6"
},
"status": "ok",
"message": "Series retrieved successfully",
"success": true
}