Skip to main content
GET
Browse Categories
Browse the hierarchical tree structure of codes. Returns top-level chapters or children of a specified parent code.

Parameters

Example Request

Get top-level chapters:
Get children of a specific code:

Example Response

Response Fields

  • has_children: Boolean indicating if the code has child codes
  • indent: Hierarchy level (0 = top level)

Use Cases

  • Build tree navigation interfaces
  • Explore code hierarchies
  • Display category structures
  • Implement breadcrumb navigation

Authorizations

Authorization
string
header
required

API key as Bearer token. Format: Bearer your_hts_api_key

Query Parameters

parent
string

Parent code to get children of

Maximum string length: 50
depth
integer
default:1

How many levels deep (default: 1, max: 3)

Required range: 1 <= x <= 3

Response

Category tree

data
object[]