{"uid":"cap_z9im1pIe49PdEK5Bc-C2v","slug":"us-hts-tariff-schedule-lookup-098706e9","name":"US HTS Tariff Schedule Lookup","description":"Look up or search the US Harmonized Tariff Schedule (HTS / HS codes). Pass `code` for an exact HTS number (dots optional) — returns that line plus its 10-digit statistical suffixes with duty rates. Or pass `query` for free-text search (e.g. 'electric toothbrush', 'roasted coffee') → ranked candidate HS codes by hierarchical heading. Each result: htsno, chapter, description, full heading path, units, and duty rates (general/MFN, special/FTA, column-2). ~29.6k lines, public-domain USITC data. The deterministic backbone for tariff classification in import/export and ERP item setup.","url":"https://2s.io/api/trade/tariff","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","queryParams"],"properties":{"type":{"const":"http"},"method":{"const":"GET"},"queryParams":{"properties":{"code":{"type":"string","description":"Exact HTS number, dots optional (e.g. 0101.21.00)."},"limit":{"type":"integer","description":"1–50, default 20 (search mode)."},"query":{"type":"string","description":"Free-text product description to search."}}}}}}},"responseSchema":{"type":"json","schema":{"type":"object","properties":{"ok":{"type":"boolean"},"items":{"type":"array","items":{"type":"object","properties":{"duty":{"type":"object","properties":{"other":{"type":"string"},"general":{"type":"string"},"special":{"type":"string"}}},"htsno":{"type":"string"},"units":{"type":"array","items":{}},"chapter":{"type":"string"},"heading":{"type":"string"},"description":{"type":"string"}}}},"total":{"type":"integer"},"source":{"type":"object","properties":{"url":{"type":"string"},"license":{"type":"string"},"provider":{"type":"string"}}}}},"example":{"ok":true,"items":[{"duty":{"other":"Free","general":"Free","special":""},"htsno":"0901.21.00","units":[],"chapter":"09","heading":"Coffee, whether or not roasted… > Coffee, roasted: > Not decaffeinated","description":"Not decaffeinated"}],"total":1,"source":{"url":"https://hts.usitc.gov","license":"US Government work, public domain (17 U.S.C. §105).","provider":"US Harmonized Tariff Schedule (USITC)"}}},"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"limit":5,"query":"electric toothbrush"}}},"response":{"data":{"ok":true,"page":{"size":5,"pages":1,"number":1},"items":[{"duty":{"other":null,"general":null,"special":null},"htsno":"8509.80.50.45","units":["No."],"chapter":"85","heading":"Electromechanical domestic appliances, with self-contained electric motor, other than vacuum cleaners of heading 8508; parts thereof: > Other appliances: > Other > Electric toothbrushes","description":"Electric toothbrushes"}],"total":1,"source":{"url":"https://hts.usitc.gov","license":"US Government work, public domain (17 U.S.C. §105).","provider":"US Harmonized Tariff Schedule (USITC)"}},"meta":{"cost":{"usd":0.0018,"tier":0},"caller":"x402","version":null,"endpoint":"trade.tariff","settlement":{"txHash":"0x194766db9839afe8843220f393670c8cfd38a0933e720b29bb49fecd989f7030","network":"eip155:8453","success":true}}}},"exampleRequest":{"limit":5,"query":"electric toothbrush"},"tags":["x402"],"displayCostAmount":"0.0018","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.0018/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0045","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0045","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_9pG51mug4yQxu3wDdp_o6","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0045","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Look up or search the US Harmonized Tariff Schedule (HTS/HS codes) by exact code or free-text product description, returning duty rates and classification details.","exampleAgentPrompt":"What's the HTS code and duty rate for 'electric toothbrushes' — search the US tariff schedule and show me the top 5 matches including their general and special duty rates.","exampleUseCases":null,"resultDescription":"Returns a ranked list of matching HTS entries, each with: HTS number (htsno), chapter, full description, hierarchical heading path, units of measure, and duty rates (general/MFN, special/FTA, and column-2). Exact code lookups also include 10-digit statistical suffixes.","failureModes":["No matching results for an obscure or misspelled product query — returns empty list","Invalid HTS code format may return no results or an error","Limit parameter outside 1–50 range may be rejected or clamped","Very broad queries may return low-relevance results at the top of the ranked list"],"whenToPreferThis":"Use this endpoint when you need authoritative, USITC-sourced HTS/HS code classification or duty rate data for US import/export. Prefer this over generic web search when you need structured tariff data with exact duty rates, statistical suffixes, and hierarchical heading paths — especially for ERP item setup, customs compliance, or trade classification workflows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:59:12.735Z","isFirstParty":false}