Incoterms Calculator
Convert between Incoterms (EXW ↔ FOB ↔ CIF ↔ DDP, etc.) and see exactly which costs flip from seller to buyer at each step. Built for quick "if I quote DDP instead of FOB, what's my new landed price?" math.

What It Does
When to Use
Whenever a buyer says "what's the DDP equivalent?", or when you're comparing a CIF quote from a supplier against an EXW quote you'd own end-to-end.
Conversion Flow
curl -X POST https://api.anvilhk.com/api/v1/tools/incoterms/convert \
-H "Authorization: Bearer $ANVIL_KEY" \
-H "X-Tenant-ID: $TENANT" \
-H "Content-Type: application/json" \
-d '{
"from": "FOB",
"to": "DDP",
"amount": 12000,
"currency": "USD",
"originPort": "CNSHA",
"destPort": "USLAX",
"destAddress": { "country": "US", "zip": "90245" },
"containerSize": "40HQ",
"weightKg": 18000,
"hsCode": "8504.40.85"
}'Returns the new total + a per-leg breakdown.
Freight Rate Library
GET /api/v1/tools/freight-rates?origin=CNSHA&dest=USLAX&size=40HQ returns indicative rates per carrier with a 14-day validity window. Pro plans can override with their freight forwarder's actual contract rates.
API Endpoints
Pricing & Limits
| Plan | Conversions / month | Manual rates |
|---|---|---|
| Starter | 200 | 0 |
| Pro | unlimited | 50 |
| Enterprise | unlimited | unlimited |