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.
coordinate can only be passed via the p parameter (latitude,longitude) |
37.25,-97.25 |
city,state State / Provinces supported for US, Canada & China. If conflicting state / province abbreviations among countries, US is assumed. |
seattle,wa |
city,state,country State / Provinces supported for US, Canada & China |
seattle,wa,us |
city,country | paris,fr |
zip/postal code US and Canada only. |
98109 |
ICAO | KMPX |
3 Char IATA Aiport Codes |
MSP |
county/parish state-county id fips code |
king+county,wa |
NOAA public weather zone | MNZ029 zone:MNZ029 |
Canadian Location Codes more info |
CLC-049930 |
European Alert Zones | zone:FR052 |
PWS Station Precede your station id with PWS_ |
PWS_3183437707 |
User IP API uses the requesting IP address to determine location. Can only be passed via the p parameter |
:auto |
Last modified: January 29, 2021