duty
Import duty for one importing country x HS6 product code. Paid via x402: $0.01 USDC on Base per call. This tool returns the ready-to-call URL; call it with an x402-capable HTTP client (e.g. @x402/fetch).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"importer": "<importer>",
"hs": "<hs>"
},
"name": "duty"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hs | Yes | 6-digit HS code, e.g. 842220 | |
| origin | No | Optional origin country ISO3, e.g. CHN | |
| importer | Yes | Importing country. ISO3 country code, e.g. NGA, GHA, KEN, ARE, BRA, USA, DEU, IND | |
| customs_value | No | Optional CIF value; returns duty amount |