Search Tariffs
GEThttps://api-tariff-codes.dataandapis.com/v1/tariffs
Search Tariffs 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 consulta
| Parámetro | Ejemplo | |
|---|---|---|
| chapter | 85 | Opcional |
| code | Opcional | |
| leaves_only | true | Opcional |
| limit | 25 | Opcional |
| page | 1 | Opcional |
| q | smartphones | Opcional |
Petición de ejemplo
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"Node.js
const res = await fetch("https://api-tariff-codes.dataandapis.com/v1/tariffs?chapter=85&leaves_only=true&limit=25&page=1&q=smartphones", {
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?chapter=85&leaves_only=true&limit=25&page=1&q=smartphones",
headers={"X-Api-Key": os.environ["DATAANDAPIS_KEY"]},
)
data = r.json()Respuesta de ejemplo
Respuesta de ejemplo{
"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 la respuesta completa
Respuesta de ejemplo
{
"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,
…{
"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"
}
]
}
