# US Import Tariff Estimator by HTS Code

> US Import Tariff Estimator by HTS Code is a paid API for AI agents from payai.agentstools.dev, paid per call via x402, $0.03/call, status unknown (last checked 2026-10-11).

Estimates the effective US import duty rate for a given HTS code and country of origin, including base MFN/FTA rates and trade-war surcharges (Section 301, 232, IEEPA), plus optional landed-cost calculation.

## Facts

- Endpoint: GET https://payai.agentstools.dev/trade/tariff?utm_source=zero.xyz
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/us-import-tariff-estimator-by-hts-code-5b65e0aa
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_WNbkIXHDyRJM6T22Mt9Pi

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-import-tariff-estimator-by-hts-code-5b65e0aa
```

Example prompt: What's the total effective US import duty rate for HTS code 8471.30.0100 on goods coming from China (CN), and if my customs value is $10,000, what would the landed cost look like?

## When to prefer this

Choose this endpoint when you need a detailed breakdown of the full US effective import duty rate — not just the base MFN rate — especially for imports from China or other countries subject to Section 301, Section 232, or IEEPA tariff layers. Ideal for trade compliance, sourcing decisions, landed-cost modeling, and supply chain analysis where knowing the total tariff burden (including trade-war surcharges) is critical.

## Known failure modes

- Invalid or unrecognized HTS code returns an error or empty result
- Unsupported or unknown ISO country code returns a validation error
- HTS code length outside 4-10 digits rejected
- Missing required query parameters (hts or origin) returns 400-level error
- Payment failure (x402) if USDC not available or insufficient balance

## How this service works

Estimate the effective US import duty for one HTS code from one origin country. Returns the base rate (MFN or FTA), the additional trade-war layers (Section 301, Section 232, IEEPA) with their Chapter 99 provisions, the combined effective rate, and an optional landed-cost estimate.

## Output

Returns the base tariff rate (MFN or FTA rate if applicable), individual trade-war surcharge rates for Section 301, Section 232, and IEEPA with their associated Chapter 99 HTS provisions, the combined effective duty rate as a percentage, and optionally a landed-cost dollar estimate if a customs value was provided.

## 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": [
      "hts",
      "origin"
     ],
     "properties": {
      "hts": {
       "type": "string",
       "description": "HTS or HS code, 4 to 10 digits, dots optional"
      },
      "origin": {
       "type": "string",
       "description": "Country of origin as an ISO code, e.g. CN, MX, DE"
      },
      "customs_value": {
       "type": "number",
       "description": "Optional entered customs value in USD for landed cost"
      }
     }
    }
   },
   "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-import-tariff-estimator-by-hts-code-5b65e0aa/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)
