Calculate landed cost
Runs the landed-cost engine end-to-end for a single shipment. Resolves MFN, Section 232 / 301 / 122 / 338, AD/CVD, FTA preferences, VAT/GST, MPF, HMF, and de-minimis. Returns a full CalculationResult plus compliance flags (PGA, restricted product, denied party, unit-price deviation, data-freshness, Section 122 sunset banner).
Authorizations
API key issued from the LandedFees dashboard under Settings > API keys.
Format: sk_live_... (production) or sk_test_... (sandbox). Pass in
the Authorization: Bearer <key> header.
Headers
Client-generated unique string (recommended UUID v4). Repeating the same key within 24 hours returns the cached response for the original request body. Different bodies with the same key return HTTP 409.
8 - 128"e4c1d2a0-8f6b-4c9d-a123-2f8b7c5e9d10"
Body
2"US"
2"CN"
EXW, FCA, CPT, CIP, DAP, DPU, DDP, FAS, FOB, CFR, CIF ocean, air, truck, rail, express 3"USD"
1x >= 0x >= 0x >= 0Itemized customs-value adjustments per 19 CFR 152.103.
Required when destination_country is EU.
222FTA program ID (KORUS, CAFTA_DR, etc.).
ISO date the shipment left the country of exportation. Drives the CBP-published weekly FX lookup per 19 CFR 141.62. Falls back to calculation_date when unset.
upload, manual Snapshot of extractor output for auto-detected fields.