Turn a postal code or a city name into a real, carrier-usable location.
You need this if you build an address form. Autofilling the city and state from a postal code is the cheapest way to stop a parcel going to the wrong place — and a bad address is the most common incidence there is.
Two ways in: by postal code, which is the normal case; or by city name, for the countries where the postal code is not what routes the parcel.
This host answers differently from the others. No match is an empty array with a 200, not an error — a client that only checks the HTTP status will read "we could not find it" as success. Check the array.
What each country requires in an address is a separate question: see Get address requirements by country.