Vai al contenuto
GET /v1/meta

Service metadata

Provalo dal vivo

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

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

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

Ottieni una chiave API

Frammenti di codice

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

Risposta di esempio

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

{
    "data": {
        "note": "inflation and economy take countries_only (true to drop aggregates such as the euro area). country takes country (ISO-3 code or name, required). meta takes no parameters. Balances are percentage points around zero (higher inflation balance = more price rises expected; higher economy balance = more optimism); the change is month-on-month. Monthly data; a multi-hour protective cache fronts the OECD upstream.",
        "source": "OECD Consumer Opinion Surveys (DF_CS, consumer prices IN + economic situation ES) via OECD SDMX API, percentage balance, seasonally adjusted, live, keyless",
        "service": "consumersurvey-api",
        "economies": 37,
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/country": "One economy's inflation-expectations and economic-situation balances (country=USA).",
            "GET /v1/economy": "Economies ranked by the consumer economic-situation outlook.",
            "GET /v1/inflation": "Economies ranked by consumer inflation expectations (countries_only optional)."
        },
        "description": "Consumer inflation expectations & economic outlook — what households expect for prices and the economy, live from the OECD's consumer surveys (no key). It exposes two survey balances: consumer inflation expectations (the central-bank-watched gauge of whether households expect faster price rises) and the economic-situation outlook. inflation ranks economies by inflation-expectations balance; economy ranks by economic-situation balance; country gives one economy's both balances. The consumer-survey / inflation-expectations cut — distinct from the composite Business & Consumer Confidence board (only the headline index, not the inflation-expectations component), the manufacturing business survey, and the realised-inflation feeds.",
        "united_states": {
            "period": "2026-05",
            "economic_situation": -51,
            "inflation_expectations": 8.3
        },
        "upstream_status": "ok"
    },
    "meta": {
        "timestamp": "2026-06-12T19:36:33.914Z",
        "request_id": "40157927-780d-4cbb-a9dd-29eb0f8f3bef"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}