/v1/aggregate
Query any IBGE SIDRA aggregate
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/brazil-stats-api/v1/aggregate" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/brazil-stats-api/v1/aggregate", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/brazil-stats-api/v1/aggregate");
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/brazil-stats-api/v1/aggregate",
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": {
"level": "N1",
"source": "IBGE SIDRA",
"aggregate": "1737",
"variables": [
{
"name": "IPCA - Variação mensal",
"unit": "%",
"values": [
{
"value": 0.58,
"period": "202605",
"period_iso": "2026-05"
}
],
"variable_id": "63"
}
]
},
"meta": {
"timestamp": "2026-06-15T20:41:02.912Z",
"request_id": "b22e5bf5-4afc-4682-8a1b-d2bd5dc8b55a"
},
"status": "ok",
"message": "IBGE SIDRA aggregate retrieved",
"success": true
}