Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
sneha_rudra
Frequent Visitor

API to get city and states from zip codes

Hi,

I have a table with various Zip codes of country India, I have city and state columns but most of them are blank. Now I want an API which could get me a table which has all the Indian Zipcodes and their respective cities and states so that I canhave the full information. I am a beginner in Power Bi and never use APIs before, please help!

 

 

1 ACCEPTED SOLUTION
v-xiaotang
Community Support
Community Support

Hi @sneha_rudra 

Thanks for reaching out to us. 

I find a related post Lookup City and State by Zip Google Geocode Api, the accepted answer in it says you can

"Use the GeoCoding API

For example, to lookup zip 77379 use a request like this:

https://maps.googleapis.com/maps/api/geocode/json?address=77379&sensor=true&key=YOUR_GOOGLE_PLATFORM..."

Link: https://stackoverflow.com/questions/4749706/lookup-city-and-state-by-zip-google-geocode-api

Just take a try.

If you need more help, please let me know.

 

Best Regards,

Community Support Team _Tang

If this post helps, please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-xiaotang
Community Support
Community Support

Hi @sneha_rudra 

Thanks for reaching out to us. 

I find a related post Lookup City and State by Zip Google Geocode Api, the accepted answer in it says you can

"Use the GeoCoding API

For example, to lookup zip 77379 use a request like this:

https://maps.googleapis.com/maps/api/geocode/json?address=77379&sensor=true&key=YOUR_GOOGLE_PLATFORM..."

Link: https://stackoverflow.com/questions/4749706/lookup-city-and-state-by-zip-google-geocode-api

Just take a try.

If you need more help, please let me know.

 

Best Regards,

Community Support Team _Tang

If this post helps, please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.