Zip API USA provides a free way to look up city and state based on zip code. This API also has additional data in regards to population, age and hospital information based on zip code. Hospital data returned includes hospital name, address, phone, geolocation, naics description, website, helipad access, population, number of beds. The population and age data comes from the 2010 Census, while hospital information comes from Homeland Infrastructure Foundation-Level Data (HIFLD).
Developers can use the hospital lookup information to help track the COVID-19 outbreak.
The following is a list of sample source code snippets that matched your search term. Source code snippets are chunks of source code that were found out on the Web that you can cut and paste into your own source code. Whereas most of the sample source code we've curated for our directory is for consuming APIs, we occasionally find something interesting on the API provider side of things. If you know of some sample source code that would be of interest to the ProgrammableWeb community, we'd like to know about it. Be sure to check our guidelines for making contributions to ProgrammableWeb.