Border Solutions Duty and Vat Calculator

FREEMIUM
By bordersolutions
Updated 4 months ago
Commerce
-/10
Popularity Score
-
Latency
-
Success Rate

Border Solutions Duty and Vat Calculator API Documentation

Border Solutions API gives you a fully landed cost quote for dozens of countries in the WTO. Use these Duty and Tax rates to get an estimate on import fees! Border Solutions supports three countries: Canada, Australia and Mexico. If shipping to Canada you must use the additional field of "shipToProvince". Example {"shipToProvince": "ON"}

View API Details
POST/quote
POST/quote

Fully landed cost Tax, Duty & VAT quote

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
Landed Cost Quote SchemaJSON_STRING
REQUIREDFor non Canada exclude "shipToProvince"
Code Snippet
unirest.post("https://bordersolutions-border-solutions-duty-and-vat-calculator-v1.p.rapidapi.com/quote")
.header("X-RapidAPI-Host", "bordersolutions-border-solutions-duty-and-vat-calculator-v1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/json")
.send({"shipToCountry":"CA","shipFromCountry":"US","shipToProvince":"ON","hscode":"640411","cost":"5898.4","freight":"25","insurance":"5.32","sku":"testSku"})
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
General
Request URL: https://bordersolutions-border-solutions-duty-and-vat-calculator-v1.p.rapidapi.com/quote
Request Method: POST
Response Headers
Response Body

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.post("https://bordersolutions-border-solutions-duty-and-vat-calculator-v1.p.rapidapi.com/quote")
.header("X-RapidAPI-Host", "bordersolutions-border-solutions-duty-and-vat-calculator-v1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/json")
.send({"shipToCountry":"CA","shipFromCountry":"US","shipToProvince":"ON","hscode":"640411","cost":"5898.4","freight":"25","insurance":"5.32","sku":"testSku"})
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication