Triplicate Hs API

The Hs API from Triplicate, for hs.

GitHub OpenAPI

Operations 1

POST /api/v1/hs Search HS 2022 codes (6 digits) by English description or code prefix #

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/triplicatedocs-com:triplicatedocs-com-hs-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

triplicatedocs-com-hs-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Triplicate Hs API
  version: 1.4.0
  description: 'Create matching export documents (proforma invoice, commercial invoice, packing list, shipping instruction; also purchase order, sales contract and certificate of origin) from order data. Also: search HS codes and UN/LOCODE port codes, check container numbers, calculate CBM and export prices, check a B/L or AWB draft and read a letter of credit. Free, no key; nothing is stored. The documents endpoint returns a link that opens Triplicate''s generator filled in, where the user reviews and saves the PDF. MCP server with the same tools: https://api.triplicatedocs.com/mcp'
  contact:
    url: https://triplicatedocs.com/developers/
servers:
- url: https://api.triplicatedocs.com
tags:
- name: Hs
paths:
  /api/v1/hs:
    post:
      operationId: lookupHsCode
      summary: Search HS 2022 codes (6 digits) by English description or code prefix
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                query:
                  type: string
                limit:
                  type: integer
                  default: 8
              required:
              - query
      responses:
        '200':
          description: Candidate codes
          content:
            application/json:
              schema:
                type: object
        '400':
          description: Error
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  detail:
                    type: string
      description: Use when a user asks which HS code a product falls under or what a code means. Returns HS 2022 six-digit candidates with their descriptions. National codes (8 to 10 digits) differ by country; the importer or customs broker confirms the classification.
      tags:
      - Hs