Geocode a city name to coordinates
One step with OpenWeatherMap. We can help you get access.
Look something up
Geocode a city name to coordinates
with OpenWeatherMap · Geocoding
Use OpenWeatherMap: its OpenWeatherMap Geocoding API lets you geocode a city name to coordinates in a single step (GET /direct). capabilities.work can help you get signed up and connected.
- How do I get latitude and longitude for a city name?
- Can I limit the number of matching cities returned for a place name?
Say it to your AI assistant
- Geocode the city {q}.
- Find up to {limit} coordinates for {q}.
For your developer
GET /direct in OpenWeatherMap Geocoding API. Full spec on APIs.io.