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_code | HS code prefix (2-10 digits) |
| country | ISO country code (e.g. CN, DE, MX) |
| flow | IMPORT or EXPORT |
| year | Trade year |
| month | Trade 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"
}
]
}