Inspect an HTS heading and ancestry
usitc_get_headingInspect a four-, six- or eight-digit HTS classification and its complete indented descendants, including unnamed superior rows. Published section titles are retained separately in sections, outside legal ancestry. Ancestry is built from the whole containing heading before filtering. Each parent and inherited-rate source has an exact nodeId follow-up. Chapters 98 and 99 preserve published forest roots without inventing four-digit records.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Four-, six- or eight-digit HTS code, bare or conventionally dotted. | |
| limit | No | Requested items as a positive safe integer; effectiveLimit discloses clamping to at most 100, and pages may be byte limited. Keep the same requested limit for continuation. | |
| cursor | No | Opaque nextCursor from the same tool with identical arguments. | |
| nodeId | No | Exact returned node identifier within this classification subtree; omit to browse. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | Canonical requested code. | |
| page | No | Complete selected subtree and continuation. | |
| error | No | Present when the call failed. Absent on success. | |
| found | No | Whether the requested classification has published nodes. | |
| nodes | No | Flat source-order nodes with legal parents and rate provenance. | |
| notice | No | Actionable next call for this particular empty result. | |
| rootId | No | First selected source node; special chapters can have multiple published roots. | |
| source | No | Source provenance. | |
| notices | No | Persistent source and coverage limitations. | |
| release | No | Edition checked for this result. | |
| guidance | No | Executable research guidance for a successful classification miss. | |
| sections | No | Complete published section markers from the containing heading, separate from legal ancestry. | |
| totalCount | No | Complete locally filtered item count. |