Skip to content
GET /v1/meta

Service metadata

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/netiip-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

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

Example response

A real response from this endpoint, captured by the latest health check.

{
    "data": {
        "note": "board ranks by Net IIP % of GDP (net creditor to net debtor); gross ranks by gross external assets % of GDP (financial openness). Both take countries_only (true to drop aggregates). country takes country (ISO-3 code or name, required). meta takes no parameters. Positions are end-of-period stocks in billions of US dollars and percent of GDP (derived from each economy's implied GDP from the same OECD data family). 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_IIP, financial-account positions vs rest-of-world, closing balance sheet) via OECD SDMX API, US dollars + % of GDP, quarterly end-of-period stocks, live, keyless",
        "service": "netiip-api",
        "economies": 46,
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/board": "Economies ranked by net IIP as a share of GDP (countries_only optional).",
            "GET /v1/gross": "Economies ranked by gross external assets as a share of GDP (financial openness).",
            "GET /v1/country": "One economy's full external balance sheet + net-by-function breakdown (country=USA)."
        },
        "description": "Net international investment position by country — the stock of external wealth, how much each economy owns abroad versus what the world owns of it, live from the OECD's balance-of-payments statistics (no key). Where the current account is the yearly flow of external lending/borrowing, the Net IIP is the accumulated stock: net creditors (Norway, Japan, Germany, Switzerland) versus net debtors (the United States). It serves the Net IIP as a share of GDP and in dollars, gross external assets and liabilities, and the net position broken down by function (direct, portfolio, other investment, reserves). The external-stock cut — the companion to, and distinct from, the current-account balance (the flow, not the accumulated stock), trade growth, and the gross-government-debt feeds (public-sector domestic debt, not the whole economy's external position).",
        "united_states": {
            "period": "2025-Q4",
            "net_usd_bn": -27537.02,
            "net_pct_gdp": -87.6
        },
        "upstream_status": "ok"
    },
    "meta": {
        "timestamp": "2026-06-12T19:36:21.203Z",
        "request_id": "32aee950-8d6e-4ab9-8450-4208df43897c"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}