Azure Maps Search Service (stable:1.0)

2025/11/20 • 10 updated methods

Search_GetSearchFuzzy (updated)
Description The `Get Search Fuzzy` (**Free Form Search**) API, an HTTP `GET` request that seamlessly handles a combination of [POI search](/rest/api/maps/search/get-search-poi?view=rest-maps-1.0) and [geocoding](/rest/api/maps/search/get-search-address?view=rest-maps-1.0). It is a Free Form Search API which handles fuzzy of inputs containing any combination of address or POI tokens as a canonical 'single line search'. It can also be weighted with a contextual position (lat/lon pair), or fully constrained by a coordinate and radius, or it can be executed more generally without any geo biasing anchor point.

We strongly advise you to use the 'countrySet' parameter to specify only the countries/regions for which your application needs coverage, as the default behavior will be to search the entire world, potentially returning unnecessary results.

E.g.: `countrySet`=US,FR

Please see [Search Coverage](/azure/location-based-services/geocoding-coverage) for a complete list of all the supported countries/regions.

Most Search queries default to `maxFuzzyLevel`=2 to gain performance and also reduce unusual results. This new default can be overridden as needed per request by passing in the query param `maxFuzzyLevel`=3 or 4.
Reference Link ¶

⚶ Changes

{
  "#id": "Search_GetSearchFuzzy",
  "$responses": {
    "200": {
      "$properties": {
        "results": {
          "$properties": [
            {
              "#name": "address",
              "Description": {
                "new": "The address of the result.",
                "old": "The address of the result"
              },
              "$properties": [
                {
                  "#name": "buildingNumber",
                  "Description": {
                    "new": "The building number on the street.\n\n**Important**: This property is *deprecated*. Use `streetNumber` instead.",
                    "old": "The building number on the street.\n**Important**: This property is *deprecated*. Use `streetNumber` instead."
                  }
                },
                {
                  "#name": "street",
                  "Description": {
                    "new": "The street name.\n\n**Important**: This property is *deprecated*. Use `streetName` instead.",
                    "old": "The street name.\n**Important**: This property is *deprecated*. Use `streetName` instead."
                  }
                },
                {
                  "#name": "crossStreet",
                  "Description": {
                    "new": "The name of the street being crossed.\n\nThis property is only available in the `Get Search Address Reverse Cross Street` API.",
                    "old": "The name of the street being crossed."
                  }
                },
                {
                  "#name": "streetNumber",
                  "Description": {
                    "new": "The building number on the street.\n\nNot available in the `Get Search Address Reverse Cross Street` API.",
                    "old": "The building number on the street."
                  }
                },
                {
                  "#name": "routeNumbers",
                  "Description": {
                    "new": "The codes used to unambiguously identify the street.\n\nOnly available for the Search Address Reverse APIs.",
                    "old": "The codes used to unambiguously identify the street"
                  }
                },
                {
                  "#name": "streetNameAndNumber",
                  "Description": {
                    "new": "The street name and number.\n\nOnly available for the Search Address Reverse APIs.",
                    "old": "The street name and number.\nOnly available for the Search Address Reverse APIs."
                  }
                },
                {
                  "#name": "municipality",
                  "Description": {
                    "new": "City / Town 
Note: `municipality` represents the residential municipality. Depending on the location, the `municipality` value may differ from the commonly known name of a city or town. For the commonly known name of the city or town, it's suggested that the `localName` value be used instead of the `municipality` value.", "old": "City / Town
Note: `municipality` represents the residential municipality. Depending on the location, the `municipality` value may differ from the commonly known name of a city or town. For the commonly known name of the city or town, it\u2019s suggested that the `localName` value be used instead of the `municipality` value." } }, { "#name": "countrySubdivision", "Description": { "new": "The primary administrative division within a country, such as a state, province. It is used to represent the first-level subdivision below the national level.", "old": "State or Province" } }, { "#name": "countrySecondarySubdivision", "Description": { "new": "The second-level administrative division within a country/region. It identifies a subdivision that is below the primary subdivision, such as state or province, but above smaller units like municipalities or neighborhoods. Examples include *County* in the United States and *District* in the United Kingdom.", "old": "County" } }, { "#name": "countryTertiarySubdivision", "Description": { "new": "The third-level administrative division within a country/region. It provides even finer granularity than the secondary subdivision (such as county or district). Examples include municipalities such as a city, town, village, borough, or township and neighborhoods a smaller, informal geographic area within a municipality such as Capitol Hill, Green Lake, and Wallingford in Seattle.", "old": "Named Area" } }, { "#name": "municipalitySubdivision", "Description": { "new": "A subdivision within a municipality. It represents a smaller administrative or geographic unit inside a city, town, or other municipal entity.", "old": "Sub / Super City" } }, { "#name": "countrySubdivisionName", "Description": { "new": "Represents the full name of the first-level administrative division (such as state, province, or region) within a country or region. This property is included only when the `countrySubdivision` value is provided in abbreviated form. Currently supported for the United States, Canada, and the United Kingdom.", "old": "The full name of a first level of country/region administrative hierarchy. This field appears only in case countrySubdivision is presented in an abbreviated form. Only supported for USA, Canada, and United Kingdom." } }, { "#name": "countrySubdivisionCode", "Description": { "new": "`countrySubdivisionCode` prefixed by `countryCode` ( countryCode-countrySubdivisionCode ) and the hyphen forms the ISO 3166-2 code. Examples: TX for Texas, SCT for Scotland and ON for Ontario.\n\nThis property is not available in the `Get Search Nearby` and `Get Search POI` API.", "old": "`countrySubdivisionCode` prefixed by `countryCode` ( countryCode-countrySubdivisionCode ) and the hyphen forms the ISO 3166-2 code. Examples: TX for Texas, SCT for Scotland and ON for Ontario." } }, { "#name": "postalCode", "Description": { "new": "A series of numbers or letters (or both) added to an address to help identify a specific geographic area. A ZIP Code is the U.S. version of a postal code, other countries/regions use other formats such as Postcode, PIN Code and PLZ.", "old": "Postal Code / Zip Code" } }, { "#name": "extendedPostalCode", "Description": { "new": "An extended postal code refers to a postal code format that goes beyond the standard set of digits to provide greater location precision. It is commonly used in systems like the U.S. ZIP+4 code or similar extended formats in other countries/regions. Availability is dependent on the region.\n\nNot available in the `Get Search Address Reverse Cross Street` API.", "old": "Extended postal code (availability is dependent on the region)." } }, { "#name": "country", "Description": { "new": "The country/region name.", "old": "country/region name" } }, { "#name": "countryCode", "Description": { "new": "A two-letter alphabetic code defined by the ISO 3166-1 Alpha-2 standard to represent a country/region and dependent territories.", "old": "Country (Note: This is a two-letter code, not a country/region name.)" } }, { "#name": "countryCodeISO3", "Description": { "new": "A three-letter alphabetic code defined by the ISO 3166-1 Alpha-3 standard to represent a country/region and dependent territories.", "old": "ISO alpha-3 country code" } }, { "#name": "freeformAddress", "Description": { "new": "An address line formatted according to the formatting rules of a result's country/region of origin, or in the case of a country/region, its full country/region name.", "old": "An address line formatted according to the formatting rules of a Result's country/region of origin, or in the case of a country/region, its full country/region name." } } ] } ] } } } } }

⚼ Request

GET:  /search/fuzzy/{format}
{
x-ms-client-id: string ,
api-version: string ,
format: string ,
query: string ,
typeahead: boolean ,
limit: integer ,
ofs: integer ,
categorySet: array ,
countrySet: array ,
lat: number ,
lon: number ,
radius: integer ,
topLeft: string ,
btmRight: string ,
language: string ,
extendedPostalCodesFor: array ,
minFuzzyLevel: integer ,
maxFuzzyLevel: integer ,
idxSet: array ,
brandSet: array ,
connectorSet: array ,
entityType: string ,
view: string ,
openingHours: string ,
}

⚐ Response (200)

{
summary:
{
query: string ,
queryType: enum ,
queryTime: integer ,
numResults: integer ,
limit: integer ,
offset: integer ,
totalResults: integer ,
fuzzyLevel: integer ,
geoBias:
{
lat: number ,
lon: number ,
}
,
}
,
results:
[
{
type: enum ,
id: string ,
score: number ,
dist: number ,
info: string ,
entityType: enum ,
poi:
{
name: string ,
phone: string ,
url: string ,
categorySet:
[
{
id: integer ,
}
,
]
,
categories:
[
string ,
]
,
classifications:
[
{
code: string ,
names:
[
{
nameLocale: string ,
name: string ,
}
,
]
,
}
,
]
,
brands:
[
{
name: string ,
}
,
]
,
openingHours:
{
mode: string ,
timeRanges:
[
{
startTime:
{
date: string ,
hour: integer ,
minute: integer ,
}
,
endTime:
{
date: string ,
hour: integer ,
minute: integer ,
}
,
}
,
]
,
}
,
}
,
address:
{
buildingNumber: string ,
street: string ,
crossStreet: string ,
streetNumber: string ,
routeNumbers:
[
string ,
]
,
streetName: string ,
streetNameAndNumber: string ,
neighbourhood: string ,
municipality: string ,
countrySubdivision: string ,
countrySecondarySubdivision: string ,
countryTertiarySubdivision: string ,
municipalitySubdivision: string ,
countrySubdivisionName: string ,
countrySubdivisionCode: string ,
postalCode: string ,
extendedPostalCode: string ,
country: string ,
countryCode: string ,
countryCodeISO3: string ,
freeformAddress: string ,
localName: string ,
boundingBox:
{
northEast: string ,
southWest: string ,
entity: enum ,
}
,
}
,
position:
{
lat: number ,
lon: number ,
}
,
viewport:
{
topLeftPoint:
{
lat: number ,
lon: number ,
}
,
btmRightPoint:
{
lat: number ,
lon: number ,
}
,
}
,
entryPoints:
[
{
type: enum ,
position:
{
lat: number ,
lon: number ,
}
,
}
,
]
,
addressRanges:
{
rangeLeft: string ,
rangeRight: string ,
from:
{
lat: number ,
lon: number ,
}
,
to:
{
lat: number ,
lon: number ,
}
,
}
,
dataSources:
{
geometry:
{
id: string ,
}
,
}
,
matchType: enum ,
detourTime: integer ,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Search_GetSearchPOI (updated)
Description The `Points of Interest (POI) Search` API is an HTTP `GET` request that allows you to request POI results by name. It also supports additional query parameters such as language and filtering results by area of interest driven by country/region or bounding box. The Endpoint will return only POI results matching the query string. Response includes POI details such as address, coordinate location and category.
Reference Link ¶

⚶ Changes

{
  "#id": "Search_GetSearchPOI",
  "$responses": {
    "200": {
      "$properties": {
        "results": {
          "$properties": [
            {
              "#name": "address",
              "Description": {
                "new": "The address of the result.",
                "old": "The address of the result"
              },
              "$properties": [
                {
                  "#name": "buildingNumber",
                  "Description": {
                    "new": "The building number on the street.\n\n**Important**: This property is *deprecated*. Use `streetNumber` instead.",
                    "old": "The building number on the street.\n**Important**: This property is *deprecated*. Use `streetNumber` instead."
                  }
                },
                {
                  "#name": "street",
                  "Description": {
                    "new": "The street name.\n\n**Important**: This property is *deprecated*. Use `streetName` instead.",
                    "old": "The street name.\n**Important**: This property is *deprecated*. Use `streetName` instead."
                  }
                },
                {
                  "#name": "crossStreet",
                  "Description": {
                    "new": "The name of the street being crossed.\n\nThis property is only available in the `Get Search Address Reverse Cross Street` API.",
                    "old": "The name of the street being crossed."
                  }
                },
                {
                  "#name": "streetNumber",
                  "Description": {
                    "new": "The building number on the street.\n\nNot available in the `Get Search Address Reverse Cross Street` API.",
                    "old": "The building number on the street."
                  }
                },
                {
                  "#name": "routeNumbers",
                  "Description": {
                    "new": "The codes used to unambiguously identify the street.\n\nOnly available for the Search Address Reverse APIs.",
                    "old": "The codes used to unambiguously identify the street"
                  }
                },
                {
                  "#name": "streetNameAndNumber",
                  "Description": {
                    "new": "The street name and number.\n\nOnly available for the Search Address Reverse APIs.",
                    "old": "The street name and number.\nOnly available for the Search Address Reverse APIs."
                  }
                },
                {
                  "#name": "municipality",
                  "Description": {
                    "new": "City / Town 
Note: `municipality` represents the residential municipality. Depending on the location, the `municipality` value may differ from the commonly known name of a city or town. For the commonly known name of the city or town, it's suggested that the `localName` value be used instead of the `municipality` value.", "old": "City / Town
Note: `municipality` represents the residential municipality. Depending on the location, the `municipality` value may differ from the commonly known name of a city or town. For the commonly known name of the city or town, it\u2019s suggested that the `localName` value be used instead of the `municipality` value." } }, { "#name": "countrySubdivision", "Description": { "new": "The primary administrative division within a country, such as a state, province. It is used to represent the first-level subdivision below the national level.", "old": "State or Province" } }, { "#name": "countrySecondarySubdivision", "Description": { "new": "The second-level administrative division within a country/region. It identifies a subdivision that is below the primary subdivision, such as state or province, but above smaller units like municipalities or neighborhoods. Examples include *County* in the United States and *District* in the United Kingdom.", "old": "County" } }, { "#name": "countryTertiarySubdivision", "Description": { "new": "The third-level administrative division within a country/region. It provides even finer granularity than the secondary subdivision (such as county or district). Examples include municipalities such as a city, town, village, borough, or township and neighborhoods a smaller, informal geographic area within a municipality such as Capitol Hill, Green Lake, and Wallingford in Seattle.", "old": "Named Area" } }, { "#name": "municipalitySubdivision", "Description": { "new": "A subdivision within a municipality. It represents a smaller administrative or geographic unit inside a city, town, or other municipal entity.", "old": "Sub / Super City" } }, { "#name": "countrySubdivisionName", "Description": { "new": "Represents the full name of the first-level administrative division (such as state, province, or region) within a country or region. This property is included only when the `countrySubdivision` value is provided in abbreviated form. Currently supported for the United States, Canada, and the United Kingdom.", "old": "The full name of a first level of country/region administrative hierarchy. This field appears only in case countrySubdivision is presented in an abbreviated form. Only supported for USA, Canada, and United Kingdom." } }, { "#name": "countrySubdivisionCode", "Description": { "new": "`countrySubdivisionCode` prefixed by `countryCode` ( countryCode-countrySubdivisionCode ) and the hyphen forms the ISO 3166-2 code. Examples: TX for Texas, SCT for Scotland and ON for Ontario.\n\nThis property is not available in the `Get Search Nearby` and `Get Search POI` API.", "old": "`countrySubdivisionCode` prefixed by `countryCode` ( countryCode-countrySubdivisionCode ) and the hyphen forms the ISO 3166-2 code. Examples: TX for Texas, SCT for Scotland and ON for Ontario." } }, { "#name": "postalCode", "Description": { "new": "A series of numbers or letters (or both) added to an address to help identify a specific geographic area. A ZIP Code is the U.S. version of a postal code, other countries/regions use other formats such as Postcode, PIN Code and PLZ.", "old": "Postal Code / Zip Code" } }, { "#name": "extendedPostalCode", "Description": { "new": "An extended postal code refers to a postal code format that goes beyond the standard set of digits to provide greater location precision. It is commonly used in systems like the U.S. ZIP+4 code or similar extended formats in other countries/regions. Availability is dependent on the region.\n\nNot available in the `Get Search Address Reverse Cross Street` API.", "old": "Extended postal code (availability is dependent on the region)." } }, { "#name": "country", "Description": { "new": "The country/region name.", "old": "country/region name" } }, { "#name": "countryCode", "Description": { "new": "A two-letter alphabetic code defined by the ISO 3166-1 Alpha-2 standard to represent a country/region and dependent territories.", "old": "Country (Note: This is a two-letter code, not a country/region name.)" } }, { "#name": "countryCodeISO3", "Description": { "new": "A three-letter alphabetic code defined by the ISO 3166-1 Alpha-3 standard to represent a country/region and dependent territories.", "old": "ISO alpha-3 country code" } }, { "#name": "freeformAddress", "Description": { "new": "An address line formatted according to the formatting rules of a result's country/region of origin, or in the case of a country/region, its full country/region name.", "old": "An address line formatted according to the formatting rules of a Result's country/region of origin, or in the case of a country/region, its full country/region name." } } ] } ] } } } } }

⚼ Request

GET:  /search/poi/{format}
{
x-ms-client-id: string ,
api-version: string ,
format: string ,
query: string ,
typeahead: boolean ,
limit: integer ,
ofs: integer ,
categorySet: array ,
countrySet: array ,
lat: number ,
lon: number ,
radius: integer ,
topLeft: string ,
btmRight: string ,
language: string ,
extendedPostalCodesFor: array ,
brandSet: array ,
connectorSet: array ,
view: string ,
openingHours: string ,
}

⚐ Response (200)

{
summary:
{
query: string ,
queryType: enum ,
queryTime: integer ,
numResults: integer ,
limit: integer ,
offset: integer ,
totalResults: integer ,
fuzzyLevel: integer ,
geoBias:
{
lat: number ,
lon: number ,
}
,
}
,
results:
[
{
type: enum ,
id: string ,
score: number ,
dist: number ,
info: string ,
entityType: enum ,
poi:
{
name: string ,
phone: string ,
url: string ,
categorySet:
[
{
id: integer ,
}
,
]
,
categories:
[
string ,
]
,
classifications:
[
{
code: string ,
names:
[
{
nameLocale: string ,
name: string ,
}
,
]
,
}
,
]
,
brands:
[
{
name: string ,
}
,
]
,
openingHours:
{
mode: string ,
timeRanges:
[
{
startTime:
{
date: string ,
hour: integer ,
minute: integer ,
}
,
endTime:
{
date: string ,
hour: integer ,
minute: integer ,
}
,
}
,
]
,
}
,
}
,
address:
{
buildingNumber: string ,
street: string ,
crossStreet: string ,
streetNumber: string ,
routeNumbers:
[
string ,
]
,
streetName: string ,
streetNameAndNumber: string ,
neighbourhood: string ,
municipality: string ,
countrySubdivision: string ,
countrySecondarySubdivision: string ,
countryTertiarySubdivision: string ,
municipalitySubdivision: string ,
countrySubdivisionName: string ,
countrySubdivisionCode: string ,
postalCode: string ,
extendedPostalCode: string ,
country: string ,
countryCode: string ,
countryCodeISO3: string ,
freeformAddress: string ,
localName: string ,
boundingBox:
{
northEast: string ,
southWest: string ,
entity: enum ,
}
,
}
,
position:
{
lat: number ,
lon: number ,
}
,
viewport:
{
topLeftPoint:
{
lat: number ,
lon: number ,
}
,
btmRightPoint:
{
lat: number ,
lon: number ,
}
,
}
,
entryPoints:
[
{
type: enum ,
position:
{
lat: number ,
lon: number ,
}
,
}
,
]
,
addressRanges:
{
rangeLeft: string ,
rangeRight: string ,
from:
{
lat: number ,
lon: number ,
}
,
to:
{
lat: number ,
lon: number ,
}
,
}
,
dataSources:
{
geometry:
{
id: string ,
}
,
}
,
matchType: enum ,
detourTime: integer ,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Search_GetSearchNearby (updated)
Description The `Get Search Nearby` API is an HTTP `GET` request most useful for retrieving POI results around a specific location. This endpoint will only return POI results, and does not take in a search query parameter.
Reference Link ¶

⚶ Changes

{
  "#id": "Search_GetSearchNearby",
  "$responses": {
    "200": {
      "$properties": {
        "results": {
          "$properties": [
            {
              "#name": "address",
              "Description": {
                "new": "The address of the result.",
                "old": "The address of the result"
              },
              "$properties": [
                {
                  "#name": "buildingNumber",
                  "Description": {
                    "new": "The building number on the street.\n\n**Important**: This property is *deprecated*. Use `streetNumber` instead.",
                    "old": "The building number on the street.\n**Important**: This property is *deprecated*. Use `streetNumber` instead."
                  }
                },
                {
                  "#name": "street",
                  "Description": {
                    "new": "The street name.\n\n**Important**: This property is *deprecated*. Use `streetName` instead.",
                    "old": "The street name.\n**Important**: This property is *deprecated*. Use `streetName` instead."
                  }
                },
                {
                  "#name": "crossStreet",
                  "Description": {
                    "new": "The name of the street being crossed.\n\nThis property is only available in the `Get Search Address Reverse Cross Street` API.",
                    "old": "The name of the street being crossed."
                  }
                },
                {
                  "#name": "streetNumber",
                  "Description": {
                    "new": "The building number on the street.\n\nNot available in the `Get Search Address Reverse Cross Street` API.",
                    "old": "The building number on the street."
                  }
                },
                {
                  "#name": "routeNumbers",
                  "Description": {
                    "new": "The codes used to unambiguously identify the street.\n\nOnly available for the Search Address Reverse APIs.",
                    "old": "The codes used to unambiguously identify the street"
                  }
                },
                {
                  "#name": "streetNameAndNumber",
                  "Description": {
                    "new": "The street name and number.\n\nOnly available for the Search Address Reverse APIs.",
                    "old": "The street name and number.\nOnly available for the Search Address Reverse APIs."
                  }
                },
                {
                  "#name": "municipality",
                  "Description": {
                    "new": "City / Town 
Note: `municipality` represents the residential municipality. Depending on the location, the `municipality` value may differ from the commonly known name of a city or town. For the commonly known name of the city or town, it's suggested that the `localName` value be used instead of the `municipality` value.", "old": "City / Town
Note: `municipality` represents the residential municipality. Depending on the location, the `municipality` value may differ from the commonly known name of a city or town. For the commonly known name of the city or town, it\u2019s suggested that the `localName` value be used instead of the `municipality` value." } }, { "#name": "countrySubdivision", "Description": { "new": "The primary administrative division within a country, such as a state, province. It is used to represent the first-level subdivision below the national level.", "old": "State or Province" } }, { "#name": "countrySecondarySubdivision", "Description": { "new": "The second-level administrative division within a country/region. It identifies a subdivision that is below the primary subdivision, such as state or province, but above smaller units like municipalities or neighborhoods. Examples include *County* in the United States and *District* in the United Kingdom.", "old": "County" } }, { "#name": "countryTertiarySubdivision", "Description": { "new": "The third-level administrative division within a country/region. It provides even finer granularity than the secondary subdivision (such as county or district). Examples include municipalities such as a city, town, village, borough, or township and neighborhoods a smaller, informal geographic area within a municipality such as Capitol Hill, Green Lake, and Wallingford in Seattle.", "old": "Named Area" } }, { "#name": "municipalitySubdivision", "Description": { "new": "A subdivision within a municipality. It represents a smaller administrative or geographic unit inside a city, town, or other municipal entity.", "old": "Sub / Super City" } }, { "#name": "countrySubdivisionName", "Description": { "new": "Represents the full name of the first-level administrative division (such as state, province, or region) within a country or region. This property is included only when the `countrySubdivision` value is provided in abbreviated form. Currently supported for the United States, Canada, and the United Kingdom.", "old": "The full name of a first level of country/region administrative hierarchy. This field appears only in case countrySubdivision is presented in an abbreviated form. Only supported for USA, Canada, and United Kingdom." } }, { "#name": "countrySubdivisionCode", "Description": { "new": "`countrySubdivisionCode` prefixed by `countryCode` ( countryCode-countrySubdivisionCode ) and the hyphen forms the ISO 3166-2 code. Examples: TX for Texas, SCT for Scotland and ON for Ontario.\n\nThis property is not available in the `Get Search Nearby` and `Get Search POI` API.", "old": "`countrySubdivisionCode` prefixed by `countryCode` ( countryCode-countrySubdivisionCode ) and the hyphen forms the ISO 3166-2 code. Examples: TX for Texas, SCT for Scotland and ON for Ontario." } }, { "#name": "postalCode", "Description": { "new": "A series of numbers or letters (or both) added to an address to help identify a specific geographic area. A ZIP Code is the U.S. version of a postal code, other countries/regions use other formats such as Postcode, PIN Code and PLZ.", "old": "Postal Code / Zip Code" } }, { "#name": "extendedPostalCode", "Description": { "new": "An extended postal code refers to a postal code format that goes beyond the standard set of digits to provide greater location precision. It is commonly used in systems like the U.S. ZIP+4 code or similar extended formats in other countries/regions. Availability is dependent on the region.\n\nNot available in the `Get Search Address Reverse Cross Street` API.", "old": "Extended postal code (availability is dependent on the region)." } }, { "#name": "country", "Description": { "new": "The country/region name.", "old": "country/region name" } }, { "#name": "countryCode", "Description": { "new": "A two-letter alphabetic code defined by the ISO 3166-1 Alpha-2 standard to represent a country/region and dependent territories.", "old": "Country (Note: This is a two-letter code, not a country/region name.)" } }, { "#name": "countryCodeISO3", "Description": { "new": "A three-letter alphabetic code defined by the ISO 3166-1 Alpha-3 standard to represent a country/region and dependent territories.", "old": "ISO alpha-3 country code" } }, { "#name": "freeformAddress", "Description": { "new": "An address line formatted according to the formatting rules of a result's country/region of origin, or in the case of a country/region, its full country/region name.", "old": "An address line formatted according to the formatting rules of a Result's country/region of origin, or in the case of a country/region, its full country/region name." } } ] } ] } } } } }

⚼ Request

GET:  /search/nearby/{format}
{
x-ms-client-id: string ,
api-version: string ,
format: string ,
lat: number ,
lon: number ,
limit: integer ,
ofs: integer ,
categorySet: array ,
countrySet: array ,
radius: integer ,
language: string ,
extendedPostalCodesFor: array ,
brandSet: array ,
connectorSet: array ,
view: string ,
}

⚐ Response (200)

{
summary:
{
query: string ,
queryType: enum ,
queryTime: integer ,
numResults: integer ,
limit: integer ,
offset: integer ,
totalResults: integer ,
fuzzyLevel: integer ,
geoBias:
{
lat: number ,
lon: number ,
}
,
}
,
results:
[
{
type: enum ,
id: string ,
score: number ,
dist: number ,
info: string ,
entityType: enum ,
poi:
{
name: string ,
phone: string ,
url: string ,
categorySet:
[
{
id: integer ,
}
,
]
,
categories:
[
string ,
]
,
classifications:
[
{
code: string ,
names:
[
{
nameLocale: string ,
name: string ,
}
,
]
,
}
,
]
,
brands:
[
{
name: string ,
}
,
]
,
openingHours:
{
mode: string ,
timeRanges:
[
{
startTime:
{
date: string ,
hour: integer ,
minute: integer ,
}
,
endTime:
{
date: string ,
hour: integer ,
minute: integer ,
}
,
}
,
]
,
}
,
}
,
address:
{
buildingNumber: string ,
street: string ,
crossStreet: string ,
streetNumber: string ,
routeNumbers:
[
string ,
]
,
streetName: string ,
streetNameAndNumber: string ,
neighbourhood: string ,
municipality: string ,
countrySubdivision: string ,
countrySecondarySubdivision: string ,
countryTertiarySubdivision: string ,
municipalitySubdivision: string ,
countrySubdivisionName: string ,
countrySubdivisionCode: string ,
postalCode: string ,
extendedPostalCode: string ,
country: string ,
countryCode: string ,
countryCodeISO3: string ,
freeformAddress: string ,
localName: string ,
boundingBox:
{
northEast: string ,
southWest: string ,
entity: enum ,
}
,
}
,
position:
{
lat: number ,
lon: number ,
}
,
viewport:
{
topLeftPoint:
{
lat: number ,
lon: number ,
}
,
btmRightPoint:
{
lat: number ,
lon: number ,
}
,
}
,
entryPoints:
[
{
type: enum ,
position:
{
lat: number ,
lon: number ,
}
,
}
,
]
,
addressRanges:
{
rangeLeft: string ,
rangeRight: string ,
from:
{
lat: number ,
lon: number ,
}
,
to:
{
lat: number ,
lon: number ,
}
,
}
,
dataSources:
{
geometry:
{
id: string ,
}
,
}
,
matchType: enum ,
detourTime: integer ,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Search_GetSearchPOICategory (updated)
Description The `Get Search POI Category` API is an HTTP `GET` request that allows you to request POI results from given category. Useful to query POIs from one category at a time. Endpoint will only return POI results which are categorized as specified. Response includes POI details such as address, coordinate location and classification.
Reference Link ¶

⚶ Changes

{
  "#id": "Search_GetSearchPOICategory",
  "$responses": {
    "200": {
      "$properties": {
        "results": {
          "$properties": [
            {
              "#name": "address",
              "Description": {
                "new": "The address of the result.",
                "old": "The address of the result"
              },
              "$properties": [
                {
                  "#name": "buildingNumber",
                  "Description": {
                    "new": "The building number on the street.\n\n**Important**: This property is *deprecated*. Use `streetNumber` instead.",
                    "old": "The building number on the street.\n**Important**: This property is *deprecated*. Use `streetNumber` instead."
                  }
                },
                {
                  "#name": "street",
                  "Description": {
                    "new": "The street name.\n\n**Important**: This property is *deprecated*. Use `streetName` instead.",
                    "old": "The street name.\n**Important**: This property is *deprecated*. Use `streetName` instead."
                  }
                },
                {
                  "#name": "crossStreet",
                  "Description": {
                    "new": "The name of the street being crossed.\n\nThis property is only available in the `Get Search Address Reverse Cross Street` API.",
                    "old": "The name of the street being crossed."
                  }
                },
                {
                  "#name": "streetNumber",
                  "Description": {
                    "new": "The building number on the street.\n\nNot available in the `Get Search Address Reverse Cross Street` API.",
                    "old": "The building number on the street."
                  }
                },
                {
                  "#name": "routeNumbers",
                  "Description": {
                    "new": "The codes used to unambiguously identify the street.\n\nOnly available for the Search Address Reverse APIs.",
                    "old": "The codes used to unambiguously identify the street"
                  }
                },
                {
                  "#name": "streetNameAndNumber",
                  "Description": {
                    "new": "The street name and number.\n\nOnly available for the Search Address Reverse APIs.",
                    "old": "The street name and number.\nOnly available for the Search Address Reverse APIs."
                  }
                },
                {
                  "#name": "municipality",
                  "Description": {
                    "new": "City / Town 
Note: `municipality` represents the residential municipality. Depending on the location, the `municipality` value may differ from the commonly known name of a city or town. For the commonly known name of the city or town, it's suggested that the `localName` value be used instead of the `municipality` value.", "old": "City / Town
Note: `municipality` represents the residential municipality. Depending on the location, the `municipality` value may differ from the commonly known name of a city or town. For the commonly known name of the city or town, it\u2019s suggested that the `localName` value be used instead of the `municipality` value." } }, { "#name": "countrySubdivision", "Description": { "new": "The primary administrative division within a country, such as a state, province. It is used to represent the first-level subdivision below the national level.", "old": "State or Province" } }, { "#name": "countrySecondarySubdivision", "Description": { "new": "The second-level administrative division within a country/region. It identifies a subdivision that is below the primary subdivision, such as state or province, but above smaller units like municipalities or neighborhoods. Examples include *County* in the United States and *District* in the United Kingdom.", "old": "County" } }, { "#name": "countryTertiarySubdivision", "Description": { "new": "The third-level administrative division within a country/region. It provides even finer granularity than the secondary subdivision (such as county or district). Examples include municipalities such as a city, town, village, borough, or township and neighborhoods a smaller, informal geographic area within a municipality such as Capitol Hill, Green Lake, and Wallingford in Seattle.", "old": "Named Area" } }, { "#name": "municipalitySubdivision", "Description": { "new": "A subdivision within a municipality. It represents a smaller administrative or geographic unit inside a city, town, or other municipal entity.", "old": "Sub / Super City" } }, { "#name": "countrySubdivisionName", "Description": { "new": "Represents the full name of the first-level administrative division (such as state, province, or region) within a country or region. This property is included only when the `countrySubdivision` value is provided in abbreviated form. Currently supported for the United States, Canada, and the United Kingdom.", "old": "The full name of a first level of country/region administrative hierarchy. This field appears only in case countrySubdivision is presented in an abbreviated form. Only supported for USA, Canada, and United Kingdom." } }, { "#name": "countrySubdivisionCode", "Description": { "new": "`countrySubdivisionCode` prefixed by `countryCode` ( countryCode-countrySubdivisionCode ) and the hyphen forms the ISO 3166-2 code. Examples: TX for Texas, SCT for Scotland and ON for Ontario.\n\nThis property is not available in the `Get Search Nearby` and `Get Search POI` API.", "old": "`countrySubdivisionCode` prefixed by `countryCode` ( countryCode-countrySubdivisionCode ) and the hyphen forms the ISO 3166-2 code. Examples: TX for Texas, SCT for Scotland and ON for Ontario." } }, { "#name": "postalCode", "Description": { "new": "A series of numbers or letters (or both) added to an address to help identify a specific geographic area. A ZIP Code is the U.S. version of a postal code, other countries/regions use other formats such as Postcode, PIN Code and PLZ.", "old": "Postal Code / Zip Code" } }, { "#name": "extendedPostalCode", "Description": { "new": "An extended postal code refers to a postal code format that goes beyond the standard set of digits to provide greater location precision. It is commonly used in systems like the U.S. ZIP+4 code or similar extended formats in other countries/regions. Availability is dependent on the region.\n\nNot available in the `Get Search Address Reverse Cross Street` API.", "old": "Extended postal code (availability is dependent on the region)." } }, { "#name": "country", "Description": { "new": "The country/region name.", "old": "country/region name" } }, { "#name": "countryCode", "Description": { "new": "A two-letter alphabetic code defined by the ISO 3166-1 Alpha-2 standard to represent a country/region and dependent territories.", "old": "Country (Note: This is a two-letter code, not a country/region name.)" } }, { "#name": "countryCodeISO3", "Description": { "new": "A three-letter alphabetic code defined by the ISO 3166-1 Alpha-3 standard to represent a country/region and dependent territories.", "old": "ISO alpha-3 country code" } }, { "#name": "freeformAddress", "Description": { "new": "An address line formatted according to the formatting rules of a result's country/region of origin, or in the case of a country/region, its full country/region name.", "old": "An address line formatted according to the formatting rules of a Result's country/region of origin, or in the case of a country/region, its full country/region name." } } ] } ] } } } } }

⚼ Request

GET:  /search/poi/category/{format}
{
x-ms-client-id: string ,
api-version: string ,
format: string ,
query: string ,
typeahead: boolean ,
limit: integer ,
ofs: integer ,
categorySet: array ,
countrySet: array ,
lat: number ,
lon: number ,
radius: integer ,
topLeft: string ,
btmRight: string ,
language: string ,
extendedPostalCodesFor: array ,
brandSet: array ,
connectorSet: array ,
view: string ,
openingHours: string ,
}

⚐ Response (200)

{
summary:
{
query: string ,
queryType: enum ,
queryTime: integer ,
numResults: integer ,
limit: integer ,
offset: integer ,
totalResults: integer ,
fuzzyLevel: integer ,
geoBias:
{
lat: number ,
lon: number ,
}
,
}
,
results:
[
{
type: enum ,
id: string ,
score: number ,
dist: number ,
info: string ,
entityType: enum ,
poi:
{
name: string ,
phone: string ,
url: string ,
categorySet:
[
{
id: integer ,
}
,
]
,
categories:
[
string ,
]
,
classifications:
[
{
code: string ,
names:
[
{
nameLocale: string ,
name: string ,
}
,
]
,
}
,
]
,
brands:
[
{
name: string ,
}
,
]
,
openingHours:
{
mode: string ,
timeRanges:
[
{
startTime:
{
date: string ,
hour: integer ,
minute: integer ,
}
,
endTime:
{
date: string ,
hour: integer ,
minute: integer ,
}
,
}
,
]
,
}
,
}
,
address:
{
buildingNumber: string ,
street: string ,
crossStreet: string ,
streetNumber: string ,
routeNumbers:
[
string ,
]
,
streetName: string ,
streetNameAndNumber: string ,
neighbourhood: string ,
municipality: string ,
countrySubdivision: string ,
countrySecondarySubdivision: string ,
countryTertiarySubdivision: string ,
municipalitySubdivision: string ,
countrySubdivisionName: string ,
countrySubdivisionCode: string ,
postalCode: string ,
extendedPostalCode: string ,
country: string ,
countryCode: string ,
countryCodeISO3: string ,
freeformAddress: string ,
localName: string ,
boundingBox:
{
northEast: string ,
southWest: string ,
entity: enum ,
}
,
}
,
position:
{
lat: number ,
lon: number ,
}
,
viewport:
{
topLeftPoint:
{
lat: number ,
lon: number ,
}
,
btmRightPoint:
{
lat: number ,
lon: number ,
}
,
}
,
entryPoints:
[
{
type: enum ,
position:
{
lat: number ,
lon: number ,
}
,
}
,
]
,
addressRanges:
{
rangeLeft: string ,
rangeRight: string ,
from:
{
lat: number ,
lon: number ,
}
,
to:
{
lat: number ,
lon: number ,
}
,
}
,
dataSources:
{
geometry:
{
id: string ,
}
,
}
,
matchType: enum ,
detourTime: integer ,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Search_GetSearchAddress (updated)
Description The `Get Search Address` API is an HTTP `GET` request returns the latitude and longitude coordinates when passed in a street address or name of a place as the search criteria. In many cases, the complete search service might be too much, for instance if you are only interested in traditional geocoding. Search can also be accessed for address look up exclusively. The geocoding is performed by hitting the geocode endpoint with just the address or partial address in question. The geocoding search index will be queried for everything above the street level data. No POIs will be returned. Note that the geocoder is very tolerant of typos and incomplete addresses. It will also handle everything from exact street addresses or street or intersections as well as higher level geographies such as city centers, counties, states etc.
Reference Link ¶

⚶ Changes

{
  "#id": "Search_GetSearchAddress",
  "$responses": {
    "200": {
      "$properties": {
        "results": {
          "$properties": [
            {
              "#name": "address",
              "Description": {
                "new": "The address of the result.",
                "old": "The address of the result"
              },
              "$properties": [
                {
                  "#name": "buildingNumber",
                  "Description": {
                    "new": "The building number on the street.\n\n**Important**: This property is *deprecated*. Use `streetNumber` instead.",
                    "old": "The building number on the street.\n**Important**: This property is *deprecated*. Use `streetNumber` instead."
                  }
                },
                {
                  "#name": "street",
                  "Description": {
                    "new": "The street name.\n\n**Important**: This property is *deprecated*. Use `streetName` instead.",
                    "old": "The street name.\n**Important**: This property is *deprecated*. Use `streetName` instead."
                  }
                },
                {
                  "#name": "crossStreet",
                  "Description": {
                    "new": "The name of the street being crossed.\n\nThis property is only available in the `Get Search Address Reverse Cross Street` API.",
                    "old": "The name of the street being crossed."
                  }
                },
                {
                  "#name": "streetNumber",
                  "Description": {
                    "new": "The building number on the street.\n\nNot available in the `Get Search Address Reverse Cross Street` API.",
                    "old": "The building number on the street."
                  }
                },
                {
                  "#name": "routeNumbers",
                  "Description": {
                    "new": "The codes used to unambiguously identify the street.\n\nOnly available for the Search Address Reverse APIs.",
                    "old": "The codes used to unambiguously identify the street"
                  }
                },
                {
                  "#name": "streetNameAndNumber",
                  "Description": {
                    "new": "The street name and number.\n\nOnly available for the Search Address Reverse APIs.",
                    "old": "The street name and number.\nOnly available for the Search Address Reverse APIs."
                  }
                },
                {
                  "#name": "municipality",
                  "Description": {
                    "new": "City / Town 
Note: `municipality` represents the residential municipality. Depending on the location, the `municipality` value may differ from the commonly known name of a city or town. For the commonly known name of the city or town, it's suggested that the `localName` value be used instead of the `municipality` value.", "old": "City / Town
Note: `municipality` represents the residential municipality. Depending on the location, the `municipality` value may differ from the commonly known name of a city or town. For the commonly known name of the city or town, it\u2019s suggested that the `localName` value be used instead of the `municipality` value." } }, { "#name": "countrySubdivision", "Description": { "new": "The primary administrative division within a country, such as a state, province. It is used to represent the first-level subdivision below the national level.", "old": "State or Province" } }, { "#name": "countrySecondarySubdivision", "Description": { "new": "The second-level administrative division within a country/region. It identifies a subdivision that is below the primary subdivision, such as state or province, but above smaller units like municipalities or neighborhoods. Examples include *County* in the United States and *District* in the United Kingdom.", "old": "County" } }, { "#name": "countryTertiarySubdivision", "Description": { "new": "The third-level administrative division within a country/region. It provides even finer granularity than the secondary subdivision (such as county or district). Examples include municipalities such as a city, town, village, borough, or township and neighborhoods a smaller, informal geographic area within a municipality such as Capitol Hill, Green Lake, and Wallingford in Seattle.", "old": "Named Area" } }, { "#name": "municipalitySubdivision", "Description": { "new": "A subdivision within a municipality. It represents a smaller administrative or geographic unit inside a city, town, or other municipal entity.", "old": "Sub / Super City" } }, { "#name": "countrySubdivisionName", "Description": { "new": "Represents the full name of the first-level administrative division (such as state, province, or region) within a country or region. This property is included only when the `countrySubdivision` value is provided in abbreviated form. Currently supported for the United States, Canada, and the United Kingdom.", "old": "The full name of a first level of country/region administrative hierarchy. This field appears only in case countrySubdivision is presented in an abbreviated form. Only supported for USA, Canada, and United Kingdom." } }, { "#name": "countrySubdivisionCode", "Description": { "new": "`countrySubdivisionCode` prefixed by `countryCode` ( countryCode-countrySubdivisionCode ) and the hyphen forms the ISO 3166-2 code. Examples: TX for Texas, SCT for Scotland and ON for Ontario.\n\nThis property is not available in the `Get Search Nearby` and `Get Search POI` API.", "old": "`countrySubdivisionCode` prefixed by `countryCode` ( countryCode-countrySubdivisionCode ) and the hyphen forms the ISO 3166-2 code. Examples: TX for Texas, SCT for Scotland and ON for Ontario." } }, { "#name": "postalCode", "Description": { "new": "A series of numbers or letters (or both) added to an address to help identify a specific geographic area. A ZIP Code is the U.S. version of a postal code, other countries/regions use other formats such as Postcode, PIN Code and PLZ.", "old": "Postal Code / Zip Code" } }, { "#name": "extendedPostalCode", "Description": { "new": "An extended postal code refers to a postal code format that goes beyond the standard set of digits to provide greater location precision. It is commonly used in systems like the U.S. ZIP+4 code or similar extended formats in other countries/regions. Availability is dependent on the region.\n\nNot available in the `Get Search Address Reverse Cross Street` API.", "old": "Extended postal code (availability is dependent on the region)." } }, { "#name": "country", "Description": { "new": "The country/region name.", "old": "country/region name" } }, { "#name": "countryCode", "Description": { "new": "A two-letter alphabetic code defined by the ISO 3166-1 Alpha-2 standard to represent a country/region and dependent territories.", "old": "Country (Note: This is a two-letter code, not a country/region name.)" } }, { "#name": "countryCodeISO3", "Description": { "new": "A three-letter alphabetic code defined by the ISO 3166-1 Alpha-3 standard to represent a country/region and dependent territories.", "old": "ISO alpha-3 country code" } }, { "#name": "freeformAddress", "Description": { "new": "An address line formatted according to the formatting rules of a result's country/region of origin, or in the case of a country/region, its full country/region name.", "old": "An address line formatted according to the formatting rules of a Result's country/region of origin, or in the case of a country/region, its full country/region name." } } ] } ] } } } } }

⚼ Request

GET:  /search/address/{format}
{
x-ms-client-id: string ,
api-version: string ,
format: string ,
query: string ,
typeahead: boolean ,
limit: integer ,
ofs: integer ,
countrySet: array ,
lat: number ,
lon: number ,
radius: integer ,
topLeft: string ,
btmRight: string ,
language: string ,
extendedPostalCodesFor: array ,
entityType: string ,
view: string ,
}

⚐ Response (200)

{
summary:
{
query: string ,
queryType: enum ,
queryTime: integer ,
numResults: integer ,
limit: integer ,
offset: integer ,
totalResults: integer ,
fuzzyLevel: integer ,
geoBias:
{
lat: number ,
lon: number ,
}
,
}
,
results:
[
{
type: enum ,
id: string ,
score: number ,
dist: number ,
info: string ,
entityType: enum ,
poi:
{
name: string ,
phone: string ,
url: string ,
categorySet:
[
{
id: integer ,
}
,
]
,
categories:
[
string ,
]
,
classifications:
[
{
code: string ,
names:
[
{
nameLocale: string ,
name: string ,
}
,
]
,
}
,
]
,
brands:
[
{
name: string ,
}
,
]
,
openingHours:
{
mode: string ,
timeRanges:
[
{
startTime:
{
date: string ,
hour: integer ,
minute: integer ,
}
,
endTime:
{
date: string ,
hour: integer ,
minute: integer ,
}
,
}
,
]
,
}
,
}
,
address:
{
buildingNumber: string ,
street: string ,
crossStreet: string ,
streetNumber: string ,
routeNumbers:
[
string ,
]
,
streetName: string ,
streetNameAndNumber: string ,
neighbourhood: string ,
municipality: string ,
countrySubdivision: string ,
countrySecondarySubdivision: string ,
countryTertiarySubdivision: string ,
municipalitySubdivision: string ,
countrySubdivisionName: string ,
countrySubdivisionCode: string ,
postalCode: string ,
extendedPostalCode: string ,
country: string ,
countryCode: string ,
countryCodeISO3: string ,
freeformAddress: string ,
localName: string ,
boundingBox:
{
northEast: string ,
southWest: string ,
entity: enum ,
}
,
}
,
position:
{
lat: number ,
lon: number ,
}
,
viewport:
{
topLeftPoint:
{
lat: number ,
lon: number ,
}
,
btmRightPoint:
{
lat: number ,
lon: number ,
}
,
}
,
entryPoints:
[
{
type: enum ,
position:
{
lat: number ,
lon: number ,
}
,
}
,
]
,
addressRanges:
{
rangeLeft: string ,
rangeRight: string ,
from:
{
lat: number ,
lon: number ,
}
,
to:
{
lat: number ,
lon: number ,
}
,
}
,
dataSources:
{
geometry:
{
id: string ,
}
,
}
,
matchType: enum ,
detourTime: integer ,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Search_GetSearchAddressReverse (updated)
Description The `Get Search Address Reverse` API is and HTTP `GET` request that returns a street address or location when given latitude and longitude coordinates. There may be times when you need to translate a coordinate (example: 37.786505, -122.3862) into a human understandable street address. Most often this is needed in tracking applications where you receive a GPS feed from the device or asset and wish to know what address where the coordinate is located. This endpoint will return address information for a given coordinate.
Reference Link ¶

⚶ Changes

{
  "#id": "Search_GetSearchAddressReverse",
  "$parameters": [
    {
      "#name": "number",
      "Description": {
        "new": "Street number as a string. If a number is sent in along with the request, the response may include the side of the street (Left/Right) and also an offset position for that number.",
        "old": "Street number as a string. If a number is sent in along with the request, the response may include the side of the street (Left/Right) and also an offset position for that number"
      }
    }
  ],
  "$responses": {
    "200": {
      "$properties": {
        "addresses": {
          "$properties": [
            {
              "#name": "address",
              "Description": {
                "new": "The address of the result.",
                "old": "The address of the result"
              },
              "$properties": [
                {
                  "#name": "buildingNumber",
                  "Description": {
                    "new": "The building number on the street.\n\n**Important**: This property is *deprecated*. Use `streetNumber` instead.",
                    "old": "The building number on the street.\n**Important**: This property is *deprecated*. Use `streetNumber` instead."
                  }
                },
                {
                  "#name": "street",
                  "Description": {
                    "new": "The street name.\n\n**Important**: This property is *deprecated*. Use `streetName` instead.",
                    "old": "The street name.\n**Important**: This property is *deprecated*. Use `streetName` instead."
                  }
                },
                {
                  "#name": "crossStreet",
                  "Description": {
                    "new": "The name of the street being crossed.\n\nThis property is only available in the `Get Search Address Reverse Cross Street` API.",
                    "old": "The name of the street being crossed."
                  }
                },
                {
                  "#name": "streetNumber",
                  "Description": {
                    "new": "The building number on the street.\n\nNot available in the `Get Search Address Reverse Cross Street` API.",
                    "old": "The building number on the street."
                  }
                },
                {
                  "#name": "routeNumbers",
                  "Description": {
                    "new": "The codes used to unambiguously identify the street.\n\nOnly available for the Search Address Reverse APIs.",
                    "old": "The codes used to unambiguously identify the street"
                  }
                },
                {
                  "#name": "streetNameAndNumber",
                  "Description": {
                    "new": "The street name and number.\n\nOnly available for the Search Address Reverse APIs.",
                    "old": "The street name and number.\nOnly available for the Search Address Reverse APIs."
                  }
                },
                {
                  "#name": "municipality",
                  "Description": {
                    "new": "City / Town 
Note: `municipality` represents the residential municipality. Depending on the location, the `municipality` value may differ from the commonly known name of a city or town. For the commonly known name of the city or town, it's suggested that the `localName` value be used instead of the `municipality` value.", "old": "City / Town
Note: `municipality` represents the residential municipality. Depending on the location, the `municipality` value may differ from the commonly known name of a city or town. For the commonly known name of the city or town, it\u2019s suggested that the `localName` value be used instead of the `municipality` value." } }, { "#name": "countrySubdivision", "Description": { "new": "The primary administrative division within a country, such as a state, province. It is used to represent the first-level subdivision below the national level.", "old": "State or Province" } }, { "#name": "countrySecondarySubdivision", "Description": { "new": "The second-level administrative division within a country/region. It identifies a subdivision that is below the primary subdivision, such as state or province, but above smaller units like municipalities or neighborhoods. Examples include *County* in the United States and *District* in the United Kingdom.", "old": "County" } }, { "#name": "countryTertiarySubdivision", "Description": { "new": "The third-level administrative division within a country/region. It provides even finer granularity than the secondary subdivision (such as county or district). Examples include municipalities such as a city, town, village, borough, or township and neighborhoods a smaller, informal geographic area within a municipality such as Capitol Hill, Green Lake, and Wallingford in Seattle.", "old": "Named Area" } }, { "#name": "municipalitySubdivision", "Description": { "new": "A subdivision within a municipality. It represents a smaller administrative or geographic unit inside a city, town, or other municipal entity.", "old": "Sub / Super City" } }, { "#name": "countrySubdivisionName", "Description": { "new": "Represents the full name of the first-level administrative division (such as state, province, or region) within a country or region. This property is included only when the `countrySubdivision` value is provided in abbreviated form. Currently supported for the United States, Canada, and the United Kingdom.", "old": "The full name of a first level of country/region administrative hierarchy. This field appears only in case countrySubdivision is presented in an abbreviated form. Only supported for USA, Canada, and United Kingdom." } }, { "#name": "countrySubdivisionCode", "Description": { "new": "`countrySubdivisionCode` prefixed by `countryCode` ( countryCode-countrySubdivisionCode ) and the hyphen forms the ISO 3166-2 code. Examples: TX for Texas, SCT for Scotland and ON for Ontario.\n\nThis property is not available in the `Get Search Nearby` and `Get Search POI` API.", "old": "`countrySubdivisionCode` prefixed by `countryCode` ( countryCode-countrySubdivisionCode ) and the hyphen forms the ISO 3166-2 code. Examples: TX for Texas, SCT for Scotland and ON for Ontario." } }, { "#name": "postalCode", "Description": { "new": "A series of numbers or letters (or both) added to an address to help identify a specific geographic area. A ZIP Code is the U.S. version of a postal code, other countries/regions use other formats such as Postcode, PIN Code and PLZ.", "old": "Postal Code / Zip Code" } }, { "#name": "extendedPostalCode", "Description": { "new": "An extended postal code refers to a postal code format that goes beyond the standard set of digits to provide greater location precision. It is commonly used in systems like the U.S. ZIP+4 code or similar extended formats in other countries/regions. Availability is dependent on the region.\n\nNot available in the `Get Search Address Reverse Cross Street` API.", "old": "Extended postal code (availability is dependent on the region)." } }, { "#name": "country", "Description": { "new": "The country/region name.", "old": "country/region name" } }, { "#name": "countryCode", "Description": { "new": "A two-letter alphabetic code defined by the ISO 3166-1 Alpha-2 standard to represent a country/region and dependent territories.", "old": "Country (Note: This is a two-letter code, not a country/region name.)" } }, { "#name": "countryCodeISO3", "Description": { "new": "A three-letter alphabetic code defined by the ISO 3166-1 Alpha-3 standard to represent a country/region and dependent territories.", "old": "ISO alpha-3 country code" } }, { "#name": "freeformAddress", "Description": { "new": "An address line formatted according to the formatting rules of a result's country/region of origin, or in the case of a country/region, its full country/region name.", "old": "An address line formatted according to the formatting rules of a Result's country/region of origin, or in the case of a country/region, its full country/region name." } } ] } ] } } } } }

⚼ Request

GET:  /search/address/reverse/{format}
{
x-ms-client-id: string ,
api-version: string ,
format: string ,
query: array ,
language: string ,
returnSpeedLimit: boolean ,
heading: integer ,
radius: integer ,
number: string ,
returnRoadUse: boolean ,
roadUse: array ,
allowFreeformNewline: boolean ,
returnMatchType: boolean ,
entityType: string ,
view: string ,
}

⚐ Response (200)

{
summary:
{
query: string ,
queryType: enum ,
queryTime: integer ,
numResults: integer ,
limit: integer ,
offset: integer ,
totalResults: integer ,
fuzzyLevel: integer ,
geoBias:
{
lat: number ,
lon: number ,
}
,
}
,
addresses:
[
{
address:
{
buildingNumber: string ,
street: string ,
crossStreet: string ,
streetNumber: string ,
routeNumbers:
[
string ,
]
,
streetName: string ,
streetNameAndNumber: string ,
neighbourhood: string ,
municipality: string ,
countrySubdivision: string ,
countrySecondarySubdivision: string ,
countryTertiarySubdivision: string ,
municipalitySubdivision: string ,
countrySubdivisionName: string ,
countrySubdivisionCode: string ,
postalCode: string ,
extendedPostalCode: string ,
country: string ,
countryCode: string ,
countryCodeISO3: string ,
freeformAddress: string ,
localName: string ,
boundingBox:
{
northEast: string ,
southWest: string ,
entity: enum ,
}
,
}
,
position: string ,
roadUse:
[
string ,
]
,
matchType: enum ,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Search_GetSearchAddressReverseCrossStreet (updated)
Description The `Get Search Address Reverse Cross Street` API is an HTTP `GET` request that returns the nearest cross street when given latitude and longitude coordinates. There may be times when you need to translate a coordinate (example: 37.786505, -122.3862) into a human understandable cross street. Most often this is needed in tracking applications where you receive a GPS feed from the device or asset and wish to know what address where the coordinate is located. This endpoint will return cross street information for a given coordinate.
Reference Link ¶

⚶ Changes

{
  "#id": "Search_GetSearchAddressReverseCrossStreet",
  "$responses": {
    "200": {
      "$properties": {
        "addresses": {
          "$properties": [
            {
              "#name": "address",
              "Description": {
                "new": "The address of the result.",
                "old": "The address of the result"
              },
              "$properties": [
                {
                  "#name": "buildingNumber",
                  "Description": {
                    "new": "The building number on the street.\n\n**Important**: This property is *deprecated*. Use `streetNumber` instead.",
                    "old": "The building number on the street.\n**Important**: This property is *deprecated*. Use `streetNumber` instead."
                  }
                },
                {
                  "#name": "street",
                  "Description": {
                    "new": "The street name.\n\n**Important**: This property is *deprecated*. Use `streetName` instead.",
                    "old": "The street name.\n**Important**: This property is *deprecated*. Use `streetName` instead."
                  }
                },
                {
                  "#name": "crossStreet",
                  "Description": {
                    "new": "The name of the street being crossed.\n\nThis property is only available in the `Get Search Address Reverse Cross Street` API.",
                    "old": "The name of the street being crossed."
                  }
                },
                {
                  "#name": "streetNumber",
                  "Description": {
                    "new": "The building number on the street.\n\nNot available in the `Get Search Address Reverse Cross Street` API.",
                    "old": "The building number on the street."
                  }
                },
                {
                  "#name": "routeNumbers",
                  "Description": {
                    "new": "The codes used to unambiguously identify the street.\n\nOnly available for the Search Address Reverse APIs.",
                    "old": "The codes used to unambiguously identify the street"
                  }
                },
                {
                  "#name": "streetNameAndNumber",
                  "Description": {
                    "new": "The street name and number.\n\nOnly available for the Search Address Reverse APIs.",
                    "old": "The street name and number.\nOnly available for the Search Address Reverse APIs."
                  }
                },
                {
                  "#name": "municipality",
                  "Description": {
                    "new": "City / Town 
Note: `municipality` represents the residential municipality. Depending on the location, the `municipality` value may differ from the commonly known name of a city or town. For the commonly known name of the city or town, it's suggested that the `localName` value be used instead of the `municipality` value.", "old": "City / Town
Note: `municipality` represents the residential municipality. Depending on the location, the `municipality` value may differ from the commonly known name of a city or town. For the commonly known name of the city or town, it\u2019s suggested that the `localName` value be used instead of the `municipality` value." } }, { "#name": "countrySubdivision", "Description": { "new": "The primary administrative division within a country, such as a state, province. It is used to represent the first-level subdivision below the national level.", "old": "State or Province" } }, { "#name": "countrySecondarySubdivision", "Description": { "new": "The second-level administrative division within a country/region. It identifies a subdivision that is below the primary subdivision, such as state or province, but above smaller units like municipalities or neighborhoods. Examples include *County* in the United States and *District* in the United Kingdom.", "old": "County" } }, { "#name": "countryTertiarySubdivision", "Description": { "new": "The third-level administrative division within a country/region. It provides even finer granularity than the secondary subdivision (such as county or district). Examples include municipalities such as a city, town, village, borough, or township and neighborhoods a smaller, informal geographic area within a municipality such as Capitol Hill, Green Lake, and Wallingford in Seattle.", "old": "Named Area" } }, { "#name": "municipalitySubdivision", "Description": { "new": "A subdivision within a municipality. It represents a smaller administrative or geographic unit inside a city, town, or other municipal entity.", "old": "Sub / Super City" } }, { "#name": "countrySubdivisionName", "Description": { "new": "Represents the full name of the first-level administrative division (such as state, province, or region) within a country or region. This property is included only when the `countrySubdivision` value is provided in abbreviated form. Currently supported for the United States, Canada, and the United Kingdom.", "old": "The full name of a first level of country/region administrative hierarchy. This field appears only in case countrySubdivision is presented in an abbreviated form. Only supported for USA, Canada, and United Kingdom." } }, { "#name": "countrySubdivisionCode", "Description": { "new": "`countrySubdivisionCode` prefixed by `countryCode` ( countryCode-countrySubdivisionCode ) and the hyphen forms the ISO 3166-2 code. Examples: TX for Texas, SCT for Scotland and ON for Ontario.\n\nThis property is not available in the `Get Search Nearby` and `Get Search POI` API.", "old": "`countrySubdivisionCode` prefixed by `countryCode` ( countryCode-countrySubdivisionCode ) and the hyphen forms the ISO 3166-2 code. Examples: TX for Texas, SCT for Scotland and ON for Ontario." } }, { "#name": "postalCode", "Description": { "new": "A series of numbers or letters (or both) added to an address to help identify a specific geographic area. A ZIP Code is the U.S. version of a postal code, other countries/regions use other formats such as Postcode, PIN Code and PLZ.", "old": "Postal Code / Zip Code" } }, { "#name": "extendedPostalCode", "Description": { "new": "An extended postal code refers to a postal code format that goes beyond the standard set of digits to provide greater location precision. It is commonly used in systems like the U.S. ZIP+4 code or similar extended formats in other countries/regions. Availability is dependent on the region.\n\nNot available in the `Get Search Address Reverse Cross Street` API.", "old": "Extended postal code (availability is dependent on the region)." } }, { "#name": "country", "Description": { "new": "The country/region name.", "old": "country/region name" } }, { "#name": "countryCode", "Description": { "new": "A two-letter alphabetic code defined by the ISO 3166-1 Alpha-2 standard to represent a country/region and dependent territories.", "old": "Country (Note: This is a two-letter code, not a country/region name.)" } }, { "#name": "countryCodeISO3", "Description": { "new": "A three-letter alphabetic code defined by the ISO 3166-1 Alpha-3 standard to represent a country/region and dependent territories.", "old": "ISO alpha-3 country code" } }, { "#name": "freeformAddress", "Description": { "new": "An address line formatted according to the formatting rules of a result's country/region of origin, or in the case of a country/region, its full country/region name.", "old": "An address line formatted according to the formatting rules of a Result's country/region of origin, or in the case of a country/region, its full country/region name." } } ] } ] } } } } }

⚼ Request

GET:  /search/address/reverse/crossStreet/{format}
{
x-ms-client-id: string ,
api-version: string ,
format: string ,
query: array ,
limit: integer ,
heading: integer ,
radius: integer ,
language: string ,
view: string ,
}

⚐ Response (200)

{
summary:
{
query: string ,
queryType: enum ,
queryTime: integer ,
numResults: integer ,
limit: integer ,
offset: integer ,
totalResults: integer ,
fuzzyLevel: integer ,
geoBias:
{
lat: number ,
lon: number ,
}
,
}
,
addresses:
[
{
address:
{
buildingNumber: string ,
street: string ,
crossStreet: string ,
streetNumber: string ,
routeNumbers:
[
string ,
]
,
streetName: string ,
streetNameAndNumber: string ,
neighbourhood: string ,
municipality: string ,
countrySubdivision: string ,
countrySecondarySubdivision: string ,
countryTertiarySubdivision: string ,
municipalitySubdivision: string ,
countrySubdivisionName: string ,
countrySubdivisionCode: string ,
postalCode: string ,
extendedPostalCode: string ,
country: string ,
countryCode: string ,
countryCodeISO3: string ,
freeformAddress: string ,
localName: string ,
boundingBox:
{
northEast: string ,
southWest: string ,
entity: enum ,
}
,
}
,
position: string ,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Search_GetSearchAddressStructured (updated)
Description The `Get Search Address Structured` (**Structured Address Geocoding**) API is an HTTP `GET` request that returns latitude and longitude coordinates of a street address in an unstructured or query input format. The geocoding search index will be queried for everything above the street level data. No POIs will be returned. Note that the geocoder is very tolerant of typos and incomplete addresses. It will also handle everything from exact street addresses or street or intersections as well as higher level geographies such as city centers, counties, states etc.
Reference Link ¶

⚶ Changes

{
  "#id": "Search_GetSearchAddressStructured",
  "$parameters": [
    {
      "#name": "crossStreet",
      "Description": {
        "new": "The cross street name for the structured address.",
        "old": "The cross street name for the structured address"
      }
    }
  ],
  "$responses": {
    "200": {
      "$properties": {
        "results": {
          "$properties": [
            {
              "#name": "address",
              "Description": {
                "new": "The address of the result.",
                "old": "The address of the result"
              },
              "$properties": [
                {
                  "#name": "buildingNumber",
                  "Description": {
                    "new": "The building number on the street.\n\n**Important**: This property is *deprecated*. Use `streetNumber` instead.",
                    "old": "The building number on the street.\n**Important**: This property is *deprecated*. Use `streetNumber` instead."
                  }
                },
                {
                  "#name": "street",
                  "Description": {
                    "new": "The street name.\n\n**Important**: This property is *deprecated*. Use `streetName` instead.",
                    "old": "The street name.\n**Important**: This property is *deprecated*. Use `streetName` instead."
                  }
                },
                {
                  "#name": "crossStreet",
                  "Description": {
                    "new": "The name of the street being crossed.\n\nThis property is only available in the `Get Search Address Reverse Cross Street` API.",
                    "old": "The name of the street being crossed."
                  }
                },
                {
                  "#name": "streetNumber",
                  "Description": {
                    "new": "The building number on the street.\n\nNot available in the `Get Search Address Reverse Cross Street` API.",
                    "old": "The building number on the street."
                  }
                },
                {
                  "#name": "routeNumbers",
                  "Description": {
                    "new": "The codes used to unambiguously identify the street.\n\nOnly available for the Search Address Reverse APIs.",
                    "old": "The codes used to unambiguously identify the street"
                  }
                },
                {
                  "#name": "streetNameAndNumber",
                  "Description": {
                    "new": "The street name and number.\n\nOnly available for the Search Address Reverse APIs.",
                    "old": "The street name and number.\nOnly available for the Search Address Reverse APIs."
                  }
                },
                {
                  "#name": "municipality",
                  "Description": {
                    "new": "City / Town 
Note: `municipality` represents the residential municipality. Depending on the location, the `municipality` value may differ from the commonly known name of a city or town. For the commonly known name of the city or town, it's suggested that the `localName` value be used instead of the `municipality` value.", "old": "City / Town
Note: `municipality` represents the residential municipality. Depending on the location, the `municipality` value may differ from the commonly known name of a city or town. For the commonly known name of the city or town, it\u2019s suggested that the `localName` value be used instead of the `municipality` value." } }, { "#name": "countrySubdivision", "Description": { "new": "The primary administrative division within a country, such as a state, province. It is used to represent the first-level subdivision below the national level.", "old": "State or Province" } }, { "#name": "countrySecondarySubdivision", "Description": { "new": "The second-level administrative division within a country/region. It identifies a subdivision that is below the primary subdivision, such as state or province, but above smaller units like municipalities or neighborhoods. Examples include *County* in the United States and *District* in the United Kingdom.", "old": "County" } }, { "#name": "countryTertiarySubdivision", "Description": { "new": "The third-level administrative division within a country/region. It provides even finer granularity than the secondary subdivision (such as county or district). Examples include municipalities such as a city, town, village, borough, or township and neighborhoods a smaller, informal geographic area within a municipality such as Capitol Hill, Green Lake, and Wallingford in Seattle.", "old": "Named Area" } }, { "#name": "municipalitySubdivision", "Description": { "new": "A subdivision within a municipality. It represents a smaller administrative or geographic unit inside a city, town, or other municipal entity.", "old": "Sub / Super City" } }, { "#name": "countrySubdivisionName", "Description": { "new": "Represents the full name of the first-level administrative division (such as state, province, or region) within a country or region. This property is included only when the `countrySubdivision` value is provided in abbreviated form. Currently supported for the United States, Canada, and the United Kingdom.", "old": "The full name of a first level of country/region administrative hierarchy. This field appears only in case countrySubdivision is presented in an abbreviated form. Only supported for USA, Canada, and United Kingdom." } }, { "#name": "countrySubdivisionCode", "Description": { "new": "`countrySubdivisionCode` prefixed by `countryCode` ( countryCode-countrySubdivisionCode ) and the hyphen forms the ISO 3166-2 code. Examples: TX for Texas, SCT for Scotland and ON for Ontario.\n\nThis property is not available in the `Get Search Nearby` and `Get Search POI` API.", "old": "`countrySubdivisionCode` prefixed by `countryCode` ( countryCode-countrySubdivisionCode ) and the hyphen forms the ISO 3166-2 code. Examples: TX for Texas, SCT for Scotland and ON for Ontario." } }, { "#name": "postalCode", "Description": { "new": "A series of numbers or letters (or both) added to an address to help identify a specific geographic area. A ZIP Code is the U.S. version of a postal code, other countries/regions use other formats such as Postcode, PIN Code and PLZ.", "old": "Postal Code / Zip Code" } }, { "#name": "extendedPostalCode", "Description": { "new": "An extended postal code refers to a postal code format that goes beyond the standard set of digits to provide greater location precision. It is commonly used in systems like the U.S. ZIP+4 code or similar extended formats in other countries/regions. Availability is dependent on the region.\n\nNot available in the `Get Search Address Reverse Cross Street` API.", "old": "Extended postal code (availability is dependent on the region)." } }, { "#name": "country", "Description": { "new": "The country/region name.", "old": "country/region name" } }, { "#name": "countryCode", "Description": { "new": "A two-letter alphabetic code defined by the ISO 3166-1 Alpha-2 standard to represent a country/region and dependent territories.", "old": "Country (Note: This is a two-letter code, not a country/region name.)" } }, { "#name": "countryCodeISO3", "Description": { "new": "A three-letter alphabetic code defined by the ISO 3166-1 Alpha-3 standard to represent a country/region and dependent territories.", "old": "ISO alpha-3 country code" } }, { "#name": "freeformAddress", "Description": { "new": "An address line formatted according to the formatting rules of a result's country/region of origin, or in the case of a country/region, its full country/region name.", "old": "An address line formatted according to the formatting rules of a Result's country/region of origin, or in the case of a country/region, its full country/region name." } } ] } ] } } } } }

⚼ Request

GET:  /search/address/structured/{format}
{
x-ms-client-id: string ,
api-version: string ,
format: string ,
language: string ,
countryCode: string ,
limit: integer ,
ofs: integer ,
streetNumber: string ,
streetName: string ,
crossStreet: string ,
municipality: string ,
municipalitySubdivision: string ,
countryTertiarySubdivision: string ,
countrySecondarySubdivision: string ,
countrySubdivision: string ,
postalCode: string ,
extendedPostalCodesFor: array ,
entityType: string ,
view: string ,
}

⚐ Response (200)

{
summary:
{
query: string ,
queryType: enum ,
queryTime: integer ,
numResults: integer ,
limit: integer ,
offset: integer ,
totalResults: integer ,
fuzzyLevel: integer ,
geoBias:
{
lat: number ,
lon: number ,
}
,
}
,
results:
[
{
type: enum ,
id: string ,
score: number ,
dist: number ,
info: string ,
entityType: enum ,
poi:
{
name: string ,
phone: string ,
url: string ,
categorySet:
[
{
id: integer ,
}
,
]
,
categories:
[
string ,
]
,
classifications:
[
{
code: string ,
names:
[
{
nameLocale: string ,
name: string ,
}
,
]
,
}
,
]
,
brands:
[
{
name: string ,
}
,
]
,
openingHours:
{
mode: string ,
timeRanges:
[
{
startTime:
{
date: string ,
hour: integer ,
minute: integer ,
}
,
endTime:
{
date: string ,
hour: integer ,
minute: integer ,
}
,
}
,
]
,
}
,
}
,
address:
{
buildingNumber: string ,
street: string ,
crossStreet: string ,
streetNumber: string ,
routeNumbers:
[
string ,
]
,
streetName: string ,
streetNameAndNumber: string ,
neighbourhood: string ,
municipality: string ,
countrySubdivision: string ,
countrySecondarySubdivision: string ,
countryTertiarySubdivision: string ,
municipalitySubdivision: string ,
countrySubdivisionName: string ,
countrySubdivisionCode: string ,
postalCode: string ,
extendedPostalCode: string ,
country: string ,
countryCode: string ,
countryCodeISO3: string ,
freeformAddress: string ,
localName: string ,
boundingBox:
{
northEast: string ,
southWest: string ,
entity: enum ,
}
,
}
,
position:
{
lat: number ,
lon: number ,
}
,
viewport:
{
topLeftPoint:
{
lat: number ,
lon: number ,
}
,
btmRightPoint:
{
lat: number ,
lon: number ,
}
,
}
,
entryPoints:
[
{
type: enum ,
position:
{
lat: number ,
lon: number ,
}
,
}
,
]
,
addressRanges:
{
rangeLeft: string ,
rangeRight: string ,
from:
{
lat: number ,
lon: number ,
}
,
to:
{
lat: number ,
lon: number ,
}
,
}
,
dataSources:
{
geometry:
{
id: string ,
}
,
}
,
matchType: enum ,
detourTime: integer ,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Search_PostSearchInsideGeometry (updated)
Description The `Post Search Inside Geometry` API is and HTTP `POST` request that allows you to perform a free form search inside a single geometry or multiple geometries. The search results that fall inside the geometry/geometries will be returned.

To send the geometry you will use a POST request where the request body will contain the `geometry` object represented as GeoJSON and the **Content-Type** header will be set to _application/json_. The geographical features to be searched can be modeled as Polygon and/or Circle geometries represented using any one of the following GeoJSON types:
  • **GeoJSON FeatureCollection**
    The `geometry` can be represented as a GeoJSON `FeatureCollection` object. This is the recommended option if the geometry contains both Polygons and Circles. The `FeatureCollection` can contain up to 50 GeoJSON `Feature` objects. Each `Feature` object should represent either a Polygon or a Circle with the following conditions:
    • A `Feature` object for the Polygon geometry can have up to 50 coordinates and it's properties must be empty.
    • A `Feature` object for the Circle geometry is composed of a _center_ represented using a GeoJSON `Point` type and a _radius_ value (in meters) which must be specified in the object's properties along with the _subType_ property whose value should be 'Circle'.

    See the [Examples](#examples) for a sample `FeatureCollection` representation.

  • **GeoJSON GeometryCollection**
    The `geometry` can be represented as a GeoJSON `GeometryCollection` object. This is the recommended option if the geometry contains a list of Polygons only. The `GeometryCollection` can contain up to 50 GeoJSON `Polygon` objects. Each `Polygon` object can have up to 50 coordinates. See the [Examples](#examples) for a sample `GeometryCollection` representation.

  • **GeoJSON Polygon**
    The `geometry` can be represented as a GeoJSON `Polygon` object. This is the recommended option if the geometry contains a single Polygon. The `Polygon` object can have up to 50 coordinates. See the [Examples](#examples) for a sample `Polygon` representation.

.

Reference Link ¶

⚶ Changes

{
  "#id": "Search_PostSearchInsideGeometry",
  "$responses": {
    "200": {
      "$properties": {
        "results": {
          "$properties": [
            {
              "#name": "address",
              "Description": {
                "new": "The address of the result.",
                "old": "The address of the result"
              },
              "$properties": [
                {
                  "#name": "buildingNumber",
                  "Description": {
                    "new": "The building number on the street.\n\n**Important**: This property is *deprecated*. Use `streetNumber` instead.",
                    "old": "The building number on the street.\n**Important**: This property is *deprecated*. Use `streetNumber` instead."
                  }
                },
                {
                  "#name": "street",
                  "Description": {
                    "new": "The street name.\n\n**Important**: This property is *deprecated*. Use `streetName` instead.",
                    "old": "The street name.\n**Important**: This property is *deprecated*. Use `streetName` instead."
                  }
                },
                {
                  "#name": "crossStreet",
                  "Description": {
                    "new": "The name of the street being crossed.\n\nThis property is only available in the `Get Search Address Reverse Cross Street` API.",
                    "old": "The name of the street being crossed."
                  }
                },
                {
                  "#name": "streetNumber",
                  "Description": {
                    "new": "The building number on the street.\n\nNot available in the `Get Search Address Reverse Cross Street` API.",
                    "old": "The building number on the street."
                  }
                },
                {
                  "#name": "routeNumbers",
                  "Description": {
                    "new": "The codes used to unambiguously identify the street.\n\nOnly available for the Search Address Reverse APIs.",
                    "old": "The codes used to unambiguously identify the street"
                  }
                },
                {
                  "#name": "streetNameAndNumber",
                  "Description": {
                    "new": "The street name and number.\n\nOnly available for the Search Address Reverse APIs.",
                    "old": "The street name and number.\nOnly available for the Search Address Reverse APIs."
                  }
                },
                {
                  "#name": "municipality",
                  "Description": {
                    "new": "City / Town 
Note: `municipality` represents the residential municipality. Depending on the location, the `municipality` value may differ from the commonly known name of a city or town. For the commonly known name of the city or town, it's suggested that the `localName` value be used instead of the `municipality` value.", "old": "City / Town
Note: `municipality` represents the residential municipality. Depending on the location, the `municipality` value may differ from the commonly known name of a city or town. For the commonly known name of the city or town, it\u2019s suggested that the `localName` value be used instead of the `municipality` value." } }, { "#name": "countrySubdivision", "Description": { "new": "The primary administrative division within a country, such as a state, province. It is used to represent the first-level subdivision below the national level.", "old": "State or Province" } }, { "#name": "countrySecondarySubdivision", "Description": { "new": "The second-level administrative division within a country/region. It identifies a subdivision that is below the primary subdivision, such as state or province, but above smaller units like municipalities or neighborhoods. Examples include *County* in the United States and *District* in the United Kingdom.", "old": "County" } }, { "#name": "countryTertiarySubdivision", "Description": { "new": "The third-level administrative division within a country/region. It provides even finer granularity than the secondary subdivision (such as county or district). Examples include municipalities such as a city, town, village, borough, or township and neighborhoods a smaller, informal geographic area within a municipality such as Capitol Hill, Green Lake, and Wallingford in Seattle.", "old": "Named Area" } }, { "#name": "municipalitySubdivision", "Description": { "new": "A subdivision within a municipality. It represents a smaller administrative or geographic unit inside a city, town, or other municipal entity.", "old": "Sub / Super City" } }, { "#name": "countrySubdivisionName", "Description": { "new": "Represents the full name of the first-level administrative division (such as state, province, or region) within a country or region. This property is included only when the `countrySubdivision` value is provided in abbreviated form. Currently supported for the United States, Canada, and the United Kingdom.", "old": "The full name of a first level of country/region administrative hierarchy. This field appears only in case countrySubdivision is presented in an abbreviated form. Only supported for USA, Canada, and United Kingdom." } }, { "#name": "countrySubdivisionCode", "Description": { "new": "`countrySubdivisionCode` prefixed by `countryCode` ( countryCode-countrySubdivisionCode ) and the hyphen forms the ISO 3166-2 code. Examples: TX for Texas, SCT for Scotland and ON for Ontario.\n\nThis property is not available in the `Get Search Nearby` and `Get Search POI` API.", "old": "`countrySubdivisionCode` prefixed by `countryCode` ( countryCode-countrySubdivisionCode ) and the hyphen forms the ISO 3166-2 code. Examples: TX for Texas, SCT for Scotland and ON for Ontario." } }, { "#name": "postalCode", "Description": { "new": "A series of numbers or letters (or both) added to an address to help identify a specific geographic area. A ZIP Code is the U.S. version of a postal code, other countries/regions use other formats such as Postcode, PIN Code and PLZ.", "old": "Postal Code / Zip Code" } }, { "#name": "extendedPostalCode", "Description": { "new": "An extended postal code refers to a postal code format that goes beyond the standard set of digits to provide greater location precision. It is commonly used in systems like the U.S. ZIP+4 code or similar extended formats in other countries/regions. Availability is dependent on the region.\n\nNot available in the `Get Search Address Reverse Cross Street` API.", "old": "Extended postal code (availability is dependent on the region)." } }, { "#name": "country", "Description": { "new": "The country/region name.", "old": "country/region name" } }, { "#name": "countryCode", "Description": { "new": "A two-letter alphabetic code defined by the ISO 3166-1 Alpha-2 standard to represent a country/region and dependent territories.", "old": "Country (Note: This is a two-letter code, not a country/region name.)" } }, { "#name": "countryCodeISO3", "Description": { "new": "A three-letter alphabetic code defined by the ISO 3166-1 Alpha-3 standard to represent a country/region and dependent territories.", "old": "ISO alpha-3 country code" } }, { "#name": "freeformAddress", "Description": { "new": "An address line formatted according to the formatting rules of a result's country/region of origin, or in the case of a country/region, its full country/region name.", "old": "An address line formatted according to the formatting rules of a Result's country/region of origin, or in the case of a country/region, its full country/region name." } } ] } ] } } } } }

⚼ Request

POST:  /search/geometry/{format}
{
x-ms-client-id: string ,
api-version: string ,
format: string ,
query: string ,
limit: integer ,
language: string ,
categorySet: array ,
extendedPostalCodesFor: array ,
idxSet: array ,
searchInsideGeometryRequestBody:
{
geometry:
{
type: enum ,
}
,
}
,
view: string ,
openingHours: string ,
}

⚐ Response (200)

{
summary:
{
query: string ,
queryType: enum ,
queryTime: integer ,
numResults: integer ,
limit: integer ,
offset: integer ,
totalResults: integer ,
fuzzyLevel: integer ,
geoBias:
{
lat: number ,
lon: number ,
}
,
}
,
results:
[
{
type: enum ,
id: string ,
score: number ,
dist: number ,
info: string ,
entityType: enum ,
poi:
{
name: string ,
phone: string ,
url: string ,
categorySet:
[
{
id: integer ,
}
,
]
,
categories:
[
string ,
]
,
classifications:
[
{
code: string ,
names:
[
{
nameLocale: string ,
name: string ,
}
,
]
,
}
,
]
,
brands:
[
{
name: string ,
}
,
]
,
openingHours:
{
mode: string ,
timeRanges:
[
{
startTime:
{
date: string ,
hour: integer ,
minute: integer ,
}
,
endTime:
{
date: string ,
hour: integer ,
minute: integer ,
}
,
}
,
]
,
}
,
}
,
address:
{
buildingNumber: string ,
street: string ,
crossStreet: string ,
streetNumber: string ,
routeNumbers:
[
string ,
]
,
streetName: string ,
streetNameAndNumber: string ,
neighbourhood: string ,
municipality: string ,
countrySubdivision: string ,
countrySecondarySubdivision: string ,
countryTertiarySubdivision: string ,
municipalitySubdivision: string ,
countrySubdivisionName: string ,
countrySubdivisionCode: string ,
postalCode: string ,
extendedPostalCode: string ,
country: string ,
countryCode: string ,
countryCodeISO3: string ,
freeformAddress: string ,
localName: string ,
boundingBox:
{
northEast: string ,
southWest: string ,
entity: enum ,
}
,
}
,
position:
{
lat: number ,
lon: number ,
}
,
viewport:
{
topLeftPoint:
{
lat: number ,
lon: number ,
}
,
btmRightPoint:
{
lat: number ,
lon: number ,
}
,
}
,
entryPoints:
[
{
type: enum ,
position:
{
lat: number ,
lon: number ,
}
,
}
,
]
,
addressRanges:
{
rangeLeft: string ,
rangeRight: string ,
from:
{
lat: number ,
lon: number ,
}
,
to:
{
lat: number ,
lon: number ,
}
,
}
,
dataSources:
{
geometry:
{
id: string ,
}
,
}
,
matchType: enum ,
detourTime: integer ,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Search_PostSearchAlongRoute (updated)
Description The `Post Search Along Route` API is an HTTP `POST` request that allows you to perform a fuzzy search for POIs along a specified route. This search is constrained by specifying the `maxDetourTime` limiting measure.

To send the route-points you will use a `POST` request where the request body will contain the `route` object represented as a `GeoJSON LineString` type and the `Content-Type` header will be set to `application/json`. Each route-point in `route` is represented as a `GeoJSON Position` type i.e. an array where the _longitude_ value is followed by the _latitude_ value and the _altitude_ value is ignored. The `route` should contain at least 2 route-points.

It is possible that original route will be altered, some of it's points may be skipped. If the route that passes through the found point is faster than the original one, the `detourTime` value in the response is negative.
Reference Link ¶

⚶ Changes

{
  "#id": "Search_PostSearchAlongRoute",
  "$responses": {
    "200": {
      "$properties": {
        "results": {
          "$properties": [
            {
              "#name": "address",
              "Description": {
                "new": "The address of the result.",
                "old": "The address of the result"
              },
              "$properties": [
                {
                  "#name": "buildingNumber",
                  "Description": {
                    "new": "The building number on the street.\n\n**Important**: This property is *deprecated*. Use `streetNumber` instead.",
                    "old": "The building number on the street.\n**Important**: This property is *deprecated*. Use `streetNumber` instead."
                  }
                },
                {
                  "#name": "street",
                  "Description": {
                    "new": "The street name.\n\n**Important**: This property is *deprecated*. Use `streetName` instead.",
                    "old": "The street name.\n**Important**: This property is *deprecated*. Use `streetName` instead."
                  }
                },
                {
                  "#name": "crossStreet",
                  "Description": {
                    "new": "The name of the street being crossed.\n\nThis property is only available in the `Get Search Address Reverse Cross Street` API.",
                    "old": "The name of the street being crossed."
                  }
                },
                {
                  "#name": "streetNumber",
                  "Description": {
                    "new": "The building number on the street.\n\nNot available in the `Get Search Address Reverse Cross Street` API.",
                    "old": "The building number on the street."
                  }
                },
                {
                  "#name": "routeNumbers",
                  "Description": {
                    "new": "The codes used to unambiguously identify the street.\n\nOnly available for the Search Address Reverse APIs.",
                    "old": "The codes used to unambiguously identify the street"
                  }
                },
                {
                  "#name": "streetNameAndNumber",
                  "Description": {
                    "new": "The street name and number.\n\nOnly available for the Search Address Reverse APIs.",
                    "old": "The street name and number.\nOnly available for the Search Address Reverse APIs."
                  }
                },
                {
                  "#name": "municipality",
                  "Description": {
                    "new": "City / Town 
Note: `municipality` represents the residential municipality. Depending on the location, the `municipality` value may differ from the commonly known name of a city or town. For the commonly known name of the city or town, it's suggested that the `localName` value be used instead of the `municipality` value.", "old": "City / Town
Note: `municipality` represents the residential municipality. Depending on the location, the `municipality` value may differ from the commonly known name of a city or town. For the commonly known name of the city or town, it\u2019s suggested that the `localName` value be used instead of the `municipality` value." } }, { "#name": "countrySubdivision", "Description": { "new": "The primary administrative division within a country, such as a state, province. It is used to represent the first-level subdivision below the national level.", "old": "State or Province" } }, { "#name": "countrySecondarySubdivision", "Description": { "new": "The second-level administrative division within a country/region. It identifies a subdivision that is below the primary subdivision, such as state or province, but above smaller units like municipalities or neighborhoods. Examples include *County* in the United States and *District* in the United Kingdom.", "old": "County" } }, { "#name": "countryTertiarySubdivision", "Description": { "new": "The third-level administrative division within a country/region. It provides even finer granularity than the secondary subdivision (such as county or district). Examples include municipalities such as a city, town, village, borough, or township and neighborhoods a smaller, informal geographic area within a municipality such as Capitol Hill, Green Lake, and Wallingford in Seattle.", "old": "Named Area" } }, { "#name": "municipalitySubdivision", "Description": { "new": "A subdivision within a municipality. It represents a smaller administrative or geographic unit inside a city, town, or other municipal entity.", "old": "Sub / Super City" } }, { "#name": "countrySubdivisionName", "Description": { "new": "Represents the full name of the first-level administrative division (such as state, province, or region) within a country or region. This property is included only when the `countrySubdivision` value is provided in abbreviated form. Currently supported for the United States, Canada, and the United Kingdom.", "old": "The full name of a first level of country/region administrative hierarchy. This field appears only in case countrySubdivision is presented in an abbreviated form. Only supported for USA, Canada, and United Kingdom." } }, { "#name": "countrySubdivisionCode", "Description": { "new": "`countrySubdivisionCode` prefixed by `countryCode` ( countryCode-countrySubdivisionCode ) and the hyphen forms the ISO 3166-2 code. Examples: TX for Texas, SCT for Scotland and ON for Ontario.\n\nThis property is not available in the `Get Search Nearby` and `Get Search POI` API.", "old": "`countrySubdivisionCode` prefixed by `countryCode` ( countryCode-countrySubdivisionCode ) and the hyphen forms the ISO 3166-2 code. Examples: TX for Texas, SCT for Scotland and ON for Ontario." } }, { "#name": "postalCode", "Description": { "new": "A series of numbers or letters (or both) added to an address to help identify a specific geographic area. A ZIP Code is the U.S. version of a postal code, other countries/regions use other formats such as Postcode, PIN Code and PLZ.", "old": "Postal Code / Zip Code" } }, { "#name": "extendedPostalCode", "Description": { "new": "An extended postal code refers to a postal code format that goes beyond the standard set of digits to provide greater location precision. It is commonly used in systems like the U.S. ZIP+4 code or similar extended formats in other countries/regions. Availability is dependent on the region.\n\nNot available in the `Get Search Address Reverse Cross Street` API.", "old": "Extended postal code (availability is dependent on the region)." } }, { "#name": "country", "Description": { "new": "The country/region name.", "old": "country/region name" } }, { "#name": "countryCode", "Description": { "new": "A two-letter alphabetic code defined by the ISO 3166-1 Alpha-2 standard to represent a country/region and dependent territories.", "old": "Country (Note: This is a two-letter code, not a country/region name.)" } }, { "#name": "countryCodeISO3", "Description": { "new": "A three-letter alphabetic code defined by the ISO 3166-1 Alpha-3 standard to represent a country/region and dependent territories.", "old": "ISO alpha-3 country code" } }, { "#name": "freeformAddress", "Description": { "new": "An address line formatted according to the formatting rules of a result's country/region of origin, or in the case of a country/region, its full country/region name.", "old": "An address line formatted according to the formatting rules of a Result's country/region of origin, or in the case of a country/region, its full country/region name." } } ] } ] } } } } }

⚼ Request

POST:  /search/alongRoute/{format}
{
x-ms-client-id: string ,
api-version: string ,
format: string ,
query: string ,
maxDetourTime: integer ,
searchAlongRouteRequestBody:
{
route: object ,
}
,
limit: integer ,
brandSet: array ,
categorySet: array ,
connectorSet: array ,
view: string ,
openingHours: string ,
}

⚐ Response (200)

{
summary:
{
query: string ,
queryType: enum ,
queryTime: integer ,
numResults: integer ,
limit: integer ,
offset: integer ,
totalResults: integer ,
fuzzyLevel: integer ,
geoBias:
{
lat: number ,
lon: number ,
}
,
}
,
results:
[
{
type: enum ,
id: string ,
score: number ,
dist: number ,
info: string ,
entityType: enum ,
poi:
{
name: string ,
phone: string ,
url: string ,
categorySet:
[
{
id: integer ,
}
,
]
,
categories:
[
string ,
]
,
classifications:
[
{
code: string ,
names:
[
{
nameLocale: string ,
name: string ,
}
,
]
,
}
,
]
,
brands:
[
{
name: string ,
}
,
]
,
openingHours:
{
mode: string ,
timeRanges:
[
{
startTime:
{
date: string ,
hour: integer ,
minute: integer ,
}
,
endTime:
{
date: string ,
hour: integer ,
minute: integer ,
}
,
}
,
]
,
}
,
}
,
address:
{
buildingNumber: string ,
street: string ,
crossStreet: string ,
streetNumber: string ,
routeNumbers:
[
string ,
]
,
streetName: string ,
streetNameAndNumber: string ,
neighbourhood: string ,
municipality: string ,
countrySubdivision: string ,
countrySecondarySubdivision: string ,
countryTertiarySubdivision: string ,
municipalitySubdivision: string ,
countrySubdivisionName: string ,
countrySubdivisionCode: string ,
postalCode: string ,
extendedPostalCode: string ,
country: string ,
countryCode: string ,
countryCodeISO3: string ,
freeformAddress: string ,
localName: string ,
boundingBox:
{
northEast: string ,
southWest: string ,
entity: enum ,
}
,
}
,
position:
{
lat: number ,
lon: number ,
}
,
viewport:
{
topLeftPoint:
{
lat: number ,
lon: number ,
}
,
btmRightPoint:
{
lat: number ,
lon: number ,
}
,
}
,
entryPoints:
[
{
type: enum ,
position:
{
lat: number ,
lon: number ,
}
,
}
,
]
,
addressRanges:
{
rangeLeft: string ,
rangeRight: string ,
from:
{
lat: number ,
lon: number ,
}
,
to:
{
lat: number ,
lon: number ,
}
,
}
,
dataSources:
{
geometry:
{
id: string ,
}
,
}
,
matchType: enum ,
detourTime: integer ,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}