{
  "x402Version": 2,
  "id": 29237,
  "slug": "29237",
  "resource": "https://api.agentstools.dev/trade/tariff",
  "description": "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.",
  "type": "http",
  "serviceName": "trade-tariff",
  "resourceType": "Trade & Logistics",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xF22e558a00D91Ee12A1F50C52186FecB8dDFf493",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "30000",
      "amountUsd": 0.03,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "customs_value": 10000,
            "hts": "8471.30",
            "origin": "CN"
          },
          "type": "http"
        },
        "output": {
          "example": {
            "additional_duties": [
              {
                "ad_valorem_percent": 7.5,
                "chapter99_provision": "9903.88.15",
                "legal_basis": "Section 301",
                "program": "Section 301 China List 4A"
              }
            ],
            "attribution": [
              "Tariff rates from the USITC Harmonized Tariff Schedule (public domain)"
            ],
            "base_rate": {
              "ad_valorem_percent": 0,
              "column": "general_mfn",
              "raw": "Free"
            },
            "effective_rate": {
              "effective_ad_valorem_percent": 7.5
            },
            "landed_cost": {
              "estimated_ad_valorem_duty": 750,
              "estimated_landed_cost": 10750
            },
            "query": {
              "hts": "8471.30",
              "origin": "CN"
            }
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET",
                  "HEAD",
                  "DELETE"
                ],
                "type": "string"
              },
              "queryParams": {
                "properties": {
                  "customs_value": {
                    "description": "Optional entered customs value in USD for landed cost",
                    "type": "number"
                  },
                  "hts": {
                    "description": "HTS or HS code, 4 to 10 digits, dots optional",
                    "type": "string"
                  },
                  "origin": {
                    "description": "Country of origin as an ISO code, e.g. CN, MX, DE",
                    "type": "string"
                  }
                },
                "required": [
                  "hts",
                  "origin"
                ],
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "trade",
    "tariff",
    "customs",
    "duty",
    "hts",
    "bazaar"
  ],
  "sourceHost": "api.agentstools.dev",
  "lastUpdated": "2026-10-08T06:09:58.641Z",
  "quality": {
    "calls30d": 3,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-08T06:09:58.42Z"
  },
  "metadata": {
    "serviceName": "trade-tariff",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "method": "GET",
            "queryParams": {
              "customs_value": 10000,
              "hts": "8471.30",
              "origin": "CN"
            },
            "type": "http"
          },
          "output": {
            "example": {
              "additional_duties": [
                {
                  "ad_valorem_percent": 7.5,
                  "chapter99_provision": "9903.88.15",
                  "legal_basis": "Section 301",
                  "program": "Section 301 China List 4A"
                }
              ],
              "attribution": [
                "Tariff rates from the USITC Harmonized Tariff Schedule (public domain)"
              ],
              "base_rate": {
                "ad_valorem_percent": 0,
                "column": "general_mfn",
                "raw": "Free"
              },
              "effective_rate": {
                "effective_ad_valorem_percent": 7.5
              },
              "landed_cost": {
                "estimated_ad_valorem_duty": 750,
                "estimated_landed_cost": 10750
              },
              "query": {
                "hts": "8471.30",
                "origin": "CN"
              }
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "method": {
                  "enum": [
                    "GET",
                    "HEAD",
                    "DELETE"
                  ],
                  "type": "string"
                },
                "queryParams": {
                  "properties": {
                    "customs_value": {
                      "description": "Optional entered customs value in USD for landed cost",
                      "type": "number"
                    },
                    "hts": {
                      "description": "HTS or HS code, 4 to 10 digits, dots optional",
                      "type": "string"
                    },
                    "origin": {
                      "description": "Country of origin as an ISO code, e.g. CN, MX, DE",
                      "type": "string"
                    }
                  },
                  "required": [
                    "hts",
                    "origin"
                  ],
                  "type": "object"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.agentstools.dev",
    "manifest_name": "api.agentstools.dev",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {},
    "type": "string"
  }
}