How to get an address based on the postal code? Which api should I call? I didn't find the answer from google map platform。
Geocoder can't get the detail address
How to get an address based on the postal code? Which api should I call? I didn't find the answer from google map platform。
Geocoder can't get the detail address
Try this API
for fetching address based on pincode.
http://maps.googleapis.com/maps/api/geocode/json?components=postal_code:90210&sensor=false
Like others pointed out, in some cases there is a one to one correspondence between an address and a post code, like in Singapore where you can use geocode.xyz to convert between them: https://geocode.xyz/508260?region=SG
For USA, you need a zip+4 postal code, for example: https://geocoder.ca/10005-1971?geoit=xml
<standard>
<stnumber>4</stnumber>
<staddress>Wall St</staddress>
<city>New York</city>
<prov>NY</prov>
<postal>10005-1971</postal>
<confidence>0.5</confidence>
</standard>