cURL
curl --request GET \ --url https://api.example.com/api/trade/v1/get-trade-flows
{ "flows": [ { "reportingCountry": "<string>", "partnerCountry": "<string>", "year": 123, "exportValueUsd": 123, "importValueUsd": 123, "yoyExportChange": 123, "yoyImportChange": 123, "productSector": "<string>" } ], "fetchedAt": "<string>", "upstreamUnavailable": true }
Get bilateral merchandise trade flows.
WTO member code of reporting country.
WTO member code of partner country.
Number of years to look back (default 10, max 30).
Successful response
Response containing trade flow records.
Show child attributes
ISO 8601 timestamp when data was fetched from WTO.
True if upstream fetch failed and results may be stale/empty.
Was this page helpful?