trade
Monthly trade
https://docs.economicsapi.com/endpoints/gettrademonthly
gethttps://api.economicsapi.com/v1/trade/monthly
Monthly bilateral flows, one value per exporter, importer, product and month. Filter by exporter, importer, product and period; group_by aggregates by period, exporter, importer or hs6.
curl -X GET "https://api.economicsapi.com/v1/trade/monthly" \
-H "Authorization: Bearer sk_live_xxxxxxxxxxxxxxxxxxxx"Authorization
AuthorizationstringheaderrequiredBearer token. API key from your economicsapi dashboard Format: `Bearer sk_live_xxxxxxxxxxxxxxxxxxxx`.
Query parameters
exporterstring | nullimporterstring | nullproductstring | nullfromstring | nulltostring | nullmethodstring | nullgroup_bystring | nulllimitintegerdefault 1000min 1 · max 10000
Response
200Successful Response
application/jsondataMonthlyObservation[] | MonthlyGroupedPoint[]requiredrequest_idstringdefault ""duration_msintegerdefault 0401Missing or invalid API key
application/jsonerrorstringmessagestringrequest_idstring422Validation Error
application/jsondetailValidationError[]429Rate limit exceeded
application/jsonerrorstringmessagestringrequest_idstring