Toolsmith hs code API

The hs code API from Toolsmith — 1 operation(s) for hs code.

GitHub OpenAPI

Operations 1

GET /t/hs/classify HS Code Classifier & Duty Lookup #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/toolcall-click:toolcall-click-hs-code-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

toolcall-click-hs-code-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Toolsmith hs code API
  version: 1.0.0
  description: 'Keyless pay-per-call APIs for AI agents: 30 tools across compliance, trade, safety, web and data. Pay per call with USDC on Base via x402. No account, no API key.'
  x-guidance: Every tool is a GET endpoint under /t/ taking query parameters. Call it without payment to receive an HTTP 402 challenge with x402 v2 payment requirements (USDC on Base, network eip155:8453); pay and retry the same URL to get the JSON result. GET / lists all tools with prices and example inputs; GET /.well-known/x402 serves the machine-readable manifest. Prices range $0.002-$0.25 per call.
  contact:
    email: dassad10@gmail.com
servers:
- url: https://toolcall.click
tags:
- name: hs code
paths:
  /t/hs/classify:
    get:
      operationId: hs-classify
      summary: HS Code Classifier & Duty Lookup
      description: 'Classify any product to its HS / HTS customs code from a plain-English description. Expert LLM classification grounded in the live official USITC Harmonized Tariff Schedule: returns the 10-digit HTS code, international HS6, official description path, US duty rate (general + special programs), confidence, reasoning and alternates. JSON response.'
      tags:
      - hs code
      parameters:
      - name: desc
        in: query
        required: true
        description: Plain-English product description, max 500 chars
        schema:
          type: string
          description: Plain-English product description, max 500 chars
      - name: dest
        in: query
        required: false
        description: Destination country ISO code, default US (duty shown is US MFN)
        schema:
          type: string
          description: Destination country ISO code, default US (duty shown is US MFN)
      x-payment-info:
        price:
          mode: fixed
          currency: USD
          amount: '0.040000'
        protocols:
        - x402: {}
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
              example:
                htsCode: 9617.00.10.00
                hs6: '9617.00'
                duty:
                  usGeneral: 7.2%
                confidence: 0.85
                reasoning: Vacuum vessel with steel body...
                alternates:
                - hts: 7323.93.00
                  note: if not vacuum-insulated
        '402':
          description: Payment Required