RapidAPI logo

Sign Up

Log In

Indian Post

FREE
By blaazetech
Updated 3 months ago
Data
8.8/10
Popularity Score
2730ms
Latency
70%
Success Rate

Indian Post API Documentation

Using this API anyone can get the information of Indian Post's Speed post consignment, just give consignment id(itemno) as input and get the whole details, also get the pincodes search feature, spread the word with your friends who are interested in this.

View API Details
Group
GETGet Offices by Pincodes
GETGet Pincodes by Office/City name
GETSpeed Post Tracking
GETGet Offices by Pincodes

Just enter the pincode and look for available post offices in that area.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
pincodeSTRING
REQUIREDpincode of the location.
Request Snippet
unirest.get("https://indianpost.p.rapidapi.com/getOffices.php?pincode=110001")
.header("X-RapidAPI-Host", "indianpost.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.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.get("https://indianpost.p.rapidapi.com/getOffices.php?pincode=110001")
.header("X-RapidAPI-Host", "indianpost.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication