Locations

General information

AccuWeather's APIs use location codes to identify precise geographical regions when querying various types of data. Use AccuWeather's Locations API to return world-wide location codes for cities, postal codes, and points of interest.

Search for a location via latitude and longitude coordinates using any geoposition endpoint. Perform geoposition searches using the WGS-84 coordinate system.

Data is available in more than 200 languages and dialects.

By default, specific details about the location such as designated market area, station code, and population are not returned. Add details=true to the URL to return extended information about the location.

Cities

City searches include more than 3.5 million locations, including 1.7 million verified locations. Many cities have alternate names, or aliases, defined to provide flexibility when searching for a particular location. Aliases are used to account for common alternate spellings (such as Saint Louis, St. Louis, or St Louis), historical names (Ho Chi Minh City, Saigon), and accepted alternate names (Derry, Londonderry).

  • Only verified locations will be used in GeoLookup and AutoComplete searches.
  • Only verified locations will be supported for localizations (translations).
  • City searches will always be returned in order of rank, with the most important cities listed at the top.

Postal codes

One postal code can point to many locations. Use a location key to get back to a specific postal code.

In many cases, the name for a particular postal code is derived from the location of the post office responsible for that postal code. These names often differ from the cities located in that same area.

Since postal codes can cover a large area, derived data is mapped based on what best represents the whole area of the postal code.

Verified postal code searching is available for the following countries, with the root level of the code in red.

  • Canada - Follows the format A0A 0A0. All lookups are based on the Forward Sortation Areas, or FSA, part of the postal code.
  • Germany - Follows the format 00000. Many of the postal code names are available in German as well as English.
  • United Kingdom - Follows the format A0 0AA, A00 0AA, AA0 0AA, AA00 0AA, A0A 0AA, or AA0A 0AA. All lookups are based on the Postcode Sector. The UK Postal Code system also includes support for the following areas: Guernsey, Isle of Man, and Jersey.
  • United States - Follows the format 00000. The US Postal Code system also includes support for the following areas: American Samoa, Federated States of Micronesia, Guam, Marshall Islands, Northern Mariana Islands, Palau, Puerto Rico, and the US Virgin Islands.

Unverified postal code search is available for the countries listed below.

CountryCountry CodePostal Code Format
AndorraADAD000
ArgentinaAR0000
AustraliaAU0000
AustriaAT0000
BelgiumBE0000
BrazilBR00000
BulgariaBG0000
CroatiaHR00000
Czech RepublicCZ000 00
DenmarkDK0000
FinlandFI00000
FranceFR00000
GuatemalaGT00000
HungaryHU0000
IndiaIN000000
ItalyIT00000
LuxembourgLU0000
MexicoMX00000
MoldovaMD0000
NetherlandsNL0000
New ZealandNZ0000
NorwayNO0000
PolandPL00-000
RussiaRU000000
SlovakiaSK000 00
SloveniaSI0000
SpainES00000
SwedenSE000 00
SwitzerlandCH0000

Points of interest

A point of interest (POI) is frequently used to refer to a business location, tourist location, or other well-known site. Common examples of POIs available are airports, stadiums, and parks.

More than 50,000 searchable worldwide POIs. More than 12,000 airports, including the ability to search by airport codes (FAA, ICAO, or IATA). A search autocomplete feature is available. POI data is primarily focused on the US, with plans to expand to other countries in the near future, including support for localized names.

Supported POI types are listed below.

POI Type IDPOI Type
1Amusement Park
2Aquarium
3Art
4Balloon
5Stadium
6Botanical
7Brewery
8Winery
9Vineyard
10Distillery
11Building
12Casino
13Driving Range
14Embassy
15Observatory
16Performing Arts
17Planetarium
18Resort
19Shopping
20Zoo
21Tennis
22Sports
23Racing
24Polo
25Ski
26Camp
27County Park
28National Park
29Nature Preserve
30State Park
31Waterfall
32Bridge
33Historic
34Monument/ Statue
35Museum
36State Capitol
37Random
38Airports
39Olympics

Time zones

Time zone information is returned with location information for all forecast points in the Locations API. Time zone information for any lat/lon, including marine areas and areas with no forecast points, is available through a separate time zone query.

Last modified on