Tariff Codes API logo
NegóciosMANTIDA1 token / chamada

Tariff Codes API

Todas as 35.804 linhas da Harmonized Tariff Schedule dos EUA com alíquotas, pesquisáveis

A Harmonized Tariff Schedule completa dos EUA, pesquisável. Todas as 35.804 linhas da tabela oficial da USITC em 98 capítulos (posições, subposições e 19.949 linhas estatísticas de dez dígitos), cada uma com suas colunas completas de alíquotas: alíquota geral (MFN), alíquotas especiais de programas de livre-comércio (USMCA, Coreia, Austrália...), alíquota da coluna 2, unidades de quantidade, quantidades de cota, tarifas adicionais e notas de rodapé (incluindo referências à Section 301). Cada linha traz um breadcrumb de seus ancestrais, de modo que uma folha chamada simplesmente 'Other' é pesquisável e faz sentido, e a busca full-text cobre as descrições E esse contexto herdado: buscar 'smartphones' encontra 8517.13.00.00 (Free), 'portable automatic data processing' encontra a linha de laptops 8471.30.01.00. Consulte qualquer código pelos dígitos, com ou sem pontos (8703.23.01 → veículos de passageiros a 2,5% com ancestrais e linhas estatísticas filhas), filtre por capítulo ou prefixo de código, navegue por todos os capítulos com os títulos das seções da OMA. Ressincronizada toda noite a partir da exportação da USITC, de modo que as cerca de 10 a 15 revisões anuais da HTS chegam até você com no máximo um dia de atraso. A espinha dorsal de classificação para e-commerce transfronteiriço, despachantes aduaneiros, calculadoras de custo de nacionalização e ferramentas de conformidade comercial.

Toda chamada precisa do header X-Api-Key. Uma chave gratuita inclui 500 tokens por mês, sem cartão. 1 token por chamada, então o plano gratuito cobre cerca de 500 chamadas por mês.

Sem cartão de créditoAcesso a mais de 125 APIsCancele quando quiser
response.json
{
  "ok": true,
  "tariff": {
    "seq": 28997,
    "htsno": "8703.23.01",
    "indent": 2,
    "description": "Of a cylinder capacity exceeding 1,500 cc but not exceeding 3,000 cc",
    "context": "Motor cars and other motor vehicles principally designed for the transport of persons (other than those of heading 8702), including station wagons and racing cars > Other vehicles, with only spark-ignition internal combustion piston engines",
    "chapter": "87",
    "is_leaf": false,
    "units": [],
    "general": "2.5%",
    "special": "Free (A+,AU,B,BH,CL,CO,D,E,IL,JO,KR,MA,OM, P,PA,PE,S,SG)",
    "other": "10%",
    "quota_quantity": null,
    "additional_duties": null,
    "footnotes": [
      {
        "marker": null,
        "value": "See 9903.90.08. ",
        "columns": [
          "other"
        ]
      }
    ],
    "updated_at": "2026-09-06 05:06:09"
  },
  "ancestors": [
    {
      "seq": 28982,
      "htsno": "8703",
      "indent": 0,
      "description": "Motor cars and other motor vehicles principally designed for the transport of persons (other than those of heading 8702), including station wagons and racing cars",
      "context": null,
      "chapter": "87",
      "is_leaf": false,
      "units": [],
      "general": null,
      "special": null,
      "other": null,
      "quota_quantity": null,
      "additional_duties": null,
      "footnotes": [],
      "updated_at": "2026-09-06 05:06:09"
    },
    {
      "seq": 28988,
      "htsno": null,
      "indent": 1,
      "description": "Other vehicles, with only spark-ignition internal combustion piston engines",
      "context": "Motor cars and other motor vehicles principally designed for the transport of persons (other than those of heading 8702), including station wagons and racing cars",
      "chapter": "87",
      "is_leaf": false,
      "units": [],
      "general": null,
      "special": null,
      "other": null,
      "quota_quantity": null,
      "additional_duties": null,
      "footnotes": [],
      "updated_at": "2026-09-06 05:06:09"
    }
  ],
  "children": [
    {
      "seq": 28998,
      "htsno": "8703.23.01.10",
      "indent": 3,
      "description": "Motor homes",
      "context": "Motor cars and other motor vehicles principally designed for the transport of persons (other than those of heading 8702), including station wagons and racing cars > Other vehicles, with only spark-ignition internal combustion piston engines > Of a cylinder capacity exceeding 1,500 cc but not exceeding 3,000 cc",
      "chapter": "87",
      "is_leaf": true,
      "units": [
        "No."
      ],
      "general": null,
      "special": null,
      "other": null,
      "quota_quantity": null,
      "additional_duties": null,
      "footnotes": [],
      "updated_at": "2026-09-06 05:06:09"
    },
    {
      "seq": 28999,
      "htsno": null,
      "indent": 3,
      "description": "Other",
      "context": "Motor cars and other motor vehicles principally designed for the transport of persons (other than those of heading 8702), including station wagons and racing cars > Other vehicles, with only spark-ignition internal combustion piston engines > Of a cylinder capacity exceeding 1,500 cc but not exceeding 3,000 cc",
      "chapter": "87",
      "is_leaf": false,
      "units": [],
      "general": null,
      "special": null,
      "other": null,
      "quota_quantity": null,
      "additional_duties": null,
      "footnotes": [],
      "updated_at": "2026-09-06 05:06:09"
    }
  ]
}
Pronta para produção
Infraestrutura testada em produção, com SLA de 99,9% de disponibilidade. Os limites de requisições são generosos e as respostas são consistentes.
Integração simples
REST + JSON padrão. Funciona com qualquer cliente HTTP. Trechos de código prontos para copiar em 4 linguagens.
Uma chave, mais de 125 APIs
Sua assinatura do DataAndAPIs libera todas as APIs da plataforma — anime, finanças, esportes e mais.

