Tariff Lookup

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

Tariff Lookup es un endpoint de Tariff Codes API. Las 35.804 líneas del Arancel Armonizado de EE. UU. con tipos de derechos, en búsqueda.

Envía tu clave en la cabecera X-Api-Key. Cada llamada cuesta 1 token; una clave gratuita incluye 500 tokens al mes.

Petición

Parámetros de ruta

ParámetroEjemplo
code8703.23.01Obligatorio

Petición de ejemplo

curl
curl "https://api-tariff-codes.dataandapis.com/v1/tariffs/8703.23.01" \
  -H "X-Api-Key: YOUR_API_KEY"
Node.js
const res = await fetch("https://api-tariff-codes.dataandapis.com/v1/tariffs/8703.23.01", {
  headers: { "X-Api-Key": process.env.DATAANDAPIS_KEY },
});
const data = await res.json();
Python
import os, requests

r = requests.get(
    "https://api-tariff-codes.dataandapis.com/v1/tariffs/8703.23.01",
    headers={"X-Api-Key": os.environ["DATAANDAPIS_KEY"]},
)
data = r.json()

Respuesta de ejemplo

Respuesta de ejemplo
{
  "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 la respuesta 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"
    }
  ]
}