/v1/country
Business + consumer confidence side by side for one economy
Δοκιμάστε το ζωντανά
10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.
Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.
Λάβετε ένα κλειδί APIΑποσπάσματα κώδικα
curl "https://api.oanor.com/confidence-api/v1/country" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/confidence-api/v1/country", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/confidence-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/confidence-api/v1/country",
headers={"x-oanor-key": "oanor_test_..."}
)
Παράδειγμα απόκρισης
Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.
{
"data": {
"code": "USA",
"name": "United States",
"note": "One economy's OECD Business and Consumer Confidence side by side. Both indices oscillate around 100 (above = optimism). Survey-based soft data that leads the hard data. Monthly, cached a few hours.",
"period": "2026-04",
"source": "OECD Business & Consumer Confidence (SDMX)",
"is_aggregate": false,
"combined_read": "both firms and households pessimistic",
"business_confidence": {
"mood": "pessimism",
"value": 99.97,
"change": 0.057,
"reading": "pessimistic but recovering",
"direction": "rising"
},
"consumer_confidence": {
"mood": "pessimism",
"value": 95.631,
"change": -0.466,
"reading": "pessimistic and deteriorating",
"direction": "falling"
}
},
"meta": {
"timestamp": "2026-06-12T19:37:51.816Z",
"request_id": "eeee82a7-94d4-4b77-9f4b-8f3d98b1c25b"
},
"status": "ok",
"message": "Country confidence retrieved successfully",
"success": true
}