post https://api.openborder.com/api/direct/v1/landed-cost
What this endpoint does
This REST API calculates the total landed cost for shipping a cart of products internationally. It determines all costs your customer will pay, including:
- Duties
- Import taxes
- Other customs-related charges
Showing a fully landed cost upfront gives your international customers transparency at checkout, reduces delivery surprises, and helps you offer Delivered Duty Paid (DDP) shipping.
When to Use This API
- During checkout: Calculate the total landed cost in real-time when the user enters a shipping address.
- In the shopping cart: Let shoppers see estimated import charges before they even reach checkout.
- Before creating a draft order: Validate total shipping costs so your system can show an accurate final price, including duties and taxes.
Key business benefits
- Eliminate unexpected customs charges that cause cart abandonment.
- Enable a DDP (Delivered Duty Paid) experience: you collect duties and taxes at checkout.
- Improve international conversion rates by being upfront about total cost.
- Optionally guarantee the estimate: if all required fields are provided, your business can absorb the final bill.
What this gives your merchants
- One shipment → One or more ship-from → One or more shipping rates → Multiple items
- The system returns duties, taxes, and fees* for each shipment and rate, so merchants can present accurate options at checkout.
How to ensure a guaranteed calculation
- All required fields must be accurate.
- Certain destination countries require Province/State and zip code to guarantee compliance.
- If fields are missing, your calculation may be non-guaranteed and final charges could differ.