Product trade
Product trade series
https://docs.importexportapi.com/endpoints/getproducttrade
gethttps://api.importexportapi.com/products/{pid}/trade
Annual trade series for one product, optionally filtered by reporter/partner and flow direction.
curl -X GET "https://api.importexportapi.com/products/example/trade" \
-H "Authorization: Bearer sk_live_xxxxxxxxxxxxxxxxxxxx"Authorization
AuthorizationstringheaderrequiredBearer token. API key from your importexportapi dashboard Format: `Bearer sk_live_xxxxxxxxxxxxxxxxxxxx`.
Path parameters
pidstringrequiredQuery parameters
reporterstring | nullpartnerstring | nullflowstring | nullfromstring | nulltostring | nullResponse
200Successful Response
application/jsondataGroupedPoint[]requiredrequest_idstringdefault ""duration_msintegerdefault 0401Missing or invalid API key
application/jsonerrorstringmessagestringrequest_idstring422Validation Error
application/jsondetailValidationError[]429Rate limit exceeded
application/jsonerrorstringmessagestringrequest_idstring