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/gdpsector-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/gdpsector-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/gdpsector-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/gdpsector-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/gdpsector-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": "services and industry take countries_only (true to drop aggregates such as OECD, G20, EU). country takes country (ISO-3 code or name, required) and returns all four sectors. meta takes no parameters. Growth figures are in percent; yoy is year-on-year, qoq is quarter-on-quarter. Quarterly data; a multi-hour protective cache fronts the OECD upstream.",
        "source": "OECD Quarterly National Accounts (DF_QNA_BY_ACTIVITY_OUTPUT, gross value added B1G by activity) via OECD SDMX API, real, seasonally adjusted, live, keyless",
        "service": "gdpsector-api",
        "economies": null,
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/country": "One economy's GDP growth by sector with leading/lagging sector (country=USA).",
            "GET /v1/industry": "Economies ranked by industry value-added growth.",
            "GET /v1/services": "Economies ranked by services value-added growth (countries_only optional)."
        },
        "description": "GDP by sector — which parts of each economy are driving growth, live from the OECD's Quarterly National Accounts (no key). It computes the quarter-on-quarter and year-on-year growth of real gross value added in services, industry, construction and agriculture. country gives one economy's sector breakdown with the leading and lagging sector; services ranks economies by services value-added growth; industry ranks by industry value-added growth. The sectoral-GDP / value-added cut — distinct from the headline GDP-growth board (the total), the monthly industrial-production index (a different measure, industry only), the annual IMF database, and the generic data aggregator.",
        "united_states": null,
        "upstream_status": null
    },
    "meta": {
        "timestamp": "2026-06-12T19:36:47.208Z",
        "request_id": "651f6730-ac3b-4936-b104-ef2e205f8325"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}