/v1/trade/annual
Annual trade totals
Try it live
10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.
It works. Grab an API key and use it in your project.
Get an API keyCode snippets
curl "https://api.oanor.com/moldova-trade-api/v1/trade/annual" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/moldova-trade-api/v1/trade/annual", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/moldova-trade-api/v1/trade/annual");
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/annual",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"unit": "Million USD",
"count": 15,
"years": [
{
"year": 2011,
"exports": 2216.8,
"imports": 5191.3,
"trade_balance": -2974.5
},
{
"year": 2012,
"exports": 2161.9,
"imports": 5212.9,
"trade_balance": -3051
},
{
"year": 2013,
"exports": 2428.3,
"imports": 5492.4,
"trade_balance": -3064.1
},
{
"year": 2014,
"exports": 2339.5,
"imports": 5317,
"trade_balance": -2977.5
},
{
"year": 2015,
"exports": 1966.8,
"imports": 3986.8,
"trade_balance": -2020
},
{
"year": 2016,
"exports": 2044.5,
"imports": 4020.3,
"trade_balance": -1975.8
},
{
"year": 2017,
"exports": 2425,
"imports": 4831.3,
"trade_balance": -2406.3
},
{
"year": 2018,
"exports": 2706.2,
"imports": 5760.1,
"trade_balance": -3053.9
},
{
"year": 2019,
"exports": 2779.2,
"imports": 5842.5,
"trade_balance": -3063.3
},
{
"year": 2020,
"exports": 2467.1,
"imports": 5416,
"trade_balance": -2948.9
},
{
"year": 2021,
"exports": 3144.5,
"imports": 7176.8,
"trade_balance": -4032.3
},
{
"year": 2022,
"exports": 4332.1,
"imports": 9219,
"trade_balance": -4886.9
},
{
"year": 2023,
"exports": 4048.6,
"imports": 8675.4,
"trade_balance": -4626.8
},
{
"year": 2024,
"exports": 3555.1,
"imports": 9065.2,
"trade_balance": -5510.1
},
{
"year": 2025,
"exports": 3782.7,
"imports": 10921.6,
"trade_balance": -7138.9
}
],
"region": "Moldova",
"source": "NBS Moldova EXT015000",
"indicator": "Foreign trade annual totals"
},
"meta": {
"timestamp": "2026-06-15T20:40:28.158Z",
"request_id": "2590767c-4593-4731-a9b9-4053cfa96bec"
},
"status": "ok",
"message": "Moldova annual trade retrieved",
"success": true
}