Professional

Import/Export Trade Data

US import and export trade flows from the Census Foreign Trade Division. Search by Harmonized System code, trading partner country, flow direction, and time period. Returns value in USD, quantity, and customs district.

GET /api/v1/pro/trade Requires API key

Parameters

hs_codeHS code prefix (2-10 digits)
countryISO country code (e.g. CN, DE, MX)
flowIMPORT or EXPORT
yearTrade year
monthTrade month (1-12)
curl -H "Authorization: Bearer pro_YOUR_KEY" \
  "https://api.verilexdata.com/api/v1/pro/trade?hs_code=8471&country=CN&flow=IMPORT&year=2025"

Response

{
  "dataset": "trade",
  "count": 1,
  "data": [
    {
      "hs_code": "847130",
      "hs_description": "Portable digital automatic data processing machines",
      "flow_type": "IMPORT",
      "country": "CN",
      "country_name": "China",
      "year": 2025,
      "month": 1,
      "value_usd": 4250000000,
      "quantity": 12500000,
      "quantity_unit": "NO",
      "district": "Los Angeles, CA"
    }
  ]
}

Stay in the loop

New datasets, features, and pricing changes. No spam.

How can we help?

Choose a category and tell us what you need.