/v1/country
One economy's investment growth, year-on-year and quarter-on-quarter
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/investmentgrowth-api/v1/country" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/investmentgrowth-api/v1/country", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/investmentgrowth-api/v1/country");
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/investmentgrowth-api/v1/country",
headers={"x-oanor-key": "oanor_test_..."}
)
Respuesta de ejemplo
Una respuesta real de este endpoint, capturada en la última comprobación de estado.
{
"data": {
"code": "USA",
"name": "United States",
"note": "One economy's real investment growth (gross fixed capital formation), year-on-year and quarter-on-quarter, chain-linked volume, seasonally adjusted. Investment leads the business cycle — a sustained fall flags a downturn ahead, a surge a recovery. Quarterly, cached a few hours.",
"source": "OECD Quarterly National Accounts (SDMX)",
"quarter": "2026-Q1",
"is_aggregate": false,
"investment_growth": {
"qoq": 1.31,
"yoy": 2.88,
"reading": "investment growing"
}
},
"meta": {
"timestamp": "2026-06-12T19:37:06.695Z",
"request_id": "10e348f6-fc6d-4ac7-ab26-959b5bf790b8"
},
"status": "ok",
"message": "Country investment retrieved successfully",
"success": true
}