Naar de inhoud
GET /v1/meta

Service metadata

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/currentaccount-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

curl "https://api.oanor.com/currentaccount-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/currentaccount-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/currentaccount-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/currentaccount-api/v1/meta",
    headers={"x-oanor-key": "oanor_test_..."}
)

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "data": {
        "note": "board and goods take countries_only (true to drop aggregates such as the euro area). country takes country (ISO-3 code or name, required). meta takes no parameters. The headline balance is percent of GDP; the decomposition is in billions of US dollars per quarter (summing exactly to the current account) and percent of GDP (derived from the headline's implied GDP). change_yoy_pts is versus four quarters ago. Each row carries its own quarter; discontinued series are filtered out. Quarterly data; a multi-hour protective cache fronts the OECD upstream.",
        "source": "OECD balance-of-payments (DF_BOP, current account vs rest-of-world, balances) via OECD SDMX API, % of GDP and US dollars, quarterly, seasonally adjusted, live, keyless",
        "service": "currentaccount-api",
        "economies": 49,
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/board": "Economies ranked by current-account balance as a share of GDP (countries_only optional).",
            "GET /v1/goods": "Economies ranked by the goods (merchandise trade) balance as a share of GDP.",
            "GET /v1/country": "One economy's full external decomposition + six-quarter trend (country=USA)."
        },
        "description": "Current account balance by country — whether each economy is a net lender or borrower to the world, live from the OECD's balance-of-payments statistics (no key). It serves the headline current-account balance as a share of GDP (the size-neutral FX-fundamental screen), the goods (merchandise trade) balance as a share of GDP, and a full per-country decomposition into goods, services, primary income and secondary income — in US dollars and as shares of GDP, with a six-quarter trend. The external-balance cut — distinct from trade growth (real export/import growth rates, the flow of volumes, not the net balance), and from the inflation, labour-cost and confidence feeds.",
        "united_states": {
            "period": "2025-Q4",
            "goods_pct": -3.08,
            "balance_pct": -2.43,
            "services_pct": 1.04
        },
        "upstream_status": "ok"
    },
    "meta": {
        "timestamp": "2026-06-12T19:36:24.772Z",
        "request_id": "0a3a1882-bd5d-48c9-9660-875a91162f11"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}