› compliance_grid.aiCOMPLIANCEGRIDGOV · COMPLIANCE · INTELLIGENCE
HS Code Lookup

Search HTS by Keyword

POST/v1/hs/search$0.05 per call

Keyword search of the HTS schedule loaded from the USITC. Each tariff line is searched together with its parent lines, plurals and a few everyday words are understood, and lines that contain all the words rank first. Chapters 98 and 99 (temporary and special provisions) are not searched, and a line without a rate of its own shows its parent line's rate. This is a keyword search, not a classifier: use POST /v1/hs/classify for an AI-assisted suggestion.

Send an Idempotency-Key header to retry safely.

Request body

FieldTypeDescription
queryrequiredstringKeyword search term
limitoptionalintegermin 1 · max 100 · default 25

Response fields

FieldTypeDescription
successbooleane.g. true
dataobject
data.querystringe.g. laptop computer
data.totalResultsnumbere.g. 3
data.resultsarray
data.results[].htsNumberstringe.g. 9017.20.80.40
data.results[].descriptionstringe.g. Hand operated input devices which transmit position data to c…
data.results[].indentnumbere.g. 3
data.results[].generalDutyRatestringe.g. 4.6%
data.results[].specialDutyRatenull
data.results[].otherDutyRatenull
data.results[].unitsarray
data.results[].chapterstringe.g. 90
data.results[].headingstringe.g. 9017
data.results[].subheadingstringe.g. 901720
metaobject
meta.dataSourceobject
meta.dataSource.namestringe.g. ComplianceGrid
meta.dataSource.provenancestringe.g. computed

Fields are read from a real response captured 2026-11-04, shortened. Optional fields may be absent in other responses.

Errors

  • 400 invalid request
  • 401 missing or bad key
  • 403 not in your plan
  • 429 rate limited, see Retry-After
  • 402 payment required
  • 5xx retry with backoff

Error bodies and codes are described in Error codes and troubleshooting.