/v1/country
One economy's real GDP growth, year-on-year and quarter-on-quarter
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/gdp-api/v1/country" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/gdp-api/v1/country", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/gdp-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/gdp-api/v1/country",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"code": "USA",
"name": "United States",
"note": "One economy's real GDP growth, year-on-year and quarter-on-quarter (chain-linked volume, seasonally adjusted). A positive year-on-year change means output is above its level a year earlier; two consecutive negative quarter-on-quarter readings is the classic technical-recession marker. Quarterly, cached a few hours.",
"source": "OECD Quarterly National Accounts (SDMX)",
"quarter": "2026-Q1",
"gdp_growth": {
"qoq": 0.4,
"yoy": 2.57,
"reading": "growing"
},
"is_aggregate": false
},
"meta": {
"timestamp": "2026-06-12T19:37:25.652Z",
"request_id": "bbbb2498-d91e-4f3c-9baf-4676e49d5f3e"
},
"status": "ok",
"message": "Country GDP growth retrieved successfully",
"success": true
}