{"openapi":"3.1.0","info":{"title":"Moldova Foreign Trade API","version":"1.0.0","description":"Official foreign-trade statistics for the Republic of Moldova — exports, imports and the trade balance — sourced live from the National Bureau of Statistics of Moldova via its public PxWeb statbank (table EXT015000), all values in millions of US dollars. The trade endpoint returns the latest reported month with exports, imports, the trade balance and the export-to-import cover ratio. The series endpoint returns the monthly history of exports, imports and balance, parameterised by the number of months. The partners endpoint breaks the latest month down by partner-country group — total, CIS countries, the European Union and the rest of the world — each with its exports, imports and balance, showing where Moldova trades. The annual endpoint returns full-year totals for exports, imports and balance across recent years. Figures are published directly by the statistics bureau, not modelled, and refreshed from source with a short server-side cache and keep-warm. Ideal for macro and trade dashboards, emerging-market and CIS/EU economics trackers, supply-chain and current-account analysis, and fintech needing a clean structured trade feed for a market the big aggregators rarely cover at monthly resolution. Live keyless upstream. 5 endpoints.","contact":{"name":"PremiumApi","url":"https://www.oanor.com/by/premiumapi"}},"servers":[{"url":"https://api.oanor.com/moldova-trade-api","description":"oanor gateway"}],"tags":[{"name":"Trade"},{"name":"Meta"}],"components":{"securitySchemes":{"oanorKey":{"type":"apiKey","in":"header","name":"x-oanor-key","description":"Get your key at https://www.oanor.com/developer/keys"}}},"security":[{"oanorKey":[]}],"paths":{"/v1/trade":{"get":{"operationId":"get_v1_trade","tags":["Trade"],"summary":"Latest-month trade","description":"","parameters":[],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"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}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/trade/annual":{"get":{"operationId":"get_v1_trade_annual","tags":["Trade"],"summary":"Annual trade totals","description":"","parameters":[{"name":"years","in":"query","required":false,"description":"Number of most recent years to return","schema":{"type":"string"},"example":"15"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"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}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/trade/partners":{"get":{"operationId":"get_v1_trade_partners","tags":["Trade"],"summary":"Trade by partner group","description":"","parameters":[],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"unit":"Million USD","count":4,"groups":[{"group":"Total","exports":314.7,"imports":1064.5,"trade_balance":-749.8},{"group":"CIS countries","exports":18,"imports":34.5,"trade_balance":-16.5},{"group":"European Union","exports":202.8,"imports":583.2,"trade_balance":-380.4},{"group":"Rest of world","exports":93.9,"imports":446.8,"trade_balance":-352.9}],"period":"2026-04","region":"Moldova","source":"NBS Moldova EXT015000","indicator":"Foreign trade by partner group (latest month)"},"meta":{"timestamp":"2026-06-15T20:40:28.267Z","request_id":"4dd221ae-93f7-47a7-abf5-8af1cc3e268e"},"status":"ok","message":"Moldova trade by partner retrieved","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/trade/series":{"get":{"operationId":"get_v1_trade_series","tags":["Trade"],"summary":"Monthly trade series","description":"","parameters":[{"name":"months","in":"query","required":false,"description":"Number of most recent months to return","schema":{"type":"string"},"example":"36"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"unit":"Million USD","count":36,"region":"Moldova","series":[{"period":"2023-05","exports":336.5,"imports":709.2,"trade_balance":-372.7},{"period":"2023-06","exports":316.6,"imports":665.6,"trade_balance":-349},{"period":"2023-07","exports":304.2,"imports":639.5,"trade_balance":-335.3},{"period":"2023-08","exports":321.6,"imports":698.9,"trade_balance":-377.3},{"period":"2023-09","exports":348,"imports":703.2,"trade_balance":-355.2},{"period":"2023-10","exports":341.8,"imports":714.1,"trade_balance":-372.3},{"period":"2023-11","exports":379.2,"imports":737.2,"trade_balance":-358},{"period":"2023-12","exports":311.3,"imports":810.1,"trade_balance":-498.8},{"period":"2024-01","exports":274.1,"imports":623.3,"trade_balance":-349.2},{"period":"2024-02","exports":327.1,"imports":752.3,"trade_balance":-425.2},{"period":"2024-03","exports":320.3,"imports":779.4,"trade_balance":-459.1},{"period":"2024-04","exports":292.7,"imports":776.8,"trade_balance":-484.1},{"period":"2024-05","exports":277.8,"imports":691.4,"trade_balance":-413.6},{"period":"2024-06","exports":288.5,"imports":693,"trade_balance":-404.5},{"period":"2024-07","exports":284.9,"imports":788.4,"trade_balance":-503.5},{"period":"2024-08","exports":272.7,"imports":736,"trade_balance":-463.3},{"period":"2024-09","exports":280.7,"imports":773.4,"trade_balance":-492.7},{"period":"2024-10","exports":330.9,"imports":792,"trade_balance":-461.1},{"period":"2024-11","exports":335.5,"imports":813.9,"trade_balance":-478.4},{"period":"2024-12","exports":269.8,"imports":845.3,"trade_balance":-575.5},{"period":"2025-01","exports":243.1,"imports":720.3,"trade_balance":-477.2},{"period":"2025-02","exports":269.1,"imports":870.4,"trade_balance":-601.3},{"period":"2025-03","exports":299.1,"imports":958.1,"trade_balance":-659},{"period":"2025-04","exports":265.5,"imports":858.7,"trade_balance":-593.2},{"period":"2025-05","exports":257.8,"imports":855.2,"trade_balance":-597.4},{"period":"2025-06","exports":266,"imports":852.9,"trade_balance":-586.9},{"period":"2025-07","exports":347,"imports":905.1,"trade_balance":-558.1},{"period":"2025-08","exports":332.6,"imports":889.2,"trade_balance":-556.6},{"period":"2025-09","exports":345.4,"imports":937,"trade_balance":-591.6},{"period":"2025-10","exports":409.2,"imports":996,"trade_balance":-586.8},{"period":"2025-11","exports":395.9,"imports":978.6,"trade_balance":-582.7},{"period":"2025-12","exports":351.9,"imports":1100,"trade_balance":-748.1},{"period":"2026-01","exports":310.8,"imports":823.7,"trade_balance":-512.9},{"period":"2026-02","exports":337.7,"imports":972.1,"trade_balance":-634.4},{"period":"2026-03","exports":344.8,"imports":1077.9,"trade_balance":-733.1},{"period":"2026-04","exports":314.7,"imports":1064.5,"trade_balance":-749.8}],"source":"NBS Moldova EXT015000","indicator":"Foreign trade monthly series"},"meta":{"timestamp":"2026-06-15T20:40:28.357Z","request_id":"7474fa97-cc46-43e9-a94d-f3ea0b0feb56"},"status":"ok","message":"Moldova trade series retrieved","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/meta":{"get":{"operationId":"get_v1_meta","tags":["Meta"],"summary":"Spec","description":"","parameters":[],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"api":"Moldova Foreign Trade API","region":"Republic of Moldova","source":"National Bureau of Statistics of Moldova — PxWeb statbank (statbank.statistica.md), table EXT015000","endpoints":["/v1/trade","/v1/trade/series","/v1/trade/partners","/v1/trade/annual","/v1/meta"],"indicator":"Exports, imports and trade balance (Million USD), monthly and annual, by partner-country group","documentation":"https://moldova-trade-api.oanor.dev","partner_groups":["Total","CIS countries","European Union","Rest of world"]},"meta":{"timestamp":"2026-06-15T20:40:28.445Z","request_id":"2575a438-48a7-4d11-8054-56b07516d536"},"status":"ok","message":"Meta","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}}},"x-oanor-pricing":[{"slug":"free","name":"Free","price_cents_month":0,"monthly_call_quota":240,"rps_limit":2,"hard_limit":true},{"slug":"starter","name":"Starter","price_cents_month":1380,"monthly_call_quota":14200,"rps_limit":7,"hard_limit":true},{"slug":"pro","name":"Pro","price_cents_month":3690,"monthly_call_quota":72000,"rps_limit":14,"hard_limit":true},{"slug":"mega","name":"Mega","price_cents_month":8840,"monthly_call_quota":270000,"rps_limit":35,"hard_limit":true}],"x-oanor-marketplace-url":"https://www.oanor.com/api/moldova-trade-api"}