Supported Places
When calling a weather API endpoint, normally a place/location is provided. The following are the supported place formats that can be passed, normally to the p parameter or used as the :id. All endpoints will allow the following formats, unless specified in the individual endpoint documentation.
Based on the alert zones provided by MeteoAlarm (opens in a new tab).
| Type | Examples |
|---|---|
| Latitude, longitude coordinate Can only be passed via the p parameter | 37.25,-97.25 |
| City, State States/provinces supported for US, Canada & China. If conflicting state/province abbreviations among countries, US is assumed. | seattle,wa, seattle,washington, new+york,ny, new+york,new+york, toronto,on, toronto,ontario, guangzhou,gd, guangzhou,guangdong |
| City, State, Country States/provinces supported for US, Canada & China. | seattle,wa,us, seattle,washington,us, toronto,on,ca, toronto,ontario,ca, toronto,ontario,canada, guangzhou,gd, guangzhou,gd,cn, guangzhou,gd,china, guangzhou,guangdong,china |
| City, Country | paris,fr, paris,france, tokyo,japan |
| Zip/Postal code US and Canada only. | 98109, 55415, M3C 4H9, M3C4H9 |
| ICAO | KMPX, KBFI |
| 3 Char IATA Aiport Codes | MSP, ROA |
| County/Parish | king+county,wa |
| State-country ID | WAC033 |
| FIPS code | fips:53033 |
| NOAA public weather zone | MNZ029, zone:MNZ029 |
| Canadian location code more info (opens in a new tab) | CLC-049930, CLC-099220 |
| European alert zone | zone:FR052 |
| PWS station Precede your station id with PWS_ | PWS_3183437707, PWS_VILLONWMR2 |