trade
Available trade
https://docs.economicsapi.com/endpoints/gettradeavailable
gethttps://api.economicsapi.com/v1/trade/available
Country names, product codes and flow directions accepted by trade requests. Copy a country id into reporter/partner and a product hs6 into product. Supply country or a product search q. Follow next_offset for more matches. Valid filters do not guarantee data for every country/product/date combination. This request is free.
curl -X GET "https://api.economicsapi.com/v1/trade/available" \
-H "Authorization: Bearer sk_live_xxxxxxxxxxxxxxxxxxxx"Authorization
AuthorizationstringheaderrequiredBearer token. API key from your economicsapi dashboard Format: `Bearer sk_live_xxxxxxxxxxxxxxxxxxxx`.
Query parameters
qstring | nullProduct name or code prefix
countrystring | nullCountry name or code to find
limitintegerdefault 100min 1 · max 500
offsetintegerdefault 0Use next_offset from the previous response
min 0
Response
200Successful Response
application/jsondataTradeAvailablerequiredrequest_idstringdefault ""duration_msintegerdefault 0401Missing or invalid API key
application/jsonerrorstringmessagestringrequest_idstring422Validation Error
application/jsondetailValidationError[]429Rate limit exceeded
application/jsonerrorstringmessagestringrequest_idstring