HS Code Duties and Trade Flows API: US EU CA AU
For any HS6 product, compare import duty in the US, EU, Canada and Australia with what the EU actually imports and exports, and with whom.
One record per 6-digit HS code: base import duty rate in the US, EU, Canada and Australia, crossed with real EU27 trade flows (value, weight, top 3 partners). Pay per record.
Query the full dataset (API, CSV, JSON) Free sample and schema on GitHub
At a glance
- Official source
- Trade flows: Source: Eurostat, Comext international trade database (dataset DS-045409, EU27 extra-EU trade, calendar year 2025, updated 2026-10-16); reuse authorised with acknowledgement of the source under Commission Decision 2011/833/EU; changes made: aggregated by HS6, partners ranked, net mass converted from 100 kg to kg. Duties: United States International Trade Commission, HTS (public domain); European Commission DG TAXUD, TARIC (CC BY 4.0, Decision 2011/833/EU; changes made: third-country duty read per code and summarised by HS6); Canada Border Services Agency, Customs Tariff (Reproduction of Federal Law Order SI/97-5, not an official version); Australian Border Force, Working Tariff Schedule 3 (CC BY 3.0 Australia; changes made: general rate read per code and summarised by HS6).
- Licence
- Mixed, per source: Eurostat Comext reuse authorised with acknowledgement of the source (Commission Decision 2011/833/EU); US HTS public domain (USITC); EU TARIC CC BY 4.0 (DG TAXUD); Canada Reproduction of Federal Law Order SI/97-5 (CBSA, unofficial copy); Australia CC BY 3.0 AU (ABF)
- Snapshot
- Tariffs: July 2026 extraction; trade flows: calendar year 2025, Eurostat Comext dataset updated 2026-10-16
- Coverage
- One record per 6-digit Harmonized System (HS6) code that has an EU27 trade flow, crossing two things. (1) The base import duty rate of four jurisdictions (United States, European Union, Canada, Australia), read from their national tariff lines. (2) The real extra-EU27 trade of the European Union for calendar year 2025: import and export value in EUR, net mass in kg and the top 3 partner countries, from Eurostat Comext. Trade flows (single source: Eurostat Comext, dataset DS-045409 'EU trade since 1988 by HS2-4-6 and CN8', reporter EU27_2020, annual 2025, dataset updated 2026-10-16). Value is the Extra-EU27 total in EUR (partner EXT_EU27_2020); weight is the net mass indicator QUANTITY_IN_100KG multiplied by 100. Imports and exports are with non-EU countries only; trade between EU member states is excluded. A figure is returned only if it agrees with the source: the sum of the partner countries plus the special partner codes of extra-EU trade (high seas, stores and provisions, countries not specified) must be within 1 percent of the extra-EU27 total, otherwise the partner list is null; the special codes are never ranked as partners. A missing value or mass is null, never 0. Every HS6 code that Comext reports as traded is used; the description is the Eurostat HS6 label. Base duty rule (per jurisdiction and per HS6): each national tariff line under the HS6 is read for its erga omnes / most-favoured-nation rate (US: general rate of column 1; EU: third-country duty; Canada: MFN tariff; Australia: general rate, the value placed before the preferential-rate markers). A rate in percent (pct field) is returned only if every line under the HS6 is a plain ad valorem rate ('Free' counts as 0) AND all lines carry the same value. It is null for specific duties (per kg, per litre, per head, EUR per 100 kg), mixed or compound duties, phase-in schedules with future dates, lines that differ from each other, and EU lines for which the extract holds no third-country duty. EU TARIC codes with a 10-digit suffix other than 00 inherit the duty of their 8-digit parent when they have none of their own, and the generic HS6 node (suffix 0000) is ignored when finer codes exist. The raw published text of the distinct rates (up to 6) is always returned next to it so the reader can judge. Preferential, anti-dumping and other special measures are not included: this is the base rate, not the rate applied to a given origin. Sources and licences of the tariffs: - United States: HTS lines (code, description, general duty rate). USITC, public domain. - European Union: TARIC measures, third-country duty. DG TAXUD, CC BY 4.0 (Decision 2011/833/EU), changes made. - Canada: Customs Tariff items, MFN rate. CBSA, Reproduction of Federal Law Order SI/97-5; not an official version. - Australia: Working Tariff (Schedule 3) codes and rate. Australian Border Force, CC BY 3.0 Australia, changes made. - United Kingdom: not included. The only UK data held is the list of commodity codes under a tariff quota, with no duty rate. No natural person appears in the data. National HS versions differ slightly: an HS6 absent from a jurisdiction simply has no line there (rate null). Informational only; the official national tariffs and Eurostat prevail. Null means the source gives no certain value; it is never 0.
- Excluded
- United Kingdom (no duty rate in the data held). Preferential, anti-dumping and quota measures. Intra-EU trade between member states. HS6 codes with no EU27 extra-EU import and no export in Comext for 2025 (6 codes). UN special partner codes (high seas, stores and provisions, countries not specified) as ranked partners.
Who uses it
- Export development advisor: Sort by eu27_import_value_eur among codes with a low eu_base_rate_pct to find where EU demand meets low duty.
- Trade policy analyst: Compare us_base_rate_pct, eu_base_rate_pct, ca_base_rate_pct and au_base_rate_pct for a sector's hs4 codes.
- Supply-chain diversification lead: Read eu27_import_top_partners for each hs6 to see which countries dominate EU supply.
What you can query
- HS code prefix
- Description text
- EU27 import partner countries (top 3)
- EU27 export partner countries (top 3)
- Min EU27 import value (EUR) / Max EU27 import value (EUR)
- Min EU27 export value (EUR) / Max EU27 export value (EUR)
- Min US base rate (%) / Max US base rate (%)
- Min EU base rate (%) / Max EU base rate (%)
- Min Canada base rate (%) / Max Canada base rate (%)
- Min Australia base rate (%) / Max Australia base rate (%)
Fields
| Field | Type | Description |
|---|---|---|
hs6 | string | 6-digit Harmonized System code. |
hs2 | string | HS chapter (first 2 digits). |
hs4 | string | HS heading (first 4 digits). |
description | string | Eurostat HS6 product description (English). |
us_base_rate_pct | number | US base (column 1 general) duty in percent; null unless every US line under the HS6 is the same plain ad valorem rate. 0 = Free. |
us_rate_published | string | US general rates as published, distinct values separated by ' | '. Null when the HS6 has no US line. |
eu_base_rate_pct | number | EU third-country duty in percent; null unless every TARIC code under the HS6 carries the same plain ad valorem duty. |
eu_rate_published | string | EU third-country duties as published, distinct values separated by ' | '. Null when the extract holds no such duty. |
ca_base_rate_pct | number | Canada MFN duty in percent; null unless every line under the HS6 is the same plain ad valorem rate. |
ca_rate_published | string | Canada MFN rates as published, distinct values separated by ' | '. |
au_base_rate_pct | number | Australia general duty in percent; null unless every line under the HS6 is the same plain ad valorem rate. |
au_rate_published | string | Australia general rates as published (preferential markers removed), distinct values separated by ' | '. |
flow_year | integer | Calendar year of the trade flows (2025). |
eu27_import_value_eur | integer | EU27 imports from non-EU countries, value in EUR. Null when Comext gives no value. |
eu27_import_weight_kg | number | EU27 extra-EU imports, net mass in kg. Null when not given. |
eu27_import_top_partners | array | Top 3 supplier countries of EU27 imports: partner_code (ISO), partner_name, value_eur, share_pct of the extra-EU total. Null when the partner figures do not reconcile with the total. |
eu27_import_partner_codes | array | ISO codes of the top 3 import partners (for filtering). |
eu27_export_value_eur | integer | EU27 exports to non-EU countries, value in EUR. Null when Comext gives no value. |
eu27_export_weight_kg | number | EU27 extra-EU exports, net mass in kg. Null when not given. |
eu27_export_top_partners | array | Top 3 destination countries of EU27 exports: partner_code (ISO), partner_name, value_eur, share_pct. Null when the partner figures do not reconcile with the total. |
eu27_export_partner_codes | array | ISO codes of the top 3 export partners (for filtering). |
Extract of the data
First 5 records of the free sample, 8 of 21 fields shown.
| hs6 | hs2 | hs4 | description | us_base_rate_pct | us_rate_published | eu_base_rate_pct | eu_rate_published |
|---|---|---|---|---|---|---|---|
| 010121 | 01 | 0101 | Pure-bred breeding horses | 0.0 | Free | 0.0 | 0.000 % |
| 010129 | 01 | 0101 | Live horses (excl. pure-bred for breeding) | 0.0 | Free | 11.500 % | |
| 010130 | 01 | 0101 | Live asses | 6.8 | 6.8% | 7.7 | 7.700 % |
| 010190 | 01 | 0101 | Live mules and hinnies | Free | 4.5% | 10.9 | 10.900 % | |
| 010221 | 01 | 0102 | Pure-bred cattle for breeding | 0.0 | Free | 0.0 | 0.000 % |
Quick start
Python (pip install apify-client):
from apify_client import ApifyClient
client = ApifyClient('<YOUR_APIFY_TOKEN>')
run = client.actor('phonic_lily/hs-code-duties-and-trade-flows').call(run_input={'maxResults': 10})
for item in client.dataset(run['defaultDatasetId']).iterate_items():
print(item)HTTP:
curl -X POST 'https://api.apify.com/v2/acts/phonic_lily~hs-code-duties-and-trade-flows/run-sync-get-dataset-items?token=<YOUR_APIFY_TOKEN>' \
-H 'Content-Type: application/json' -d '{"maxResults": 10}'
FAQ
Where does the HS Code Duties and Trade Flows: US EU CA AU data come from?
Trade flows: Source: Eurostat, Comext international trade database (dataset DS-045409, EU27 extra-EU trade, calendar year 2025, updated 2026-10-16); reuse authorised with acknowledgement of the source under Commission Decision 2011/833/EU; changes made: aggregated by HS6, partners ranked, net mass converted from 100 kg to kg. Duties: United States International Trade Commission, HTS (public domain); European Commission DG TAXUD, TARIC (CC BY 4.0, Decision 2011/833/EU; changes made: third-country duty read per code and summarised by HS6); Canada Border Services Agency, Customs Tariff (Reproduction of Federal Law Order SI/97-5, not an official version); Australian Border Force, Working Tariff Schedule 3 (CC BY 3.0 Australia; changes made: general rate read per code and summarised by HS6). One record per 6-digit Harmonized System (HS6) code that has an EU27 trade flow, crossing two things. (1) The base import duty rate of four jurisdictions (United States, European Union, Canada, Australia), read from their national tariff lines. (2) The real extra-EU27 trade of the European Union for calendar year 2025: import and export value in EUR, net mass in kg and the top 3 partner countries, from Eurostat Comext. Trade flows (single source: Eurostat Comext, dataset DS-045409 'EU trade since 1988 by HS2-4-6 and CN8', reporter EU27_2020, annual 2025, dataset updated 2026-10-16). Value is the Extra-EU27 total in EUR (partner EXT_EU27_2020); weight is the net mass indicator QUANTITY_IN_100KG multiplied by 100. Imports and exports are with non-EU countries only; trade between EU member states is excluded. A figure is returned only if it agrees with the source: the sum of the partner countries plus the special partner codes of extra-EU trade (high seas, stores and provisions, countries not specified) must be within 1 percent of the extra-EU27 total, otherwise the partner list is null; the special codes are never ranked as partners. A missing value or mass is null, never 0. Every HS6 code that Comext reports as traded is used; the description is the Eurostat HS6 label. Base duty rule (per jurisdiction and per HS6): each national tariff line under the HS6 is read for its erga omnes / most-favoured-nation rate (US: general rate of column 1; EU: third-country duty; Canada: MFN tariff; Australia: general rate, the value placed before the preferential-rate markers). A rate in percent (pct field) is returned only if every line under the HS6 is a plain ad valorem rate ('Free' counts as 0) AND all lines carry the same value. It is null for specific duties (per kg, per litre, per head, EUR per 100 kg), mixed or compound duties, phase-in schedules with future dates, lines that differ from each other, and EU lines for which the extract holds no third-country duty. EU TARIC codes with a 10-digit suffix other than 00 inherit the duty of their 8-digit parent when they have none of their own, and the generic HS6 node (suffix 0000) is ignored when finer codes exist. The raw published text of the distinct rates (up to 6) is always returned next to it so the reader can judge. Preferential, anti-dumping and other special measures are not included: this is the base rate, not the rate applied to a given origin. Sources and licences of the tariffs: - United States: HTS lines (code, description, general duty rate). USITC, public domain. - European Union: TARIC measures, third-country duty. DG TAXUD, CC BY 4.0 (Decision 2011/833/EU), changes made. - Canada: Customs Tariff items, MFN rate. CBSA, Reproduction of Federal Law Order SI/97-5; not an official version. - Australia: Working Tariff (Schedule 3) codes and rate. Australian Border Force, CC BY 3.0 Australia, changes made. - United Kingdom: not included. The only UK data held is the list of commodity codes under a tariff quota, with no duty rate. No natural person appears in the data. National HS versions differ slightly: an HS6 absent from a jurisdiction simply has no line there (rate null). Informational only; the official national tariffs and Eurostat prevail. Null means the source gives no certain value; it is never 0.
What can I filter on?
HS code prefix; Description text; EU27 import partner countries (top 3); EU27 export partner countries (top 3); Min EU27 import value (EUR) / Max EU27 import value (EUR); Min EU27 export value (EUR) / Max EU27 export value (EUR); Min US base rate (%) / Max US base rate (%); Min EU base rate (%) / Max EU base rate (%); Min Canada base rate (%) / Max Canada base rate (%); Min Australia base rate (%) / Max Australia base rate (%).
Is there a free sample?
Yes: 100 records in JSONL and CSV, with the schema, free on GitHub at https://github.com/adminglobalcostdata/hs-code-duties-and-trade-flows.
How much does it cost?
The full dataset is an API on Apify, paid per result returned; the current price is on https://apify.com/phonic_lily/hs-code-duties-and-trade-flows.
Can an AI agent query it?
Yes, through the MCP server io.github.adminglobalcostdata/customs-tariffs-and-rulings on the official MCP registry.
How recent is the data?
Snapshot of Tariffs: July 2026 extraction; trade flows: calendar year 2025, Eurostat Comext dataset updated 2026-10-16 from the official source.
Related datasets
- EU TARIC Tariff Measures - 162k duties by HS code
- UK Tariff Quotas 2026 - 779 quotas with volumes
- US HTS Tariff - 14,300 codes with duty rates
- Canada Customs Tariff: 12,463 Items & Rates
- Australia Working Tariff: 5,735 Codes & Rates
- HS Code Concordance - US, EU, Canada, Australia
- Trade Supplier Concentration (HHI) and Unit Prices
- EU Binding Tariff Information - 5,258 EBTI rulings
- UK Advance Tariff Rulings (ATaR) - 6,483 HMRC rulings
- US CBP CROSS Customs Rulings - 2,456 decisions
Publisher: Henri Bousquet, adminglobalcostdata@gmail.com. Data from official public sources; source and licence are stated in every record.