Casos de uso da Tariff Codes API

  • Classificar produtos para importação nos EUA buscando descrições em linguagem simples e detalhando até a linha estatística de 10 dígitos correta.

  • Cotar custos de nacionalização obtendo as alíquotas geral, de programas especiais e da coluna 2 de um código.

  • Validar códigos HTS em documentos aduaneiros e faturas comerciais antes do registro.

  • Criar uma ferramenta de consulta para agentes de carga e vendedores de e-commerce que mostre o contexto completo de capítulos de um código.

Endpoints da Tariff Codes API

Todos os endpoints, com seus parâmetros e um exemplo real de resposta.

GETData Sources

https://api-tariff-codes.dataandapis.com/v1/sources

Este endpoint não recebe parâmetros.

Exemplo de requisição

curl
curl "https://api-tariff-codes.dataandapis.com/v1/sources" \
  -H "X-Api-Key: YOUR_API_KEY"
JavaScript / TypeScript (pacote dataandapis)
// npm install dataandapis
import { DataAndApis } from "dataandapis";

const client = new DataAndApis(); // reads DATAANDAPIS_API_KEY

const data = await client.tariffCodes.dataSources();
Python (pacote dataandapis)
# pip install dataandapis
from dataandapis import DataAndApis

client = DataAndApis()  # reads DATAANDAPIS_API_KEY

data = client.tariff_codes.data_sources()
Exemplo de resposta
{
  "ok": true,
  "sources": [
    {
      "slug": "usitc-hts",
      "name": "Harmonized Tariff Schedule of the United States",
      "publisher": "US International Trade Commission",
      "licence": "US government work (public domain)",
      "source_url": "https://hts.usitc.gov/",
      "file_url": "https://hts.usitc.gov/reststop/exportList?from=0101&to=9999&format=JSON&styles=false",
      "cadence": "revised ~10-15x/year; nightly re-sync",
      "record_count": 35804,
      "retrieved_at": "2026-09-06"
    }
  ]
}

GETHTS Chapters

https://api-tariff-codes.dataandapis.com/v1/tariffs/chapters

Este endpoint não recebe parâmetros.

Exemplo de requisição

curl
curl "https://api-tariff-codes.dataandapis.com/v1/tariffs/chapters" \
  -H "X-Api-Key: YOUR_API_KEY"
JavaScript / TypeScript (pacote dataandapis)
// npm install dataandapis
import { DataAndApis } from "dataandapis";

const client = new DataAndApis(); // reads DATAANDAPIS_API_KEY

const data = await client.tariffCodes.htsChapters();
Python (pacote dataandapis)
# pip install dataandapis
from dataandapis import DataAndApis

client = DataAndApis()  # reads DATAANDAPIS_API_KEY

