City search by country code and administrative code
Provide a country code, administrative code, and city name to search for a specific city.
path Parameters
query Parameters
qA string that indicates a city name to search by.
languageA string that indicates the language in which to return the response. More information can be found here.
detailsA boolean value that specifies whether or not to include extended information.
formatA string value that specifies what type of format to provide the response.
offsetA numerical value representing the first result to return. Results will be returned in sets of 25. Offset=0 will return the first 25 results, Offset=1 will return the second 25 results, etc.
aliasA numerical value indicating the mode of alias searching (0=Always, 1=Never, 2=No Official Match). No official match indicates an alias could be returned if no official location could be found.
Headers
AuthorizationThe Authorization header is used to authenticate using your API key. Format is Bearer YOUR_API_KEY.
City search by country code and administrative code › Responses
OK
PrimaryPostalCodeOfficial postal code provided by our main location data provider for the requested location
IsAlias“True” or “false” verification of whether a location is an “alias” or an alternative name or spelling for a requested location
The object containing a list of administrative area details
DataSetsArray of location-specific products that are available for this location. Products include Alerts, PremiumAirQuality, AirQuality, MinuteCast, and ForecastConfidence. If no location-specific products are available, the array will be empty.
EnglishNameLocation name as displayed in English
VersionCurrent version of the API
KeyUnique ID to search a location
TypeLocation type such as City, PostalCode, POI or LatLong
RankNumber applied to locations set by factors such as population, political importance, and geographic size
LocalizedNameDisplay name in local dialect set with language code in URL. Default is US English (us-en)
City search by country code
Provide a country code and city name to return location data
path Parameters
countryCodeA unique ISO or Microsoft Localization Code for a specific country. More information can be found here.
query Parameters
qA string that indicates a city name to search by.
languageA string that indicates the language in which to return the response. More information can be found here.
detailsA boolean value that specifies whether or not to include extended information.
formatA string value that specifies what type of format to provide the response.
offsetA numerical value representing the first result to return. Results will be returned in sets of 25. Offset=0 will return the first 25 results, Offset=1 will return the second 25 results, etc.
adminCodeA unique ID that designates a specific administrative area. More information can be found here.
aliasA numerical value indicating the mode of alias searching (0=Always, 1=Never, 2=No Official Match). No official match indicates an alias could be returned if no official location could be found.
Headers
AuthorizationThe Authorization header is used to authenticate using your API key. Format is Bearer YOUR_API_KEY.
City search by country code › Responses
OK
PrimaryPostalCodeOfficial postal code provided by our main location data provider for the requested location
IsAlias“True” or “false” verification of whether a location is an “alias” or an alternative name or spelling for a requested location
The object containing a list of administrative area details
DataSetsArray of location-specific products that are available for this location. Products include Alerts, PremiumAirQuality, AirQuality, MinuteCast, and ForecastConfidence. If no location-specific products are available, the array will be empty.
EnglishNameLocation name as displayed in English
VersionCurrent version of the API
KeyUnique ID to search a location
TypeLocation type such as City, PostalCode, POI or LatLong
RankNumber applied to locations set by factors such as population, political importance, and geographic size
LocalizedNameDisplay name in local dialect set with language code in URL. Default is US English (us-en)
City search
Provide a city name to return location data.
query Parameters
qA string that indicates a city name to search by.
languageA string that indicates the language in which to return the response. More information can be found here.
detailsA boolean value that specifies whether or not to include extended information.
formatA string value that specifies what type of format to provide the response.
offsetA numerical value representing the first result to return. Results will be returned in sets of 25. Offset=0 will return the first 25 results, Offset=1 will return the second 25 results, etc.
countryCodeA unique ISO or Microsoft Localization Code for a specific country. More information can be found here.
adminCodeA unique ID that designates a specific administrative area. More information can be found here.
aliasA numerical value indicating the mode of alias searching (0=Always, 1=Never, 2=No Official Match). No official match indicates an alias could be returned if no official location could be found.
Headers
AuthorizationThe Authorization header is used to authenticate using your API key. Format is Bearer YOUR_API_KEY.
City search › Responses
OK
PrimaryPostalCodeOfficial postal code provided by our main location data provider for the requested location
IsAlias“True” or “false” verification of whether a location is an “alias” or an alternative name or spelling for a requested location
The object containing a list of administrative area details
DataSetsArray of location-specific products that are available for this location. Products include Alerts, PremiumAirQuality, AirQuality, MinuteCast, and ForecastConfidence. If no location-specific products are available, the array will be empty.
EnglishNameLocation name as displayed in English
VersionCurrent version of the API
KeyUnique ID to search a location
TypeLocation type such as City, PostalCode, POI or LatLong
RankNumber applied to locations set by factors such as population, political importance, and geographic size
LocalizedNameDisplay name in local dialect set with language code in URL. Default is US English (us-en)
Location search by country code and administrative code
Filter by country code and administrative code to return location data for a city, postal code or point of interest
path Parameters
query Parameters
qA string that indicates a city name or point of interest to search by.
languageA string that indicates the language in which to return the response. More information can be found here.
detailsA boolean value that specifies whether or not to include extended information.
formatA string value that specifies what type of format to provide the response.
offsetA numerical value representing the first result to return. Results will be returned in sets of 25. Offset=0 will return the first 25 results, Offset=1 will return the second 25 results, etc.
aliasA numerical value indicating the mode of alias searching (0=Always, 1=Never, 2=No Official Match). No official match indicates an alias could be returned if no official location could be found.
Headers
AuthorizationThe Authorization header is used to authenticate using your API key. Format is Bearer YOUR_API_KEY.
Location search by country code and administrative code › Responses
OK
PrimaryPostalCodeOfficial postal code provided by our main location data provider for the requested location
IsAlias“True” or “false” verification of whether a location is an “alias” or an alternative name or spelling for a requested location
The object containing a list of administrative area details
DataSetsArray of location-specific products that are available for this location. Products include Alerts, PremiumAirQuality, AirQuality, MinuteCast, and ForecastConfidence. If no location-specific products are available, the array will be empty.
EnglishNameLocation name as displayed in English
VersionCurrent version of the API
KeyUnique ID to search a location
TypeLocation type such as City, PostalCode, POI or LatLong
RankNumber applied to locations set by factors such as population, political importance, and geographic size
LocalizedNameDisplay name in local dialect set with language code in URL. Default is US English (us-en)
Location search by country code
Filter by country code to return location data for a city, postal code or point of interest
path Parameters
countryCodeA unique ISO or Microsoft Localization Code for a specific country. More information can be found here.
query Parameters
qA string that indicates a city name or point of interest to search by.
languageA string that indicates the language in which to return the response. More information can be found here.
detailsA boolean value that specifies whether or not to include extended information.
formatA string value that specifies what type of format to provide the response.
offsetA numerical value representing the first result to return. Results will be returned in sets of 25. Offset=0 will return the first 25 results, Offset=1 will return the second 25 results, etc.
adminCodeA unique ID that designates a specific administrative area. More information can be found here.
aliasA numerical value indicating the mode of alias searching (0=Always, 1=Never, 2=No Official Match). No official match indicates an alias could be returned if no official location could be found.
Headers
AuthorizationThe Authorization header is used to authenticate using your API key. Format is Bearer YOUR_API_KEY.
Location search by country code › Responses
OK
PrimaryPostalCodeOfficial postal code provided by our main location data provider for the requested location
IsAlias“True” or “false” verification of whether a location is an “alias” or an alternative name or spelling for a requested location
The object containing a list of administrative area details
DataSetsArray of location-specific products that are available for this location. Products include Alerts, PremiumAirQuality, AirQuality, MinuteCast, and ForecastConfidence. If no location-specific products are available, the array will be empty.
EnglishNameLocation name as displayed in English
VersionCurrent version of the API
KeyUnique ID to search a location
TypeLocation type such as City, PostalCode, POI or LatLong
RankNumber applied to locations set by factors such as population, political importance, and geographic size
LocalizedNameDisplay name in local dialect set with language code in URL. Default is US English (us-en)
Location search
Specify a city name, postal code or point of interest to return location data.
query Parameters
qA string that indicates a city name or point of interest to search by.
languageA string that indicates the language in which to return the response. More information can be found here.
detailsA boolean value that specifies whether or not to include extended information.
formatA string value that specifies what type of format to provide the response.
offsetA numerical value representing the first result to return. Results will be returned in sets of 25. Offset=0 will return the first 25 results, Offset=1 will return the second 25 results, etc.
countryCodeA unique ISO or Microsoft Localization Code for a specific country. More information can be found here.
adminCodeA unique ID that designates a specific administrative area. More information can be found here.
aliasA numerical value indicating the mode of alias searching (0=Always, 1=Never, 2=No Official Match). No official match indicates an alias could be returned if no official location could be found.
Headers
AuthorizationThe Authorization header is used to authenticate using your API key. Format is Bearer YOUR_API_KEY.
Location search › Responses
OK
PrimaryPostalCodeOfficial postal code provided by our main location data provider for the requested location
IsAlias“True” or “false” verification of whether a location is an “alias” or an alternative name or spelling for a requested location
The object containing a list of administrative area details
DataSetsArray of location-specific products that are available for this location. Products include Alerts, PremiumAirQuality, AirQuality, MinuteCast, and ForecastConfidence. If no location-specific products are available, the array will be empty.
EnglishNameLocation name as displayed in English
VersionCurrent version of the API
KeyUnique ID to search a location
TypeLocation type such as City, PostalCode, POI or LatLong
RankNumber applied to locations set by factors such as population, political importance, and geographic size
LocalizedNameDisplay name in local dialect set with language code in URL. Default is US English (us-en)
Postal code search by country code
Provide a country code and a postal code to search for a specific location.
path Parameters
countryCodeA unique ISO or Microsoft Localization Code for a specific country. More information can be found here.
query Parameters
qA string that indicates a postal code to search by.
languageA string that indicates the language in which to return the response. More information can be found here.
detailsA boolean value that specifies whether or not to include extended information.
formatA string value that specifies what type of format to provide the response.
Headers
AuthorizationThe Authorization header is used to authenticate using your API key. Format is Bearer YOUR_API_KEY.
Postal code search by country code › Responses
OK
PrimaryPostalCodeOfficial postal code provided by our main location data provider for the requested location
IsAlias“True” or “false” verification of whether a location is an “alias” or an alternative name or spelling for a requested location
The object containing a list of administrative area details
DataSetsArray of location-specific products that are available for this location. Products include Alerts, PremiumAirQuality, AirQuality, MinuteCast, and ForecastConfidence. If no location-specific products are available, the array will be empty.
EnglishNameLocation name as displayed in English
VersionCurrent version of the API
KeyUnique ID to search a location
TypeLocation type such as City, PostalCode, POI or LatLong
RankNumber applied to locations set by factors such as population, political importance, and geographic size
LocalizedNameDisplay name in local dialect set with language code in URL. Default is US English (us-en)
Postal code search
Specify a postal code to search for a specific location.
query Parameters
qA string that indicates a postal code to search by.
countryCodeA unique ISO or Microsoft Localization Code for a specific country. More information can be found here.
languageA string that indicates the language in which to return the response. More information can be found here.
detailsA boolean value that specifies whether or not to include extended information.
formatA string value that specifies what type of format to provide the response.
Headers
AuthorizationThe Authorization header is used to authenticate using your API key. Format is Bearer YOUR_API_KEY.
Postal code search › Responses
OK
PrimaryPostalCodeOfficial postal code provided by our main location data provider for the requested location
IsAlias“True” or “false” verification of whether a location is an “alias” or an alternative name or spelling for a requested location
The object containing a list of administrative area details
DataSetsArray of location-specific products that are available for this location. Products include Alerts, PremiumAirQuality, AirQuality, MinuteCast, and ForecastConfidence. If no location-specific products are available, the array will be empty.
EnglishNameLocation name as displayed in English
VersionCurrent version of the API
KeyUnique ID to search a location
TypeLocation type such as City, PostalCode, POI or LatLong
RankNumber applied to locations set by factors such as population, political importance, and geographic size
LocalizedNameDisplay name in local dialect set with language code in URL. Default is US English (us-en)
Point of interest by country code and administrative code
Filter by country code and administrative code to return location data for a point of interest.
A point of interest (POI) typically refers to a business location, tourist attraction, or other well-known site. Common examples include:
- Airports
- Stadiums
- Parks
path Parameters
query Parameters
qA string that indicates a point of interest to search by.
typeA string that indicates the type of POIs to include.
languageA string that indicates the language in which to return the response. More information can be found here.
detailsA boolean value that specifies whether or not to include extended information.
formatA string value that specifies what type of format to provide the response.
allLanguagesA boolean value that specifies whether or not to search translated locations.
Headers
AuthorizationThe Authorization header is used to authenticate using your API key. Format is Bearer YOUR_API_KEY.
Point of interest by country code and administrative code › Responses
OK
PrimaryPostalCodeOfficial postal code provided by our main location data provider for the requested location
IsAlias“True” or “false” verification of whether a location is an “alias” or an alternative name or spelling for a requested location
The object containing a list of administrative area details
DataSetsArray of location-specific products that are available for this location. Products include Alerts, PremiumAirQuality, AirQuality, MinuteCast, and ForecastConfidence. If no location-specific products are available, the array will be empty.
EnglishNameLocation name as displayed in English
VersionCurrent version of the API
KeyUnique ID to search a location
TypeLocation type such as City, PostalCode, POI or LatLong
RankNumber applied to locations set by factors such as population, political importance, and geographic size
LocalizedNameDisplay name in local dialect set with language code in URL. Default is US English (us-en)
Point of interest by country code
Filter by country code to return location data for a point of interest.
A point of interest (POI) typically refers to a business location, tourist attraction, or other well-known site. Common examples include:
- Airports
- Stadiums
- Parks
path Parameters
countryCodeA unique ISO or Microsoft Localization Code for a specific country. More information can be found here.
query Parameters
qA string that indicates a point of interest to search by.
adminCodeA unique ID that designates a specific administrative area. More information can be found here.
typeA string that indicates the type of POIs to include.
languageA string that indicates the language in which to return the response. More information can be found here.
detailsA boolean value that specifies whether or not to include extended information.
formatA string value that specifies what type of format to provide the response.
allLanguagesA boolean value that specifies whether or not to search translated locations.
Headers
AuthorizationThe Authorization header is used to authenticate using your API key. Format is Bearer YOUR_API_KEY.
Point of interest by country code › Responses
OK
PrimaryPostalCodeOfficial postal code provided by our main location data provider for the requested location
IsAlias“True” or “false” verification of whether a location is an “alias” or an alternative name or spelling for a requested location
The object containing a list of administrative area details
DataSetsArray of location-specific products that are available for this location. Products include Alerts, PremiumAirQuality, AirQuality, MinuteCast, and ForecastConfidence. If no location-specific products are available, the array will be empty.
EnglishNameLocation name as displayed in English
VersionCurrent version of the API
KeyUnique ID to search a location
TypeLocation type such as City, PostalCode, POI or LatLong
RankNumber applied to locations set by factors such as population, political importance, and geographic size
LocalizedNameDisplay name in local dialect set with language code in URL. Default is US English (us-en)
Point of interest search
Specify a point of interest to return location data.
A point of interest (POI) typically refers to a business location, tourist attraction, or other well-known site. Common examples include:
- Airports
- Stadiums
- Parks
query Parameters
qA string that indicates a point of interest to search by.
countryCodeA unique ISO or Microsoft Localization Code for a specific country. More information can be found here.
adminCodeA unique ID that designates a specific administrative area. More information can be found here.
typeA string that indicates the type of POIs to include.
languageA string that indicates the language in which to return the response. More information can be found here.
detailsA boolean value that specifies whether or not to include extended information.
formatA string value that specifies what type of format to provide the response.
allLanguagesA boolean value that specifies whether or not to search translated locations.
Headers
AuthorizationThe Authorization header is used to authenticate using your API key. Format is Bearer YOUR_API_KEY.
Point of interest search › Responses
OK
PrimaryPostalCodeOfficial postal code provided by our main location data provider for the requested location
IsAlias“True” or “false” verification of whether a location is an “alias” or an alternative name or spelling for a requested location
The object containing a list of administrative area details
DataSetsArray of location-specific products that are available for this location. Products include Alerts, PremiumAirQuality, AirQuality, MinuteCast, and ForecastConfidence. If no location-specific products are available, the array will be empty.
EnglishNameLocation name as displayed in English
VersionCurrent version of the API
KeyUnique ID to search a location
TypeLocation type such as City, PostalCode, POI or LatLong
RankNumber applied to locations set by factors such as population, political importance, and geographic size
LocalizedNameDisplay name in local dialect set with language code in URL. Default is US English (us-en)
Region search
Returns data about a specific region
path Parameters
regionCodeA unique ID that designates a specific region. More information can be found here.
query Parameters
languageA string that indicates the language in which to return the response. More information can be found here.
formatA string value that specifies what type of format to provide the response.
Headers
AuthorizationThe Authorization header is used to authenticate using your API key. Format is Bearer YOUR_API_KEY.
Region search › Responses
OK
IDUnique administrative area ID
LocalizedNameAdministrative area name as displayed in local dialect set with language code in the URL. If no language code is selected, the default is English
EnglishNameAdministrative area name displayed in English
Administrative area search by country code and text string
Search by country code and text string to return basic information about administrative areas. Use the q parameter to search for any administrative name.
path Parameters
countryCodeA unique ISO or Microsoft Localization Code for a specific country. More information can be found here.
query Parameters
qA string that indicates a free-form query to search.
adminCodeA unique ID that designates a specific administrative area. More information can be found here.
languageA string that indicates the language in which to return the response. More information can be found here.
offsetA numerical value representing the first result to return. Results will be returned in sets of 25. Offset=0 will return the first 25 results, Offset=1 will return the second 25 results, etc.
formatA string value that specifies what type of format to provide the response.
Headers
AuthorizationThe Authorization header is used to authenticate using your API key. Format is Bearer YOUR_API_KEY.
Administrative area search by country code and text string › Responses
OK
LevelAn assigned number to describe the scale of the administrative subdivisions for countries. As the Level number increases, the scale of the subdivision will decrease. Numbers of 10 or greater are reserved for non-political boundaries and should be used independently
CountryIDUnique ISO or Microsoft Localization Code for the country that contains the AdministrativeArea.
IDUnique administrative area ID
LocalizedNameAdministrative area name as displayed in local dialect set with language code in the URL. If no language code is selected, the default is English
EnglishNameAdministrative area name displayed in English
LocalizedTypeAdministrative Area type displayed in the local dialect set with the language code in the URL. Default is US English (en-us).
EnglishTypeAdministrative Area type displayed in English.
Administrative area search by text string
Search by text string to return basic information about an administrative area. Use the q parameter to search for any administrative name.
query Parameters
qA string that indicates a free-form query to search.
countryCodeA unique ISO or Microsoft Localization Code for a specific country. More information can be found here.
adminCodeA unique ID that designates a specific administrative area. More information can be found here.
languageA string that indicates the language in which to return the response. More information can be found here.
offsetA numerical value representing the first result to return. Results will be returned in sets of 25. Offset=0 will return the first 25 results, Offset=1 will return the second 25 results, etc.
formatA string value that specifies what type of format to provide the response.
Headers
AuthorizationThe Authorization header is used to authenticate using your API key. Format is Bearer YOUR_API_KEY.
Administrative area search by text string › Responses
OK
LevelAn assigned number to describe the scale of the administrative subdivisions for countries. As the Level number increases, the scale of the subdivision will decrease. Numbers of 10 or greater are reserved for non-political boundaries and should be used independently
CountryIDUnique ISO or Microsoft Localization Code for the country that contains the AdministrativeArea.
IDUnique administrative area ID
LocalizedNameAdministrative area name as displayed in local dialect set with language code in the URL. If no language code is selected, the default is English
EnglishNameAdministrative area name displayed in English
LocalizedTypeAdministrative Area type displayed in the local dialect set with the language code in the URL. Default is US English (en-us).
EnglishTypeAdministrative Area type displayed in English.
Administrative area search by country code and administrative area code
Search by country code and administrative code to return basic information about administrative areas.
path Parameters
query Parameters
languageA string that indicates the language in which to return the response. More information can be found here.
formatA string value that specifies what type of format to provide the response.
Headers
AuthorizationThe Authorization header is used to authenticate using your API key. Format is Bearer YOUR_API_KEY.
Administrative area search by country code and administrative area code › Responses
OK
LevelAn assigned number to describe the scale of the administrative subdivisions for countries. As the Level number increases, the scale of the subdivision will decrease. Numbers of 10 or greater are reserved for non-political boundaries and should be used independently
CountryIDUnique ISO or Microsoft Localization Code for the country that contains the AdministrativeArea.
IDUnique administrative area ID
LocalizedNameAdministrative area name as displayed in local dialect set with language code in the URL. If no language code is selected, the default is English
EnglishNameAdministrative area name displayed in English
LocalizedTypeAdministrative Area type displayed in the local dialect set with the language code in the URL. Default is US English (en-us).
EnglishTypeAdministrative Area type displayed in English.