# Getting a 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)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://lfgberg.gitbook.io/rainmeter/weather/getting-a-city-id.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