data = client.tariff_codes.hts_chapters()
Exemplo de resposta
{
  "ok": true,
  "chapters": 98,
  "results": [
    {
      "chapter": "01",
      "title": "Live animals",
      "section": "I - Live animals; animal products",
      "rows_total": 126,
      "leaves": 78
    },
    {
      "chapter": "02",
      "title": "Meat and edible meat offal",
      "section": "I - Live animals; animal products",
      "rows_total": 256,
      "leaves": 166
    },
    {
      "chapter": "03",
      "title": "Fish, crustaceans, molluscs and other aquatic invertebrates",
      "section": "I - Live animals; animal products",
      "rows_total": 797,
      "leaves": 562
    },
    {
      "chapter": "04",
      "title": "Dairy produce; birds' eggs; honey",
…
Ver resposta completa
{
  "ok": true,
  "chapters": 98,
  "results": [
    {
      "chapter": "01",
      "title": "Live animals",
      "section": "I - Live animals; animal products",
      "rows_total": 126,
      "leaves": 78
    },
    {
      "chapter": "02",
      "title": "Meat and edible meat offal",
      "section": "I - Live animals; animal products",
      "rows_total": 256,
      "leaves": 166
    },
    {
      "chapter": "03",
      "title": "Fish, crustaceans, molluscs and other aquatic invertebrates",
      "section": "I - Live animals; animal products",
      "rows_total": 797,
      "leaves": 562
    },
    {
      "chapter": "04",
      "title": "Dairy produce; birds' eggs; honey",
      "section": "I - Live animals; animal products",
      "rows_total": 435,
      "leaves": 272
    },
    {
      "chapter": "05",
      "title": "Products of animal origin, nesoi",
      "section": "I - Live animals; animal products",
      "rows_total": 61,
      "leaves": 38
    },
    {
      "chapter": "06",
      "title": "Live trees and other plants; cut flowers",
      "section": "II - Vegetable products",
      "rows_total": 106,
      "leaves": 78
    },
    {
      "chapter": "07",
      "title": "Edible vegetables",
      "section": "II - Vegetable products",
      "rows_total": 643,
      "leaves": 422
    },
    {
      "chapter": "08",
      "title": "Edible fruit and nuts; citrus or melon peel",
      "section": "II - Vegetable products",
      "rows_total": 395,
      "leaves": 240
    },
    {
      "chapter": "09",
      "title": "Coffee, tea, mate and spices",
      "section": "II - Vegetable products",
      "rows_total": 154,
      "leaves": 91
    },
    {
      "chapter": "10",
      "title": "Cereals",
      "section": "II - Vegetable products",
      "rows_total": 105,
      "leaves": 66
    },
    {
      "chapter": "11",
      "title": "Milling products; malt; starches",
      "section": "II - Vegetable products",
      "rows_total": 81,
      "leaves": 51
    },
    {
      "chapter": "12",
      "title": "Oil seeds; miscellaneous grains, seeds and fruit",
      "section": "II - Vegetable products",
      "rows_total": 256,
      "leaves": 167
    },
    {
      "chapter": "13",
      "title": "Lac; gums, resins and other vegetable saps",
      "section": "II - Vegetable products",
      "rows_total": 37,
      "leaves": 24
    },
    {
      "chapter": "14",
      "title": "Vegetable plaiting materials",
      "section": "II - Vegetable products",
      "rows_total": 23,
      "leaves": 14
    },
    {
      "chapter": "15",
      "title": "Animal or vegetable fats, oils and waxes",
      "section": "III - Animal or vegetable fats and oils",
      "rows_total": 188,
      "leaves": 114
    },
    {
      "chapter": "16",
      "title": "Preparations of meat, fish or crustaceans",
      "section": "IV - Prepared foodstuffs; beverages; tobacco",
      "rows_total": 315,
      "leaves": 179
    },
    {
      "chapter": "17",
      "title": "Sugars and sugar confectionery",
      "section": "IV - Prepared foodstuffs; beverages; tobacco",
      "rows_total": 157,
      "leaves": 92
    },
    {
      "chapter": "18",
      "title": "Cocoa and cocoa preparations",
      "section": "IV - Prepared foodstuffs; beverages; tobacco",
      "rows_total": 161,
      "leaves": 91
    },
    {
      "chapter": "19",
      "title": "Preparations of cereals, flour, starch or milk",
      "section": "IV - Prepared foodstuffs; beverages; tobacco",
      "rows_total": 191,
      "leaves": 111
    },
    {
      "chapter": "20",
      "title": "Preparations of vegetables, fruit or nuts",
      "section": "IV - Prepared foodstuffs; beverages; tobacco",
      "rows_total": 454,
      "leaves": 285
    },
    {
      "chapter": "21",
      "title": "Miscellaneous edible preparations",
      "section": "IV - Prepared foodstuffs; beverages; tobacco",
      "rows_total": 193,
      "leaves": 118
    },
    {
      "chapter": "22",
      "title": "Beverages, spirits and vinegar",
      "section": "IV - Prepared foodstuffs; beverages; tobacco",
      "rows_total": 211,
      "leaves": 121
    },
    {
      "chapter": "23",
      "title": "Residues from food industries; animal feed",
      "section": "IV - Prepared foodstuffs; beverages; tobacco",
      "rows_total": 92,
      "leaves": 61
    },
    {
      "chapter": "24",
      "title": "Tobacco and manufactured tobacco substitutes",
      "section": "IV - Prepared foodstuffs; beverages; tobacco",
      "rows_total": 304,
      "leaves": 205
    },
    {
      "chapter": "25",
      "title": "Salt; sulphur; earths and stone; lime and cement",
      "section": "V - Mineral products",
      "rows_total": 150,
      "leaves": 101
    },
    {
      "chapter": "26",
      "title": "Ores, slag and ash",
      "section": "V - Mineral products",
      "rows_total": 143,
      "leaves": 102
    },
    {
      "chapter": "27",
      "title": "Mineral fuels, oils and waxes",
      "section": "V - Mineral products",
      "rows_total": 218,
      "leaves": 141
    },
    {
      "chapter": "28",
      "title": "Inorganic chemicals; compounds of precious metals",
      "section": "VI - Products of the chemical or allied industries",
      "rows_total": 501,
      "leaves": 342
    },
    {
      "chapter": "29",
      "title": "Organic chemicals",
      "section": "VI - Products of the chemical or allied industries",
      "rows_total": 1859,
      "leaves": 1239
    },
    {
      "chapter": "30",
      "title": "Pharmaceutical products",
      "section": "VI - Products of the chemical or allied industries",
      "rows_total": 283,
      "leaves": 198
    },
    {
      "chapter": "31",
      "title": "Fertilizers",
      "section": "VI - Products of the chemical or allied industries",
      "rows_total": 41,
      "leaves": 29
    },
    {
      "chapter": "32",
      "title": "Tanning or dyeing extracts; paints; inks",
      "section": "VI - Products of the chemical or allied industries",
      "rows_total": 236,
      "leaves": 168
    },
    {
      "chapter": "33",
      "title": "Essential oils; perfumery and cosmetic preparations",
      "section": "VI - Products of the chemical or allied industries",
      "rows_total": 104,
      "leaves": 74
    },
    {
      "chapter": "34",
      "title": "Soap, waxes, polishes and candles",
      "section": "VI - Products of the chemical or allied industries",
      "rows_total": 79,
      "leaves": 48
    },
    {
      "chapter": "35",
      "title": "Albuminoidal substances; glues; enzymes",
      "section": "VI - Products of the chemical or allied industries",
      "rows_total": 55,
      "leaves": 33
    },
    {
      "chapter": "36",
      "title": "Explosives; pyrotechnics; matches",
      "section": "VI - Products of the chemical or allied industries",
      "rows_total": 27,
      "leaves": 19
    },
    {
      "chapter": "37",
      "title": "Photographic or cinematographic goods",
      "section": "VI - Products of the chemical or allied industries",
      "rows_total": 100,
      "leaves": 61
    },
    {
      "chapter": "38",
      "title": "Miscellaneous chemical products",
      "section": "VI - Products of the chemical or allied industries",
      "rows_total": 331,
      "leaves": 218
    },
    {
      "chapter": "39",
      "title": "Plastics and articles thereof",
      "section": "VII - Plastics and rubber",
      "rows_total": 502,
      "leaves": 320
    },
    {
      "chapter": "40",
      "title": "Rubber and articles thereof",
      "section": "VII - Plastics and rubber",
      "rows_total": 319,
      "leaves": 198
    },
    {
      "chapter": "41",
      "title": "Raw hides, skins and leather",
      "section": "VIII - Hides, skins, leather and travel goods",
      "rows_total": 314,
      "leaves": 176
    },
    {
      "chapter": "42",
      "title": "Articles of leather; handbags; travel goods",
      "section": "VIII - Hides, skins, leather and travel goods",
      "rows_total": 208,
      "leaves": 121
    },
    {
      "chapter": "43",
      "title": "Furskins and artificial fur",
      "section": "VIII - Hides, skins, leather and travel goods",
      "rows_total": 56,
      "leaves": 39
    },
    {
      "chapter": "44",
      "title": "Wood and articles of wood; wood charcoal",
      "section": "IX - Wood, cork and articles thereof",
      "rows_total": 876,
      "leaves": 556
    },
    {
      "chapter": "45",
      "title": "Cork and articles of cork",
      "section": "IX - Wood, cork and articles thereof",
      "rows_total": 29,
      "leaves": 19
    },
    {
      "chapter": "46",
      "title": "Manufactures of straw or other plaiting materials",
      "section": "IX - Wood, cork and articles thereof",
      "rows_total": 83,
      "leaves": 49
    },
    {
      "chapter": "47",
      "title": "Pulp of wood or other fibrous cellulosic material",
      "section": "X - Pulp, paper and printed products",
      "rows_total": 40,
      "leaves": 26
    },
    {
      "chapter": "48",
      "title": "Paper and paperboard and articles thereof",
      "section": "X - Pulp, paper and printed products",
      "rows_total": 513,
      "leaves": 312
    },
    {
      "chapter": "49",
      "title": "Printed books, newspapers and other printed products",
      "section": "X - Pulp, paper and printed products",
      "rows_total": 80,
      "leaves": 50
    },
    {
      "chapter": "50",
      "title": "Silk",
      "section": "XI - Textiles and textile articles",
      "rows_total": 50,
      "leaves": 30
    },
    {
      "chapter": "51",
      "title": "Wool and animal hair",
      "section": "XI - Textiles and textile articles",
      "rows_total": 209,
      "leaves": 124
    },
    {
      "chapter": "52",
      "title": "Cotton",
      "section": "XI - Textiles and textile articles",
      "rows_total": 842,
      "leaves": 525
    },
    {
      "chapter": "53",
      "title": "Other vegetable textile fibers; paper yarn",
      "section": "XI - Textiles and textile articles",
      "rows_total": 96,
      "leaves": 62
    },
    {
      "chapter": "54",
      "title": "Man-made filaments",
      "section": "XI - Textiles and textile articles",
      "rows_total": 436,
      "leaves": 265
    },
    {
      "chapter": "55",
      "title": "Man-made staple fibers",
      "section": "XI - Textiles and textile articles",
      "rows_total": 556,
      "leaves": 399
    },
    {
      "chapter": "56",
      "title": "Wadding, felt, nonwovens; twine and cordage",
      "section": "XI - Textiles and textile articles",
      "rows_total": 133,
      "leaves": 81
    },
    {
      "chapter": "57",
      "title": "Carpets and other textile floor coverings",
      "section": "XI - Textiles and textile articles",
      "rows_total": 125,
      "leaves": 74
    },
    {
      "chapter": "58",
      "title": "Special woven fabrics; lace; tapestries; embroidery",
      "section": "XI - Textiles and textile articles",
      "rows_total": 181,
      "leaves": 111
    },
    {
      "chapter": "59",
      "title": "Impregnated, coated or laminated textile fabrics",
      "section": "XI - Textiles and textile articles",
      "rows_total": 124,
      "leaves": 75
    },
    {
      "chapter": "60",
      "title": "Knitted or crocheted fabrics",
      "section": "XI - Textiles and textile articles",
      "rows_total": 178,
      "leaves": 106
    },
    {
      "chapter": "61",
      "title": "Apparel and clothing accessories, knitted or crocheted",
      "section": "XI - Textiles and textile articles",
      "rows_total": 1345,
      "leaves": 838
    },
    {
      "chapter": "62",
      "title": "Apparel and clothing accessories, not knitted or crocheted",
      "section": "XI - Textiles and textile articles",
      "rows_total": 2089,
      "leaves": 1248
    },
    {
      "chapter": "63",
      "title": "Other made up textile articles; rags",
      "section": "XI - Textiles and textile articles",
      "rows_total": 377,
      "leaves": 231
    },
    {
      "chapter": "64",
      "title": "Footwear, gaiters and the like",
      "section": "XII - Footwear, headgear, umbrellas",
      "rows_total": 655,
      "leaves": 391
    },
    {
      "chapter": "65",
      "title": "Headgear and parts thereof",
      "section": "XII - Footwear, headgear, umbrellas",
      "rows_total": 118,
      "leaves": 64
    },
    {
      "chapter": "66",
      "title": "Umbrellas, walking sticks and whips",
      "section": "XII - Footwear, headgear, umbrellas",
      "rows_total": 13,
      "leaves": 8
    },
    {
      "chapter": "67",
      "title": "Prepared feathers; artificial flowers",
      "section": "XII - Footwear, headgear, umbrellas",
      "rows_total": 21,
      "leaves": 13
    },
    {
      "chapter": "68",
      "title": "Articles of stone, plaster, cement or asbestos",
      "section": "XIII - Stone, ceramic and glass articles",
      "rows_total": 160,
      "leaves": 98
    },
    {
      "chapter": "69",
      "title": "Ceramic products",
      "section": "XIII - Stone, ceramic and glass articles",
      "rows_total": 211,
      "leaves": 121
    },
    {
      "chapter": "70",
      "title": "Glass and glassware",
      "section": "XIII - Stone, ceramic and glass articles",
      "rows_total": 481,
      "leaves": 281
    },
    {
      "chapter": "71",
      "title": "Pearls, precious stones and metals; jewelry; coin",
      "section": "XIV - Pearls, precious stones and metals",
      "rows_total": 240,
      "leaves": 143
    },
    {
      "chapter": "72",
      "title": "Iron and steel",
      "section": "XV - Base metals and articles thereof",
      "rows_total": 951,
      "leaves": 562
    },
    {
      "chapter": "73",
      "title": "Articles of iron or steel",
      "section": "XV - Base metals and articles thereof",
      "rows_total": 970,
      "leaves": 573
    },
    {
      "chapter": "74",
      "title": "Copper and articles thereof",
      "section": "XV - Base metals and articles thereof",
      "rows_total": 238,
      "leaves": 136
    },
    {
      "chapter": "75",
      "title": "Nickel and articles thereof",
      "section": "XV - Base metals and articles thereof",
      "rows_total": 50,
      "leaves": 29
    },
    {
      "chapter": "76",
      "title": "Aluminum and articles thereof",
      "section": "XV - Base metals and articles thereof",
      "rows_total": 212,
      "leaves": 124
    },
    {
      "chapter": "78",
      "title": "Lead and articles thereof",
      "section": "XV - Base metals and articles thereof",
      "rows_total": 21,
      "leaves": 13
    },
    {
      "chapter": "79",
      "title": "Zinc and articles thereof",
      "section": "XV - Base metals and articles thereof",
      "rows_total": 19,
      "leaves": 13
    },
    {
      "chapter": "80",
      "title": "Tin and articles thereof",
      "section": "XV - Base metals and articles thereof",
      "rows_total": 17,
      "leaves": 13
    },
    {
      "chapter": "81",
      "title": "Other base metals; cermets",
      "section": "XV - Base metals and articles thereof",
      "rows_total": 128,
      "leaves": 84
    },
    {
      "chapter": "82",
      "title": "Tools, cutlery and tableware of base metal",
      "section": "XV - Base metals and articles thereof",
      "rows_total": 304,
      "leaves": 189
    },
    {
      "chapter": "83",
      "title": "Miscellaneous articles of base metal",
      "section": "XV - Base metals and articles thereof",
      "rows_total": 143,
      "leaves": 89
    },
    {
      "chapter": "84",
      "title": "Nuclear reactors, boilers, machinery and mechanical appliances; computers",
      "section": "XVI - Machinery, electrical equipment and parts",
      "rows_total": 2699,
      "leaves": 1706
    },
    {
      "chapter": "85",
      "title": "Electrical machinery and equipment; sound and TV apparatus",
      "section": "XVI - Machinery, electrical equipment and parts",
      "rows_total": 1568,
      "leaves": 982
    },
    {
      "chapter": "86",
      "title": "Railway locomotives and rolling stock",
      "section": "XVII - Vehicles, aircraft, vessels",
      "rows_total": 56,
      "leaves": 37
    },
    {
      "chapter": "87",
      "title": "Vehicles other than railway; parts and accessories",
      "section": "XVII - Vehicles, aircraft, vessels",
      "rows_total": 639,
      "leaves": 402
    },
    {
      "chapter": "88",
      "title": "Aircraft, spacecraft and parts thereof",
      "section": "XVII - Vehicles, aircraft, vessels",
      "rows_total": 113,
      "leaves": 67
    },
    {
      "chapter": "89",
      "title": "Ships, boats and floating structures",
      "section": "XVII - Vehicles, aircraft, vessels",
      "rows_total": 94,
      "leaves": 58
    },
    {
      "chapter": "90",
      "title": "Optical, photographic, measuring and medical instruments",
      "section": "XVIII - Optical, photographic, medical instruments; clocks",
      "rows_total": 671,
      "leaves": 421
    },
    {
      "chapter": "91",
      "title": "Clocks and watches and parts thereof",
      "section": "XVIII - Optical, photographic, medical instruments; clocks",
      "rows_total": 314,
      "leaves": 177
    },
    {
      "chapter": "92",
      "title": "Musical instruments and parts thereof",
      "section": "XVIII - Optical, photographic, medical instruments; clocks",
      "rows_total": 98,
      "leaves": 63
    },
    {
      "chapter": "93",
      "title": "Arms and ammunition and parts thereof",
      "section": "XIX - Arms and ammunition",
      "rows_total": 109,
      "leaves": 67
    },
    {
      "chapter": "94",
      "title": "Furniture; bedding; lamps; prefabricated buildings",
      "section": "XX - Miscellaneous manufactured articles",
      "rows_total": 445,
      "leaves": 275
    },
    {
      "chapter": "95",
      "title": "Toys, games and sports equipment",
      "section": "XX - Miscellaneous manufactured articles",
      "rows_total": 184,
      "leaves": 118
    },
    {
      "chapter": "96",
      "title": "Miscellaneous manufactured articles",
      "section": "XX - Miscellaneous manufactured articles",
      "rows_total": 242,
      "leaves": 157
    },
    {
      "chapter": "97",
      "title": "Works of art, collectors' pieces and antiques",
      "section": "XXI - Works of art and antiques",
      "rows_total": 47,
      "leaves": 30
    },
    {
      "chapter": "98",
      "title": "Special classification provisions (US)",
      "section": "US - Special US classification provisions",
      "rows_total": 595,
      "leaves": 492
    },
    {
      "chapter": "99",
      "title": "Temporary legislation; temporary and additional duties (US)",
      "section": "US - Special US classification provisions",
      "rows_total": 3349,
      "leaves": 3110
    }
  ]
}

GETSearch Tariffs

https://api-tariff-codes.dataandapis.com/v1/tariffs

Parâmetros de consulta

ParâmetroExemplo
chapter85Opcional
codeOpcional
leaves_onlytrueOpcional
limit25Opcional
page1Opcional
qsmartphonesOpcional

Exemplo de requisição

curl
curl "https://api-tariff-codes.dataandapis.com/v1/tariffs?chapter=85&leaves_only=true&limit=25&page=1&q=smartphones" \
  -H "X-Api-Key: YOUR_API_KEY"
JavaScript / TypeScript (pacote dataandapis)
// npm install dataandapis
import { DataAndApis } from "dataandapis";

const client = new DataAndApis(); // reads DATAANDAPIS_API_KEY

const data = await client.tariffCodes.searchTariffs({
  chapter: 85,
  leaves_only: true,
  limit: 25,
  page: 1,
  q: "smartphones",
});
Python (pacote dataandapis)
# pip install dataandapis
from dataandapis import DataAndApis

client = DataAndApis()  # reads DATAANDAPIS_API_KEY

data = client.tariff_codes.search_tariffs(
    chapter=85,
    leaves_only=True,
    limit=25,
    page=1,
    q="smartphones",
)
Exemplo de resposta
{
  "ok": true,
  "page": 1,
  "limit": 5,
  "total": 15,
  "total_pages": 3,
  "tariffs": [
    {
      "seq": 27788,
      "htsno": "8517.13.00.00",
      "indent": 2,
      "description": "Smartphones",
      "context": "Telephone sets, including smartphones and other telephones for cellular networks or for other wireless networks; other apparatus for the transmission or reception of voice, images or other data, including apparatus for communication in a wired or wireless network (such as a local or wide area network), other than transmission or reception apparatus of heading 8443, 8525, 8527 or 8528; parts thereof > Telephone sets, including smartphones and other telephones for cellular networks or for other wireless networks",
      "chapter": "85",
      "is_leaf": true,
      "units": [
        "No."
      ],
      "general": "Free",
      "special": null,
      "other": "35%",
      "quota_quantity": null,
      "additional_duties": null,
      "footnotes": [],
      "updated_at": "2026-09-06 05:06:09"
    },
    {
      "seq": 27794,
…
Ver resposta completa
{
  "ok": true,
  "page": 1,
  "limit": 5,
  "total": 15,
  "total_pages": 3,
  "tariffs": [
    {
      "seq": 27788,
      "htsno": "8517.13.00.00",
      "indent": 2,
      "description": "Smartphones",
      "context": "Telephone sets, including smartphones and other telephones for cellular networks or for other wireless networks; other apparatus for the transmission or reception of voice, images or other data, including apparatus for communication in a wired or wireless network (such as a local or wide area network), other than transmission or reception apparatus of heading 8443, 8525, 8527 or 8528; parts thereof > Telephone sets, including smartphones and other telephones for cellular networks or for other wireless networks",
      "chapter": "85",
      "is_leaf": true,
      "units": [
        "No."
      ],
      "general": "Free",
      "special": null,
      "other": "35%",
      "quota_quantity": null,
      "additional_duties": null,
      "footnotes": [],
      "updated_at": "2026-09-06 05:06:09"
    },
    {
      "seq": 27794,
      "htsno": "8517.18.00.10",
      "indent": 3,
      "description": "Videophones",
      "context": "Telephone sets, including smartphones and other telephones for cellular networks or for other wireless networks; other apparatus for the transmission or reception of voice, images or other data, including apparatus for communication in a wired or wireless network (such as a local or wide area network), other than transmission or reception apparatus of heading 8443, 8525, 8527 or 8528; parts thereof > Telephone sets, including smartphones and other telephones for cellular networks or for other wireless networks > Other",
      "chapter": "85",
      "is_leaf": true,
      "units": [
        "No."
      ],
      "general": null,
      "special": null,
      "other": null,
      "quota_quantity": null,
      "additional_duties": null,
      "footnotes": [],
      "updated_at": "2026-09-06 05:06:09"
    },
    {
      "seq": 27796,
      "htsno": "8517.18.00.50",
      "indent": 3,
      "description": "Other",
      "context": "Telephone sets, including smartphones and other telephones for cellular networks or for other wireless networks; other apparatus for the transmission or reception of voice, images or other data, including apparatus for communication in a wired or wireless network (such as a local or wide area network), other than transmission or reception apparatus of heading 8443, 8525, 8527 or 8528; parts thereof > Telephone sets, including smartphones and other telephones for cellular networks or for other wireless networks > Other",
      "chapter": "85",
      "is_leaf": true,
      "units": [
        "No."
      ],
      "general": null,
      "special": null,
      "other": null,
      "quota_quantity": null,
      "additional_duties": null,
      "footnotes": [],
      "updated_at": "2026-09-06 05:06:09"
    },
    {
      "seq": 27787,
      "htsno": "8517.11.00.00",
      "indent": 2,
      "description": "Line telephone sets with cordless handsets",
      "context": "Telephone sets, including smartphones and other telephones for cellular networks or for other wireless networks; other apparatus for the transmission or reception of voice, images or other data, including apparatus for communication in a wired or wireless network (such as a local or wide area network), other than transmission or reception apparatus of heading 8443, 8525, 8527 or 8528; parts thereof > Telephone sets, including smartphones and other telephones for cellular networks or for other wireless networks",
      "chapter": "85",
      "is_leaf": true,
      "units": [
        "No."
      ],
      "general": "Free",
      "special": null,
      "other": "35%",
      "quota_quantity": null,
      "additional_duties": null,
      "footnotes": [],
      "updated_at": "2026-09-06 05:06:09"
    },
    {
      "seq": 27795,
      "htsno": "8517.18.00.20",
      "indent": 3,
      "description": "Multiline telephones (including key, call director and consoles)",
      "context": "Telephone sets, including smartphones and other telephones for cellular networks or for other wireless networks; other apparatus for the transmission or reception of voice, images or other data, including apparatus for communication in a wired or wireless network (such as a local or wide area network), other than transmission or reception apparatus of heading 8443, 8525, 8527 or 8528; parts thereof > Telephone sets, including smartphones and other telephones for cellular networks or for other wireless networks > Other",
      "chapter": "85",
      "is_leaf": true,
      "units": [
        "No."
      ],
      "general": null,
      "special": null,
      "other": null,
      "quota_quantity": null,
      "additional_duties": null,
      "footnotes": [],
      "updated_at": "2026-09-06 05:06:09"
    }
  ]
}

GETTariff Lookup

https://api-tariff-codes.dataandapis.com/v1/tariffs/{code}

Parâmetros de caminho

ParâmetroExemplo
code8703.23.01Obrigatório

Exemplo de requisição

curl
curl "https://api-tariff-codes.dataandapis.com/v1/tariffs/8703.23.01" \
  -H "X-Api-Key: YOUR_API_KEY"
JavaScript / TypeScript (pacote dataandapis)
// npm install dataandapis
import { DataAndApis } from "dataandapis";

const client = new DataAndApis(); // reads DATAANDAPIS_API_KEY

const data = await client.tariffCodes.tariffLookup({ code: "8703.23.01" });
Python (pacote dataandapis)
# pip install dataandapis
from dataandapis import DataAndApis

client = DataAndApis()  # reads DATAANDAPIS_API_KEY

data = client.tariff_codes.tariff_lookup(code="8703.23.01")
Exemplo de resposta
{
  "ok": true,
  "tariff": {
    "seq": 28997,
    "htsno": "8703.23.01",
    "indent": 2,
    "description": "Of a cylinder capacity exceeding 1,500 cc but not exceeding 3,000 cc",
    "context": "Motor cars and other motor vehicles principally designed for the transport of persons (other than those of heading 8702), including station wagons and racing cars > Other vehicles, with only spark-ignition internal combustion piston engines",
    "chapter": "87",
    "is_leaf": false,
    "units": [],
    "general": "2.5%",
    "special": "Free (A+,AU,B,BH,CL,CO,D,E,IL,JO,KR,MA,OM, P,PA,PE,S,SG)",
    "other": "10%",
    "quota_quantity": null,
    "additional_duties": null,
    "footnotes": [
      {
        "marker": null,
        "value": "See 9903.90.08. ",
        "columns": [
          "other"
        ]
      }
    ],
    "updated_at": "2026-09-06 05:06:09"
  },
  "ancestors": [
…
Ver resposta completa
{
  "ok": true,
  "tariff": {
    "seq": 28997,
    "htsno": "8703.23.01",
    "indent": 2,
    "description": "Of a cylinder capacity exceeding 1,500 cc but not exceeding 3,000 cc",
    "context": "Motor cars and other motor vehicles principally designed for the transport of persons (other than those of heading 8702), including station wagons and racing cars > Other vehicles, with only spark-ignition internal combustion piston engines",
    "chapter": "87",
    "is_leaf": false,
    "units": [],
    "general": "2.5%",
    "special": "Free (A+,AU,B,BH,CL,CO,D,E,IL,JO,KR,MA,OM, P,PA,PE,S,SG)",
    "other": "10%",
    "quota_quantity": null,
    "additional_duties": null,
    "footnotes": [
      {
        "marker": null,
        "value": "See 9903.90.08. ",
        "columns": [
          "other"
        ]
      }
    ],
    "updated_at": "2026-09-06 05:06:09"
  },
  "ancestors": [
    {
      "seq": 28982,
      "htsno": "8703",
      "indent": 0,
      "description": "Motor cars and other motor vehicles principally designed for the transport of persons (other than those of heading 8702), including station wagons and racing cars",
      "context": null,
      "chapter": "87",
      "is_leaf": false,
      "units": [],
      "general": null,
      "special": null,
      "other": null,
      "quota_quantity": null,
      "additional_duties": null,
      "footnotes": [],
      "updated_at": "2026-09-06 05:06:09"
    },
    {
      "seq": 28988,
      "htsno": null,
      "indent": 1,
      "description": "Other vehicles, with only spark-ignition internal combustion piston engines",
      "context": "Motor cars and other motor vehicles principally designed for the transport of persons (other than those of heading 8702), including station wagons and racing cars",
      "chapter": "87",
      "is_leaf": false,
      "units": [],
      "general": null,
      "special": null,
      "other": null,
      "quota_quantity": null,
      "additional_duties": null,
      "footnotes": [],
      "updated_at": "2026-09-06 05:06:09"
    }
  ],
  "children": [
    {
      "seq": 28998,
      "htsno": "8703.23.01.10",
      "indent": 3,
      "description": "Motor homes",
      "context": "Motor cars and other motor vehicles principally designed for the transport of persons (other than those of heading 8702), including station wagons and racing cars > Other vehicles, with only spark-ignition internal combustion piston engines > Of a cylinder capacity exceeding 1,500 cc but not exceeding 3,000 cc",
      "chapter": "87",
      "is_leaf": true,
      "units": [
        "No."
      ],
      "general": null,
      "special": null,
      "other": null,
      "quota_quantity": null,
      "additional_duties": null,
      "footnotes": [],
      "updated_at": "2026-09-06 05:06:09"
    },
    {
      "seq": 28999,
      "htsno": null,
      "indent": 3,
      "description": "Other",
      "context": "Motor cars and other motor vehicles principally designed for the transport of persons (other than those of heading 8702), including station wagons and racing cars > Other vehicles, with only spark-ignition internal combustion piston engines > Of a cylinder capacity exceeding 1,500 cc but not exceeding 3,000 cc",
      "chapter": "87",
      "is_leaf": false,
      "units": [],
      "general": null,
      "special": null,
      "other": null,
      "quota_quantity": null,
      "additional_duties": null,
      "footnotes": [],
      "updated_at": "2026-09-06 05:06:09"
    }
  ]
}

De onde vêm os dados

Fonte
A exportação JSON oficial da Harmonized Tariff Schedule da USITC (obra do governo dos EUA, domínio público).
Atualização
Sincronização completa noturna a partir da exportação da USITC.

Uma instalação. Todos os endpoints.

Instale o pacote dataandapis pelo npm ou pelo PyPI e chame esta API com métodos tipados, ou use qualquer cliente HTTP na linguagem que preferir.

4linguagens
4endpoints
RESTarquitetura
1chave para todas as APIs
  • Parâmetros e respostas tipados, com autocompletar no seu editor
  • Para Node.js 18 ou superior e Python 3.9 ou superior, sem dependências
  • Uma chave funciona em mais de 125 APIs da plataforma

Ler o guia do pacote npm →Ler o guia do pacote Python →

// npm install dataandapis
import { DataAndApis } from "dataandapis";

const client = new DataAndApis(); // reads DATAANDAPIS_API_KEY

const data = await client.tariffCodes.searchTariffs({
  chapter: 85,
  leaves_only: true,
  limit: 25,
  page: 1,
  q: "smartphones",
});

Tariff Codes API · X-Api-Key

Explore os endpoints

Veja os parâmetros de requisição e inspecione exemplos reais de resposta.

Endpoints disponíveis

Parâmetros da requisição

URL da API

Cabeçalhos

X-Api-Key
// npm install dataandapis
import { DataAndApis } from "dataandapis";

const client = new DataAndApis({ apiKey: "YOUR_API_KEY" });

const data = await client.tariffCodes.dataSources();

Uma assinatura. Todas as APIs.

Os tokens liberam esta API e mais de 125 outras no DataAndAPIs. Troque de API quando quiser.

GRÁTIS

$0/mês

500 tokens / mês

  • Acesso a todas as APIs
  • Tokens renovados todo mês
  • Suporte da comunidade
Começar grátis
Mais popular

STARTER

$6.99/mês

25.000 tokens / mês

  • Acesso a todas as APIs
  • Tokens renovados todo mês
  • Suporte por e-mail
Assinar

PRO

$24.99/mês

100.000 tokens / mês

  • Acesso a todas as APIs
  • Tokens renovados todo mês
  • Suporte prioritário por e-mail
Assinar

ULTRA

$99.99/mês

1.000.000 tokens / mês

  • Acesso a todas as APIs
  • Tokens renovados todo mês
  • Suporte prioritário
Assinar

Precisa de mais volume, infraestrutura dedicada ou um contrato personalizado? Falar com vendas →

Perguntas sobre a Tariff Codes API

Lance Tariff Codes API ainda hoje à tarde.

500 tokens grátis. Sem cartão. E mais de 125 outras APIs com a mesma chave.