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/trade-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/trade-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/trade-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/trade-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/trade-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": "board and imports take countries_only (true to drop aggregates such as OECD, G20, EU). country takes country (ISO-3 code or name, required). 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_EXPENDITURE_GROWTH_OECD, exports P6 / imports P7) via OECD SDMX API, real, seasonally adjusted, live, keyless",
        "service": "trade-api",
        "economies": 50,
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/board": "Economies ranked by year-on-year real exports growth, with imports (countries_only optional).",
            "GET /v1/country": "One economy's exports and imports growth, year-on-year and quarter-on-quarter (country=USA).",
            "GET /v1/imports": "Economies ranked by year-on-year real imports growth."
        },
        "description": "Trade growth — how fast each economy's exports and imports are growing, live from the OECD's Quarterly National Accounts (no key). It serves the quarter-on-quarter and year-on-year growth of real exports and imports of goods and services. board ranks economies by export growth with imports alongside; imports ranks by import growth; country gives one economy's trade growth with a read of whether net trade is improving or dragging. The external-sector / trade-growth cut — distinct from the headline GDP-growth board (this isolates the trade component), the annual IMF database, and the generic data aggregator.",
        "united_states": {
            "quarter": "2026-Q1",
            "exports_yoy": 4.19,
            "imports_yoy": -5.09
        },
        "upstream_status": "ok"
    },
    "meta": {
        "timestamp": "2026-06-12T19:37:13.767Z",
        "request_id": "954f9bec-5337-40d8-9d6e-e5d86e12dc7c"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}