GetPincode API
GetPincode API allows developers to access pincode data.Request The GetPincode works over HTTP, and requests are made with GET.
To get the pincode for "Delhi" for example, this is the Request URL. Make sure to escape the query for best results.
http://www.getpincode.info/api/pincode?q=delhi
Response
The API returns the values in JSON format. {"query":"Delhi","pincode":"110001"}
If the address is not found (or cannot be retrieved for some reason), an error message is returned. {"query":"Delhi","pincode":"","error":"Not found"}
Sample PHP Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
|
Terms of use You are free to use the API for commercial or non-commercial purposes.
No comments:
Post a Comment