Global Weather API City Lookup Index
Data Science and Analytics
Tags and Keywords
Trusted By




"No reviews yet"
Free
About
Global city coordinates and geographical metadata facilitate the seamless integration of weather services by providing the necessary identifiers for API invocations. Sourced from the OpenWeatherMap platform, this collection maps city names and countries to specific unique IDs required for accessing diverse weather data, including current conditions, forecasts, nowcasts, and historical records. By offering precise longitude and latitude for locations across the globe, the material supports hyperlocal precipitation forecasting and allows for minute-by-minute updates. Its primary significance lies in its utility as a foundational lookup resource for developers and researchers who need to call specific API endpoints for any given geographical location.
Columns
The material contains 7 specific columns that define the geographical attributes of global locations:
- index: A numerical sequence identifier for each record, spanning from 0 to 209,000.
- place_id: The unique numerical identifier assigned to a place or city by the weather service, used for API endpoint calls.
- place_name: The name of the city or location; "Krajan" is noted as a frequently occurring entry in the list.
- longitude: The horizontal geographic coordinate, ranging from -180 to 180.
- latitude: The vertical geographic coordinate, ranging from -77.7 to 78.8.
- country_name: The full name of the country; Germany and the United States of America are among the most represented nations.
- country_code: The two-letter ISO country code associated with the location, such as "DE" for Germany.
Distribution
The information is delivered in a tabular CSV format within a file named
OpenWeatherMapPlaces.csv, which has a total size of 14.12 MB. The dataset consists of approximately 209,000 valid records across 7 columns. Data integrity is exceptional, with 100% validity across all major fields and zero mismatched or missing entries recorded. The material is provided as a static release with an expected update frequency of Never.Usage
This resource is designed for developers who need to download a list of city IDs to facilitate programmatic calls to weather API services. It is ideal for building applications that require current weather data, precipitation forecasts, or historical climate analysis for specific coordinates. Additionally, it can be used for geographical mapping projects, spatial data analysis, and the development of weather-reliant software that requires a global index of city locations.
Coverage
The scope is global, encompassing approximately 244 unique countries and territories. It features over 157,000 unique place names with coordinates ranging across nearly all habitable latitudes and longitudes. The data provides a thorough snapshot of the cities and locations supported by the service, though specific updates to newer urban developments are not scheduled.
License
CC BY-NC-SA 4.0
Who Can Use It
Software developers and engineers can utilise this data to populate internal databases with the correct place IDs for API integration. Climate researchers and geographers may find it useful for mapping global weather patterns. Furthermore, mobile app developers building weather-related tools can use the coordinates to provide hyperlocal services to their users.
Dataset Name Suggestions
- OpenWeatherMap Global City IDs and Coordinates
- World City Metadata and Geographical Identifiers
- Global Weather API City Lookup Index
Attributes
Original Data Source: Global Weather API City Lookup Index
Loading...
