Aller au contenu
GET /v1/country

One economy's unit-labour-cost, wage and productivity growth with the decomposition

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/labourcosts-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/labourcosts-api/v1/country" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/labourcosts-api/v1/country", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/labourcosts-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/labourcosts-api/v1/country",
    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": {
        "code": "USA",
        "name": "United States",
        "note": "One economy's year-on-year unit-labour-cost, wage (compensation per employee) and productivity (GDP per person employed) growth. The decomposition shows the identity: unit labour costs grow roughly as fast as wages grow minus productivity grows. When wages outrun productivity, unit labour costs and inflation pressure rise. Quarterly year-on-year, cached a few hours.",
        "source": "OECD Productivity & Unit Labour Costs (SDMX)",
        "quarter": "2025-Q3",
        "wages_yoy": 3.36,
        "is_aggregate": false,
        "decomposition": "unit labour costs ≈ wages − productivity: 3.36% − 1.16% ≈ 2.2% (reported 2.18%)",
        "productivity_yoy": 1.16,
        "unit_labour_costs_yoy": 2.18
    },
    "meta": {
        "timestamp": "2026-06-12T19:36:31.138Z",
        "request_id": "41845a32-0566-421c-a417-790d496fc3ef"
    },
    "status": "ok",
    "message": "Country labour costs retrieved successfully",
    "success": true
}