# US Harmonized Tariff Schedule (HTS) Lookup

> US Harmonized Tariff Schedule (HTS) Lookup is a paid API for AI agents from payai.agentstools.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-15).

Classify goods against the US Harmonized Tariff Schedule by keyword or HTS code, returning matching HTS lines with duty rates, units, and footnotes.

## Facts

- Endpoint: GET https://payai.agentstools.dev/trade/hts
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/us-harmonized-tariff-schedule-hts-lookup-8f98bd15
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_NbRWuJ8biduNfW0g6oJGr

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability us-harmonized-tariff-schedule-hts-lookup-8f98bd15
```

Example prompt: What's the HTS classification and duty rate for lithium-ion batteries? Search the US Harmonized Tariff Schedule using the keyword 'lithium battery' and return up to 10 matching lines.

## When to prefer this

Use this endpoint when you need to classify a specific product under the US HTS, look up applicable duty rates for import/export compliance, or retrieve tariff schedule details to feed into trade cost calculations. Prefer this over general trade-flow endpoints when the goal is classification and duty-rate lookup rather than aggregate trade statistics.

## Known failure modes

- No matching HTS lines found for the given keyword or code — returns empty result set
- HTS code provided has fewer than 4 or more than 10 digits — invalid input rejected
- limit parameter out of range (must be 1–60) — validation error returned
- Ambiguous keyword matches hundreds of lines — results truncated to limit
- Service temporarily unavailable or payment not processed — HTTP 402 or 5xx error

## How this service works

Classify goods against the US Harmonized Tariff Schedule. Give a keyword or an HTS code and get the matching HTS lines with their duty-rate columns, units and footnotes. The cheap supporting lookup that feeds trade/tariff.

## Output

Returns a list of matching HTS schedule lines including the full HTS code, product description, general and special duty rate columns, units of quantity, and any applicable footnotes or chapter notes.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "hts": {
       "type": "string",
       "description": "HTS or HS code to expand into its lines, 4 to 10 digits"
      },
      "limit": {
       "type": "integer",
       "maximum": 60,
       "minimum": 1,
       "description": "Max lines to return, default 20"
      },
      "keyword": {
       "type": "string",
       "description": "Product description keyword to search the HTS"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/us-harmonized-tariff-schedule-hts-lookup-8f98bd15/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from payai.agentstools.dev](https://www.zero.xyz/host/payai.agentstools.dev/llms.txt)
