Data sources
Where the trade data comes from, who publishes the official statistics, and how to have a contact removed.
The API puts several kinds of data behind one interface. This page says where each kind comes from and what we do to it.
Shipment records
Shipment records are customs declarations and bills of lading. We obtain them from commercial trade data providers, bring them into one format, and give every company, shipment and person an ID of our own. Responses never carry a provider's name or its identifiers.
What a country makes available differs: some publish every declaration with values, some only bills of lading without values, some nothing. GET /trade/coverage says what exists for a country, Country coverage lists every country, and Reading the numbers explains how to read it.
Official statistics
The official part of POST /trade/stats/query comes from the statistics offices themselves.
- United States: monthly imports and exports by HS code, from the international trade data of the U.S. Census Bureau. This product uses the Census Bureau Data API but is not endorsed or certified by the Census Bureau.
- European Union: monthly imports and exports of the member states and of the EU as a whole, from the international trade in goods statistics of Eurostat. Source: Eurostat.
- United Kingdom: monthly imports and exports by HS code, from the overseas trade statistics of HM Revenue & Customs. Contains public sector information licensed under the Open Government Licence v3.0.
- Every other country: monthly imports and exports by HS code, from the official trade statistics that each country's customs or statistics office publishes. For a country that publishes no recent months of its own, we use what its trading partners report about their trade with it. Country coverage lists which countries are seen which way.
- Exchange rates: EU values are published in euros and UK values in pounds sterling. We convert them to US dollars with the euro foreign exchange reference rates of the European Central Bank, as monthly averages; pounds go through the euro rate of the same month.
We add months together, keep the partner countries a query asks for, add up the partners' numbers for a country seen through its partners, convert the currency and round to whole dollars. We do not adjust the numbers in any other way.
HS codes and US duty rates
The descriptions of HS codes and the US duty rates in GET /trade/hs-codes come from the Harmonized Tariff Schedule of the United States, which the U.S. International Trade Commission publishes. Its first six digits are the international Harmonized System.
us_duty shows the general rate of each tariff line as published. It does not include additional duties, quotas or preferential rates. Check the official schedule before you rely on a rate.
Contacts and public channels
- Contacts are business contact data: a name, a job title and a work email on the company's own domain. They come from commercial business contact providers and from the trade data. Every work email is verified before it is returned.
- Other details of a contact are
other_emailandphones: another address and the phone numbers the trade data lists for the person. They are returned as listed and are not verified, andother_emailcan be a private address. - Channels are the shared mailboxes, phone numbers, messaging contacts (WhatsApp, WeChat, Zalo, LINE, Skype, Telegram) and social pages a company publishes on its own website.
email is always a work address on the company's own domain, never a free webmail address. Contacts are kept for at most 30 days and then looked up again.
The data is for business-to-business use. You are responsible for following the rules that apply where you send, such as GDPR and CAN-SPAM, and for honoring every opt-out.
Removal requests
Anyone can ask us to stop returning their contact details. Write to privacy@won.dev and name the email address. We block the address so that no endpoint returns it again, and delete what we hold about it.