Skip to main content
GET
Get HTS Code by Code
Get a single HTS code with its full hierarchy and children. This endpoint is useful for exploring the code structure and understanding parent-child relationships.

Parameters

Example Request

Example Response

Response Fields

  • hierarchy: Array of parent codes in order from chapter to immediate parent
  • children: Array of child codes (if any exist)
  • units: Measurement units for the code
  • footnotes: Footnotes and additional information

Use Cases

  • Explore code structure and relationships
  • Build hierarchical navigation UIs
  • Understand code context within the classification system
  • Get complete code details including rates and units

Authorizations

Authorization
string
header
required

API key as Bearer token. Format: Bearer your_hts_api_key

Path Parameters

code
string
required

The HTS code (e.g., '8517.12.00.50')

Response

HTS Code detail with hierarchy

data
object