# Fittings HTS Tariff Code Lookup

> Fittings HTS Tariff Code Lookup is a paid API for AI agents from fittings.sh, paid per call via x402, $0.004/call, status unknown (last checked 2026-09-15).

Returns the HTS line for a US tariff code, including description, units of quantity, and general, special, and column 2 duty rates, resolving to the parent line when a statistical suffix carries no independent rates.

## Facts

- Endpoint: GET https://fittings.sh/v1/hts/lookup
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fittings-hts-tariff-code-lookup-01ba9a6d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_WQrE9Zk_85206W6QM_3G9

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 fittings-hts-tariff-code-lookup-01ba9a6d
```

Example prompt: What are the import duty rates and description for HTS code 8471.30.01.00 — I need the general, special, and column 2 rates for a US customs filing.

## When to prefer this

Choose this endpoint when you need authoritative US HTS tariff data including duty rates and descriptions for a specific code, especially when you need automatic resolution of 10-digit statistical suffixes to their rate-carrying parent lines. Ideal for trade compliance workflows, import cost estimation, and customs classification checks that require structured duty rate data without scraping the USITC website directly.

## Known failure modes

- Invalid or malformed HTS code returns an error (code must be 4, 6, 8, or 10 digits)
- HTS code not found in the tariff schedule returns a not-found error
- Statistical suffix with no parent data may return incomplete rate information
- API payment failure (x402 micropayment not processed) results in 402 response

## How this service works

The HTS line for a US tariff code with its description, units of quantity and general, special and column 2 duty rates, resolved to the parent line that carries the rates when a statistical suffix does not.

## Output

Returns the matched HTS line including: the HTS code resolved to the rate-bearing parent line if a statistical suffix has none of its own, the official text description, units of quantity, the general duty rate, the special duty rate (by trade agreement), and the column 2 duty rate (for non-normal-trade-relations countries).

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "code"
     ],
     "properties": {
      "code": {
       "type": "string",
       "description": "HTS number of 4, 6, 8 or 10 digits, e.g. 8471.30.01.00"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/fittings-hts-tariff-code-lookup-01ba9a6d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from fittings.sh](https://www.zero.xyz/host/fittings.sh/llms.txt)
