> For the complete documentation index, see [llms.txt](https://lfgberg.gitbook.io/rainmeter/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://lfgberg.gitbook.io/rainmeter/weather/getting-a-city-id.md).

# Getting a City ID

In order to get weather data for your city, you need to get the City ID.

* Start by going to [OpenWeather](https://openweathermap.org/) and searching for your city (I'll be using New York for an example)
* Once on your cities page, look at the address bar and note the number at the end

![This is your city ID](https://849448491-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M8J0Nx0l2gfeY-P6v1o%2F-M8J6FGZoEtPmb1VBk6t%2F-M8J9r9l_8_fPQ4AHXkM%2FScreenshot_1.png?alt=media\&token=27d9bf4f-16b1-4064-b63c-1e6c10689059)
