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.
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