HS Code Duties and Trade Flows: US EU CA AU avatar

HS Code Duties and Trade Flows: US EU CA AU

Pricing

$4.00 / 1,000 record returneds

Go to Apify Store
HS Code Duties and Trade Flows: US EU CA AU

HS Code Duties and Trade Flows: US EU CA AU

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.

Pricing

$4.00 / 1,000 record returneds

Rating

0.0

(0)

Developer

Henri bousquet

Henri bousquet

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

10 days ago

Last modified

Categories

Features

Limited permissions

Share

HS Code Duties and Trade Flows - US, EU, Canada, Australia

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.

No scraping, no live dependency, no login: the data is embedded in the Actor and searched locally. You pay per record returned (pay-per-event hs6-duties-flows-result), never for empty runs.

What you get

  • 5,606 records, snapshot Tariffs: July 2026 extraction; trade flows: calendar year 2025, Eurostat Comext dataset updated 2026-10-16.
  • Source 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).
  • 17 input filters, all optional and combinable; results export as JSON, CSV, Excel, XML or HTML from the console or the API.

Quick start

Press Try for free with the pre-filled input, or paste it into the Input tab:

{
"maxResults": 10
}

That run returns up to 10 records and costs about $0.04 (10 x $0.004). A run of 1,000 records costs $4.00. maxResults (up to 10,000) caps both the output and the bill.

Example output

One real record from the data, columns as returned:

{
"hs6": "010121",
"hs2": "01",
"hs4": "0101",
"description": "Pure-bred breeding horses",
"us_base_rate_pct": 0.0,
"us_rate_published": "Free",
"eu_base_rate_pct": 0.0,
"eu_rate_published": "0.000 %",
"ca_base_rate_pct": 0.0,
"ca_rate_published": "Free",
"au_base_rate_pct": 0.0,
"au_rate_published": "Free",
"flow_year": 2025,
"eu27_import_value_eur": 400415786
}

Input

Every filter is optional; combine them freely.

  • hsPrefix (string): HS code prefix. HS chapter (2 digits), heading (4 digits) or full HS6 (6 digits), e.g. 85, 8517 or 851762. Dots and spaces are ignored. Matches the start of the HS6 code.
  • query (string): Description text. Word or phrase searched in the Eurostat HS6 description, e.g. 'lithium' or 'motor cars'. Accent- and case-insensitive.
  • importPartners (array): EU27 import partner countries (top 3). ISO 2-letter country codes, e.g. CN, US, TR. Keeps HS6 codes where at least one listed country is among the top 3 suppliers of EU27 imports. Records without a partner list never match.
  • exportPartners (array): EU27 export partner countries (top 3). ISO 2-letter country codes, e.g. US, GB, CH. Keeps HS6 codes where at least one listed country is among the top 3 destinations of EU27 exports. Records without a partner list never match.
  • minImportValueEur (number): Min EU27 import value (EUR). Minimum extra-EU27 import value in EUR for 2025. Records with an empty value never match.
  • maxImportValueEur (number): Max EU27 import value (EUR). Maximum extra-EU27 import value in EUR for 2025. Records with an empty value never match.
  • minExportValueEur (number): Min EU27 export value (EUR). Minimum extra-EU27 export value in EUR for 2025. Records with an empty value never match.
  • maxExportValueEur (number): Max EU27 export value (EUR). Maximum extra-EU27 export value in EUR for 2025. Records with an empty value never match.
  • minUsRatePct (number): Min US base rate (%). Minimum US base duty rate in percent. Records whose US rate is null (not a single plain ad valorem rate) never match.
  • maxUsRatePct (number): Max US base rate (%). Maximum US base duty rate in percent; use 0 for duty-free. Records whose US rate is null never match.
  • minEuRatePct (number): Min EU base rate (%). Minimum EU third-country duty in percent. Records whose EU rate is null never match.
  • maxEuRatePct (number): Max EU base rate (%). Maximum EU third-country duty in percent; use 0 for duty-free. Records whose EU rate is null never match.
  • minCaRatePct (number): Min Canada base rate (%). Minimum Canada MFN duty in percent. Records whose Canada rate is null never match.
  • maxCaRatePct (number): Max Canada base rate (%). Maximum Canada MFN duty in percent; use 0 for duty-free. Records whose Canada rate is null never match.
  • minAuRatePct (number): Min Australia base rate (%). Minimum Australia general duty in percent. Records whose Australia rate is null never match.
  • maxAuRatePct (number): Max Australia base rate (%). Maximum Australia general duty in percent; use 0 for duty-free. Records whose Australia rate is null never match.
  • sortBy (string): Sort by. Sort order of results. Default: file order (or distance when a radius is given).
  • maxResults (integer): Max results. Maximum records returned and billed (1..10000).

Output fields

  • hs6 : 6-digit Harmonized System code.
  • hs2 : HS chapter (first 2 digits).
  • hs4 : HS heading (first 4 digits).
  • description : Eurostat HS6 product description (English).
  • us_base_rate_pct : 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 : US general rates as published, distinct values separated by ' | '. Null when the HS6 has no US line.
  • eu_base_rate_pct : EU third-country duty in percent; null unless every TARIC code under the HS6 carries the same plain ad valorem duty.
  • eu_rate_published : EU third-country duties as published, distinct values separated by ' | '. Null when the extract holds no such duty.
  • ca_base_rate_pct : Canada MFN duty in percent; null unless every line under the HS6 is the same plain ad valorem rate.
  • ca_rate_published : Canada MFN rates as published, distinct values separated by ' | '.
  • au_base_rate_pct : Australia general duty in percent; null unless every line under the HS6 is the same plain ad valorem rate.
  • au_rate_published : Australia general rates as published (preferential markers removed), distinct values separated by ' | '.
  • flow_year : Calendar year of the trade flows (2025).
  • eu27_import_value_eur : EU27 imports from non-EU countries, value in EUR. Null when Comext gives no value.
  • eu27_import_weight_kg : EU27 extra-EU imports, net mass in kg. Null when not given.
  • eu27_import_top_partners : 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 : ISO codes of the top 3 import partners (for filtering).
  • eu27_export_value_eur : EU27 exports to non-EU countries, value in EUR. Null when Comext gives no value.
  • eu27_export_weight_kg : EU27 extra-EU exports, net mass in kg. Null when not given.
  • eu27_export_top_partners : 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 : ISO codes of the top 3 export partners (for filtering).

Every record also carries license and attribution so you can republish with the required credit. Empty values are returned as null (never as 0).

Call it from code

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)
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 data come from? 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.

How fresh is it? Snapshot Tariffs: July 2026 extraction; trade flows: calendar year 2025, Eurostat Comext dataset updated 2026-10-16. The data is embedded in the Actor and updated when the publisher rebuilds it, so a run never depends on a live source and never fails because a site is down.

What does a run cost? $0.004 per returned record, nothing for runs that return no record. Apify free plan credit ($5) covers about 1,250 records.

Do I need a proxy, an account on the source or a browser? No: the Actor reads its own embedded file.

Data and licence

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.

Snapshot date: Tariffs: July 2026 extraction; trade flows: calendar year 2025, Eurostat Comext dataset updated 2026-10-16.