> ## Documentation Index
> Fetch the complete documentation index at: https://docs.anysite.io/llms.txt
> Use this file to discover all available pages before exploring further.

# /us_hts/lines

> Get US Harmonized Tariff Schedule lines for one HTS code — duty rates, units of quantity, quota quantity, additional duties and footnotes

**Price:** 1 credit

**⚠️ Common errors:** 412: The HTS code carries no line in the current revision of the tariff schedule



## OpenAPI

````yaml /openapi/gov-public-sector.json post /api/us_hts/lines
openapi: 3.1.0
info:
  title: Any Site API
  description: >+
    Any Site API provides programmatic access to data from LinkedIn, Instagram,
    Twitter, and other platforms.


    ## Authentication


    All API endpoints require an `access-token` header with a valid API token.
    Tokens can be created in the [dashboard](https://app.anysite.io/).


    ## Pricing


    Each endpoint has a credit cost listed in its description. Credits are
    deducted from your token balance per request.

  version: 0.0.1
servers: []
security:
  - AccessToken: []
paths:
  /api/us_hts/lines:
    post:
      tags:
        - /us_hts
      summary: /us_hts/lines
      description: >-
        Get US Harmonized Tariff Schedule lines for one HTS code — duty rates,
        units of quantity, quota quantity, additional duties and footnotes


        **Price:** 1 credit


        **⚠️ Common errors:** 412: The HTS code carries no line in the current
        revision of the tariff schedule
      operationId: __api_us_hts_lines_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UsHtsLinesPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/UsHtsLine'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    UsHtsLinesPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        hts_number:
          type: string
          minLength: 1
        count:
          type: integer
          minimum: 1
      type: object
      required:
        - hts_number
        - count
    UsHtsLine:
      properties:
        '@type':
          type: string
          default: UsHtsLine
        hts_number:
          type: string
          default: ''
        indent:
          anyOf:
            - type: integer
            - type: 'null'
        is_group_caption:
          type: boolean
          default: false
        units:
          items:
            type: string
          type: array
          default: []
        general_rate:
          anyOf:
            - type: string
            - type: 'null'
        special_rate:
          anyOf:
            - type: string
            - type: 'null'
        other_rate:
          anyOf:
            - type: string
            - type: 'null'
        quota_quantity:
          anyOf:
            - type: string
            - type: 'null'
        additional_duties:
          anyOf:
            - type: string
            - type: 'null'
        footnotes:
          items:
            $ref: '#/components/schemas/UsHtsFootnote'
          type: array
          default: []
      type: object
      required:
        - description
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    UsHtsFootnote:
      properties:
        '@type':
          type: string
          default: UsHtsFootnote
        value:
          type: string
        marker:
          anyOf:
            - type: string
            - type: 'null'
        columns:
          items:
            type: string
          type: array
          default: []
        footnote_type:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - value
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
        msg:
          type: string
        type:
          type: string
        input: {}
        ctx:
          type: object
      type: object
      required:
        - loc
        - msg
        - type
  securitySchemes:
    AccessToken:
      type: apiKey
      in: header
      name: access-token
      description: API token from the dashboard

````