Vai al contenuto
GET /v1/consumer

Consumer Confidence Indicator for every economy, ranked

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/confidence-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

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

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

{
    "data": {
        "note": "The OECD amplitude-adjusted Consumer Confidence Indicator (CCI) for every tracked economy (and aggregates unless countries_only=true), ranked. The index oscillates around 100: above 100 = confidence above its long-term average (optimism), below 100 = pessimism; direction gives whether sentiment is improving or deteriorating. Survey-based soft data, leads the hard data. Each row carries its own period (economies report with a varying lag); discontinued series are excluded. Monthly, cached a few hours.",
        "board": [
            {
                "code": "CRI",
                "mood": "optimism",
                "name": "Costa Rica",
                "value": 105.41,
                "change": 0.518,
                "period": "2026-02",
                "reading": "optimistic and improving",
                "previous": 104.892,
                "direction": "rising",
                "is_aggregate": false
            },
            {
                "code": "HUN",
                "mood": "optimism",
                "name": "Hungary",
                "value": 102.429,
                "change": 0.885,
                "period": "2026-05",
                "reading": "optimistic and improving",
                "previous": 101.545,
                "direction": "rising",
                "is_aggregate": false
            },
            {
                "code": "IND",
                "mood": "optimism",
                "name": "India",
                "value": 102.367,
                "change": -0.374,
                "period": "2026-03",
                "reading": "optimistic but softening",
                "previous": 102.741,
                "direction": "falling",
                "is_aggregate": false
            },
            {
                "code": "MEX",
                "mood": "optimism",
                "name": "Mexico",
                "value": 102.115,
                "change": -0.197,
                "period": "2026-05",
                "reading": "optimistic but softening",
                "previous": 102.312,
                "direction": "falling",
                "is_aggregate": false
            },
            {
                "code": "COL",
                "mood": "optimism",
                "name": "Colombia",
                "value": 101.46,
                "change": -0.369,
                "period": "2026-04",
                "reading": "optimistic but softening",
                "previous": 101.829,
                "direction": "falling",
                "is_aggregate": false
            },
            {
                "code": "IDN",
                "mood": "optimism",
                "name": "Indonesia",
                "value": 101.223,
                "change": -0.074,
                "period": "2026-04",
                "reading": "optimistic but softening",
                "previous": 101.298,
                "direction": "falling",
                "is_aggregate": false
            },
       
…