RapidAPI logo

Sign Up

Log In

EasyPostTracking

FREE
By stefan.skliarov
Updated 3 months ago
Logistics
-/10
Popularity Score
-
Latency
-
Success Rate

EasyPostTracking API Documentation

Add postal package tracking to an app, email, SMS or more.

View API Details
POSTgetTracker
POSTgetTrackers
POSTtrackPackage
POSTgetTracker

Get a package tracker by it's ID.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
apiKeyCREDENTIALS
REQUIREDThe api key obtained from Easy Post.
trackingIdSTRING
REQUIREDUnique tracker ID. Use tracking ID or tracking code
Request Snippet
unirest.post("https://EasyPostTrackingstefan-skliarovV1.p.rapidapi.com/getTracker")
.header("X-RapidAPI-Host", "EasyPostTrackingstefan-skliarovV1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
Log inSign up

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://EasyPostTrackingstefan-skliarovV1.p.rapidapi.com/getTracker")
.header("X-RapidAPI-Host", "EasyPostTrackingstefan-skliarovV1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication