Aller au contenu
GET /v1/meta

Service metadata

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/confidence-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

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

Exemple de réponse

Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.

{
    "data": {
        "note": "business and consumer take countries_only (true to drop aggregates). country takes country (ISO-3 code or name, required). meta takes no parameters. Index values are points around 100; the mood is above/below 100 and the direction is rising/falling. Monthly data; a multi-hour protective cache fronts the OECD upstream.",
        "source": "OECD Business (BCICP) & Consumer (CCICP) Confidence via OECD SDMX API, amplitude-adjusted, live, keyless",
        "service": "confidence-api",
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/country": "Business + consumer confidence side by side for one economy (country=USA).",
            "GET /v1/business": "Business Confidence Indicator (BCI) for every economy, ranked (countries_only optional).",
            "GET /v1/consumer": "Consumer Confidence Indicator (CCI) for every economy, ranked (countries_only optional)."
        },
        "description": "OECD Business & Consumer Confidence — how optimistic firms and households are in each economy, live from the OECD (no key). Both are amplitude-adjusted survey indices around 100 (above = optimism, below = pessimism) that lead the hard data. business returns the Business Confidence Indicator for every economy ranked; consumer returns the Consumer Confidence Indicator; country puts both side by side for one economy with a combined read. The survey-based soft-data / sentiment cut — distinct from the OECD composite-leading-indicator board (a different measure), the bond-yield and inflation boards, and the generic data aggregator.",
        "united_states": {
            "business": 99.97,
            "consumer": 95.631
        },
        "upstream_status": "ok",
        "business_economies": 54,
        "consumer_economies": 49
    },
    "meta": {
        "timestamp": "2026-06-12T19:37:51.917Z",
        "request_id": "e8e37c41-f485-498d-bd4a-370c076e2710"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}