Calculate Tax and Duty

Retrieve tax and duty costs information.

Use either of the two schemas WITH COUNTRY IDS OR WITH COUNTRY ALPHA2 to provide country specific details.

Required authorization scope: public.tax_and_duty:read

Note: Calls to this endpoint count towards your API usage allowance. You can monitor your current usage in the Subscription section of your account.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Tax and duty calculation request with Country IDs (based on Countries API)

integer
enum
required

Country ID based on Countries API

integer
enum
required

Country ID based on Countries API

number
required

Insurance fee of a shipment

number
required

Delivery fee of a shipment

string
enum

ISO-4217 three-letter alphabetic currency code (e.g. USD, EUR, GBP). If not provided, the default currency will be based on origin_country_id.

items
array of objects
required
length ≥ 1

Every element represents a collection of items grouped by HS code

items*
integer
enum
required

Country of origin for the item. This field is used to calculate import tariffs. Country ID can be found in our Country API.

string
required

Eight-digit WTO HS code with last two digits as 00 (e.g. 42029100).

number
required

Total value of this HS code group

Responses

Language
Credentials
Bearer
token
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json