/v1/indicators
List curated indicators
Pruébalo en vivo
10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.
Funciona. Consigue una clave API y úsala en tu proyecto.
Obtener una clave APIFragmentos de código
curl "https://api.oanor.com/statcan-api/v1/indicators" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/statcan-api/v1/indicators", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/statcan-api/v1/indicators");
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/indicators",
headers={"x-oanor-key": "oanor_test_..."}
)
Respuesta de ejemplo
Una respuesta real de este endpoint, capturada en la última comprobación de estado.
{
"data": {
"count": 5,
"indicators": [
{
"code": "cpi",
"unit": "index (2002=100)",
"label": "Consumer Price Index (all-items, Canada)",
"vector": 41690973
},
{
"code": "unemployment_rate",
"unit": "%",
"label": "Unemployment rate (Canada, seasonally adjusted)",
"vector": 2062815
},
{
"code": "gdp_monthly",
"unit": "millions CAD",
"label": "Monthly real GDP (all industries, chained 2017 $)",
"vector": 65201210
},
{
"code": "policy_rate",
"unit": "%",
"label": "Bank of Canada policy / bank rate",
"vector": 122530
},
{
"code": "population",
"unit": "persons",
"label": "Population estimate (Canada)",
"vector": 1
}
]
},
"meta": {
"timestamp": "2026-06-15T11:14:58.122Z",
"request_id": "3f5a08c5-d4dc-47da-ae80-31712c8c0e92"
},
"status": "ok",
"message": "Indicators retrieved successfully",
"success": true
}