Computes what an import actually costs at the destination
handel.halowerk.com/v1/landed-cost
Computes what an import actually costs at the destination. The customs value is assembled from goods, freight and insurance on the chosen basis (CIF or FOB), duty is applied to it, and import VAT is applied to the duty-inclusive value, which is the ordering most calculations get wrong. Duty rates come from the live tariff: the UK Trade Tariff for GB and the USITC HTS for the US, with the commodity
POST
https://handel.halowerk.com/v1/landed-costUptime100% of 1 check in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://handel.halowerk.com/v1/landed-cost", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"currency":"EUR","destination_country":"DE","freight_cost":10,"goods_value":100,"hs_code":"610910","origin_country":"US"}),
});
console.log(await res.json());Example input
{
"currency": "EUR",
"destination_country": "DE",
"freight_cost": 10,
"goods_value": 100,
"hs_code": "610910",
"origin_country": "US"
}