Μετάβαση στο περιεχόμενο
GET /v1/country

One economy's CLI — latest reading, change and phase

Δοκιμάστε το ζωντανά

10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.

Προσαρμοσμένες κεφαλίδες (προαιρετικά)
api.oanor.com/leadingindicators-api

Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.

Λάβετε ένα κλειδί API

Αποσπάσματα κώδικα

curl "https://api.oanor.com/leadingindicators-api/v1/country" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/leadingindicators-api/v1/country", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/leadingindicators-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/leadingindicators-api/v1/country",
    headers={"x-oanor-key": "oanor_test_..."}
)

Παράδειγμα απόκρισης

Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.

{
    "data": {
        "cli": 101.022,
        "code": "USA",
        "name": "United States",
        "note": "One economy's amplitude-adjusted CLI: the latest reading, the month-on-month change and its business-cycle phase. Above 100 = above long-term trend; the phase combines level and direction. The CLI is a leading indicator (~6-9 months ahead of GDP). Cached a few hours.",
        "phase": "Expansion",
        "change": 0.102,
        "period": "2026-05",
        "recent": [
            {
                "cli": 100.92,
                "period": "2026-04"
            },
            {
                "cli": 101.022,
                "period": "2026-05"
            }
        ],
        "source": "OECD Composite Leading Indicators (SDMX)",
        "vs_trend": "above",
        "direction": "rising",
        "phase_note": "above long-term trend and rising — activity accelerating",
        "is_aggregate": false,
        "previous_cli": 100.92
    },
    "meta": {
        "timestamp": "2026-06-12T19:37:54.132Z",
        "request_id": "07d8ab4f-329e-4745-9a52-ee4c1b261802"
    },
    "status": "ok",
    "message": "Country CLI retrieved successfully",
    "success": true
}