Get information about place such as country, city, state, etc
Provides geographical data for places, including country, city, and state information based on zip codes.
import requests
country_code = "us"
zip_code = "90210"
url = f"http://api.zippopotam.us/{country_code}/{zip_code}"
response = requests.get(url)
data = response.json()
print(data)Last 50 checks (10 min intervals)