Ir al contenido
GET /v1/goods

Economies ranked by goods (merchandise trade) balance (% of GDP)

Pruébalo en vivo

10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.

Encabezados personalizados (opcional)
api.oanor.com/currentaccount-api

Funciona. Consigue una clave API y úsala en tu proyecto.

Obtener una clave API

Fragmentos de código

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

Respuesta de ejemplo

Una respuesta real de este endpoint, capturada en la última comprobación de estado.

{
    "data": {
        "note": "Economies ranked by their merchandise (goods) trade balance as a share of GDP — the pure trade-in-goods story, separated from services and investment income. A goods surplus (Germany, Korea, the oil exporters) versus a goods deficit (the US, the UK) is the visible half of the external balance; the gap between goods_pct and the current_account_pct is what services and income add back. Shares of GDP are derived from the headline's implied GDP (exact). Quarterly, seasonally adjusted, cached a few hours.",
        "board": [
            {
                "code": "IRL",
                "name": "Ireland",
                "period": "2026-Q1",
                "goods_pct": 17.43,
                "goods_usd_bn": 28.84,
                "is_aggregate": false,
                "services_pct": 6.9,
                "current_account_pct": 12.9
            },
            {
                "code": "NOR",
                "name": "Norway",
                "period": "2025-Q4",
                "goods_pct": 11.68,
                "goods_usd_bn": 15.62,
                "is_aggregate": false,
                "services_pct": -2.17,
                "current_account_pct": 12.38
            },
            {
                "code": "DNK",
                "name": "Denmark",
                "period": "2026-Q1",
                "goods_pct": 10.61,
                "goods_usd_bn": 12.87,
                "is_aggregate": false,
                "services_pct": 0.05,
                "current_account_pct": 12.32
            },
            {
                "code": "NLD",
                "name": "Netherlands",
                "period": "2025-Q4",
                "goods_pct": 8.44,
                "goods_usd_bn": 29.5,
                "is_aggregate": false,
                "services_pct": 3.87,
                "current_account_pct": 10.89
            },
            {
                "code": "SAU",
                "name": "Saudi Arabia",
                "period": "2025-Q4",
                "goods_pct": 7.81,
                "goods_usd_bn": 21.62,
                "is_aggregate": false,
                "services_pct": -4.88,
                "current_account_pct": -2.55
            },
            {
                "code": "CHL",
                "name": "Chile",
                "period": "2026-Q1",
                "goods_pct": 7.67,
                "goods_usd_bn": 7.69,
                "is_aggregate": false,
                "services_pct": -2.2,
                "current_account_pct": -0.31
            },
            {
                "code": "KOR",
                "name": "Korea",
                "period": "2025-Q4",
                "goods_pct": 7.54,
                "goods_usd_bn": 83.86,
                "is_aggregate": false,
                "services_pct": -0.58,
                "current_account_pct": 7.64
            },
            {
                "code": "CHE",
                "name": "Switzerland",
                "period": "2025-Q4",
                "g
…