Aller au contenu
GET /v1/country

One economy's employment growth, year-on-year and quarter-on-quarter

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/employment-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/employment-api/v1/country" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/employment-api/v1/country", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/employment-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/employment-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": "ESP",
        "name": "Spain",
        "note": "One economy's total-employment growth, year-on-year and quarter-on-quarter (seasonally adjusted). A positive change means more people are in work than a year earlier — the jobs companion to the unemployment rate. Quarterly, cached a few hours.",
        "source": "OECD Quarterly National Accounts (SDMX)",
        "quarter": "2026-Q1",
        "is_aggregate": false,
        "employment_growth": {
            "qoq": 0.63,
            "yoy": 2.57,
            "reading": "hiring strongly"
        }
    },
    "meta": {
        "timestamp": "2026-06-13T04:44:45.328Z",
        "request_id": "868e84a0-e047-4471-a8a7-6709b5baae00"
    },
    "status": "ok",
    "message": "Country employment retrieved successfully",
    "success": true
}