By this IP-API, we providing following details of given PIN Code:
API Url:
https://apis.ausoftwaresolutions.in/v1/postal/pin-code/
You can use it in various programming languages. API recieves data in JSON format and return as well. So I am giving a sample in PHP Script to use URL info API.
<?php
$CURL = curl_init();
$API_URL = "https://apis.ausoftwaresolutions.in/v1/postal/pin-code/";
$POST = [
"PIN_CODE" => "YOUR / ANY PIN CODE"
"API_KEY" => "Your API Key"
];
$POST = json_encode($POST);
curl_setopt($CURL, CURLOPT_URL, $API_URL);
curl_setopt($CURL, CURLOPT_POST, 1);
curl_setopt($CURL, CURLOPT_POSTFIELDS, $POST);
curl_setopt($CURL, CURLOPT_CUSTOMREQUEST, "POST");
// Receive API response ...
curl_setopt($CURL, CURLOPT_RETURNTRANSFER, true);
$OUTPUT = curl_exec($CURL);
echo $OUTPUT;
curl_close ($CURL);
?>
API request for free use is limited. We provide 150 request free per user for 1 year. We have anothers plans for your convinous. You may choose plans from ourAPI plans for more API uses. You will be provided a API dashboard for check or extend your API Uses.