Discover/TradeAtlas API
live

TradeAtlas APIapiv2.tradeatlas.com ↗

Search TradeAtlas shipment records, company lists, and trade statistics by HS code, country, date range, and company name via 5 structured endpoints.

Endpoint health
verified 3h ago
list_countries
search_hs_codes
get_trade_statistics
search_shipments
list_trade_companies
5/5 passing latest checkself-healing
Endpoints
5
Updated
4h ago

What is the TradeAtlas API?

The TradeAtlas API exposes 5 endpoints covering global import/export shipment records, company directories, and aggregate trade statistics drawn from bill-of-lading and customs declaration data. The search_shipments endpoint returns individual shipment records filtered by 6-digit HS code, date range, importer/exporter country, and company name. Alongside it, get_trade_statistics delivers roll-up counts and breakdowns by country and firm, while list_trade_companies ranks importers or exporters by shipment volume.

This call costs1 credit / call— charged only on success
Try it
Product keyword or HS code fragment, at least 3 characters.
→ api.parse.bot/scraper/6829c8f1-379e-424e-b52a-47d34e3507ad/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Call it over HTTPgrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/6829c8f1-379e-424e-b52a-47d34e3507ad/search_hs_codes?query=coffee' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 5 totalmissing one? ·

Looks up 6-digit Harmonized System (HS) product codes by product keyword (for example a commodity name) or by a code fragment. Returns up to about 20 matching codes with their English descriptions; an empty list is a valid result when nothing matches. Use the returned hs_code as the hs_code input of the other endpoints. One upstream request, not paginated.

Input
ParamTypeDescription
queryrequiredstringProduct keyword or HS code fragment, at least 3 characters.
Response
{
  "type": "object",
  "fields": {
    "count": "number of codes returned",
    "query": "echo of the search keyword",
    "hs_codes": "array of {hs_code (6-digit string), name (English description)}"
  },
  "sample": {
    "data": {
      "count": 2,
      "query": "coffee",
      "hs_codes": [
        {
          "name": "Coffee, Not Roasted, Not Decaffeinated",
          "hs_code": "090111"
        },
        {
          "name": "Coffee, Not Roasted, Decaffeinated",
          "hs_code": "090112"
        }
      ]
    },
    "status": "success"
  }
}

About the TradeAtlas API

Shipment Records and Filtering

The search_shipments endpoint returns up to 30 shipments per page, ordered by arrival_date descending. Each record includes hs_code, hs_code_description, product_detail, importer_name, importer_country, exporter_name, exporter_country, and a masked boolean. Pages beyond the first may contain masked rows — the response includes a masked_count field indicating how many records on that page have asterisked values. All filter inputs (hs_code, start_date, end_date, importer_country, exporter_country, importer_name, exporter_name, product_keyword) are echoed back in the filters field of every response.

Trade Statistics and Company Profiles

get_trade_statistics aggregates across a query and returns shipment_count, hs_code_count, importer_firm_count, exporter_firm_count, importer_country_count, and exporter_country_count, plus array breakdowns (hs_code_breakdown, importer_country_breakdown, exporter_country_breakdown) giving per-value shipment counts. No pagination is needed here — the endpoint returns all breakdowns in a single response.

list_trade_companies accepts a role parameter (importing or exporting) and returns 30 companies per page ranked by shipment_count. Each company row includes name, company_code, slug, country_code, city_state, address, and any available contact fields, plus the company's top counterpart. The response also includes monthly_shipments (a time series of month and shipment_count) and an exporter_countries breakdown with importer_firm_count and exporter_firm_count per country.

HS Code Lookup and Country Reference

Before querying trade data, use search_hs_codes to resolve a commodity keyword or partial code to a 6-digit hs_code. The endpoint returns up to ~20 matches, each with a name in English. An empty hs_codes array is a valid response when no match is found. list_countries provides the full reference list of ~300 countries and regional groups (such as 'AFRICA'); entries without an ISO code have country_code: null and use only the slug for filtering. Pass those slugs as importer_country or exporter_country inputs to any of the trade endpoints.

Reliability & maintenanceVerified

The TradeAtlas API is a managed, monitored endpoint for apiv2.tradeatlas.com — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when apiv2.tradeatlas.com changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official apiv2.tradeatlas.com API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Last verified
3h ago
Latest check
5/5 endpoints passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
Common use cases
  • Identify the top importers of a specific commodity by running list_trade_companies with role=importing and a resolved HS code
  • Track monthly shipment volume trends for a product category using the monthly_shipments time series from list_trade_companies
  • Map supplier relationships by extracting exporter_name and exporter_country from search_shipments filtered by a known importer name
  • Build a competitive intelligence tool showing which countries dominate exports for a given HS code via exporter_country_breakdown from get_trade_statistics
  • Resolve commodity names to 6-digit HS codes programmatically using search_hs_codes before feeding codes into downstream trade queries
  • Validate trade partner diversity by comparing importer_country_count and exporter_country_count across multiple HS codes
  • Enrich a B2B lead list with shipment counts, addresses, and country data by matching company names through list_trade_companies
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo2005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 req/min
Team$300/mo20,000300 req/min
Company$1,000/mo100,000500 req/min

Each endpoint has a fixed posted price per successful call — most fall between 1 and 10 credits — shown on this API's page before you run it. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does TradeAtlas offer an official developer API?+
TradeAtlas (tradeatlas.com) does not publish a documented public developer API. This Parse API provides structured access to the trade data available on their platform.
What does the `masked` field mean in shipment and company results?+
Some records returned by search_shipments and list_trade_companies have sensitive fields replaced with asterisks by the source. The masked boolean on each record flags these rows, and masked_count in the response tells you how many masked records appear on that page. Page 1 typically has fewer masked rows than subsequent pages.
Does the API return individual shipment-level financial values such as declared customs value or weight?+
Not currently. The shipment records include arrival_date, hs_code, product_detail, and company/country identifiers, but do not expose declared value, weight, or unit price fields. The hs_code_breakdown in get_trade_statistics uses a count (shipments) rather than a monetary value. You can fork this API on Parse and revise it to add endpoints that surface those additional fields if they become available.
How do regional country groups like 'AFRICA' work in filtering?+
The list_countries endpoint returns ~300 entries including both individual countries and regional groups. Groups have country_code: null and is_group: true. Their slug values (e.g. 'africa') can be passed as importer_country or exporter_country to broaden a query to the entire region rather than a single country.
Does the API cover import/export data for all countries, or only specific trade lanes?+
Coverage depends on what TradeAtlas holds for each country pair. Some countries have richer shipment records than others, and queries for less-covered trade lanes may return low shipment counts or empty results even for valid HS codes. The get_trade_statistics response will reflect the actual available data — a shipment_count of zero indicates no records match, not necessarily that the trade does not exist.
Page content last updated . Spec covers 5 endpoints from apiv2.tradeatlas.com.
Related APIs in B2b DirectorySee all →
beta.trademap.org API
Analyze international trade patterns by accessing comprehensive goods and services trade statistics, time series data, and trade indicators across countries and product classifications. Track trade flows using standardized HS and EBOPS product codes to compare performance metrics and coverage across different markets and time periods.
volza.com API
Access global import/export trade data from Volza.com. Search products by keyword to discover HS/HSN codes with shipment volumes, then drill into buyers, suppliers, and company profiles for any product category.
wcotradetools.org API
Quickly look up official HS 2022 product classifications, browse the complete hierarchy of sections, chapters, headings, and subheadings, and search for specific commodity codes used in international trade. Organize product data with standardized, normalized classification information perfect for inventory systems and customs documentation.
tradestat.commerce.gov.in API
Analyze India's trade patterns by searching export-import data across commodities, countries, and regions using HS codes and historical records. Track bilateral trade flows and commodity-wise statistics to understand market trends and make informed trade decisions.
trademo.com API
Access comprehensive global trade data to search companies, find manufacturers by country, and review detailed trade profiles, sanctions lists, and politically exposed persons (PEP) lists. Monitor global trade indices and build a complete directory of international trading partners and compliance information.
trademap.org API
Access comprehensive global trade statistics including bilateral trade flows, product exports by country, and historical trade indicators to analyze international commerce trends. Monitor trade data availability and retrieve time series information to track how specific products and countries perform in the global market.
tridge.com API
Access data from tridge.com.
52wmb.com API
Access data from 52wmb.com.