Naar de inhoud
GET /v1/trade

Latest-month trade

Probeer het live

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

Aangepaste headers (optioneel)
api.oanor.com/moldova-trade-api

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

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

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

{
    "data": {
        "unit": "Million USD",
        "period": "2026-04",
        "region": "Moldova",
        "source": "National Bureau of Statistics of Moldova (statbank.statistica.md, table EXT015000)",
        "exports": 314.7,
        "imports": 1064.5,
        "indicator": "Foreign trade (latest month)",
        "month_name": "April",
        "trade_balance": -749.8,
        "cover_ratio_pct": 29.56
    },
    "meta": {
        "timestamp": "2026-06-15T20:40:28.056Z",
        "request_id": "b9984b97-c9de-4b53-b155-31e523b5eca4"
    },
    "status": "ok",
    "message": "Moldova trade retrieved",
    "success": true
}