Aller au contenu
GET /v1/indicators

Dashboard of headline US indicators

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/bls-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/bls-api/v1/indicators" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/bls-api/v1/indicators", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/bls-api/v1/indicators");
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/bls-api/v1/indicators",
    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": {
        "count": 6,
        "source": "US Bureau of Labor Statistics",
        "country": "United States",
        "indicators": [
            {
                "key": "cpi",
                "unit": "index",
                "label": "CPI-U, all items (1982-84=100, NSA)",
                "value": 335.123,
                "period": "2026 May",
                "series_id": "CUUR0000SA0",
                "period_iso": "2026-05"
            },
            {
                "key": "core_cpi",
                "unit": "index",
                "label": "Core CPI-U (all items less food & energy)",
                "value": 336.846,
                "period": "2026 May",
                "series_id": "CUUR0000SA0L1E",
                "period_iso": "2026-05"
            },
            {
                "key": "unemployment_rate",
                "unit": "percent",
                "label": "Unemployment rate (16+, seasonally adjusted)",
                "value": 4.3,
                "period": "2026 May",
                "series_id": "LNS14000000",
                "period_iso": "2026-05"
            },
            {
                "key": "ppi_final_demand",
                "unit": "index",
                "label": "PPI, final demand",
                "value": 158.012,
                "period": "2026 May",
                "series_id": "WPUFD4",
                "period_iso": "2026-05"
            },
            {
                "key": "avg_hourly_earnings",
                "unit": "usd",
                "label": "Average hourly earnings, total private (USD)",
                "value": 37.53,
                "period": "2026 May",
                "series_id": "CES0500000003",
                "period_iso": "2026-05"
            },
            {
                "key": "nonfarm_employment",
                "unit": "thousands",
                "label": "Total nonfarm employment (thousands)",
                "value": 159001,
                "period": "2026 May",
                "series_id": "CES0000000001",
                "period_iso": "2026-05"
            }
        ]
    },
    "meta": {
        "timestamp": "2026-06-15T20:40:39.183Z",
        "request_id": "89997a23-2e5f-4bbe-9032-8dc670fb6a92"
    },
    "status": "ok",
    "message": "US key indicators retrieved",
    "success": true
}