Jaa


Local Insights Data

Note

Bing Maps Local Insights API retirement

The Bing Maps Local Insights API is deprecated and will be retired on 9/30/2024. To avoid service disruptions, all implementations using Bing Maps Local Insights API will need to be updated to use Azure Maps by 9/30/2024.

Azure Maps is Microsoft's next-generation maps and geospatial services for developers. Azure Maps has many of the same features as Bing Maps for Enterprise, and more. To get started with Azure Maps, create a free Azure subscription and an Azure Maps account. For more information about azure Maps, see Azure Maps Documentation. For migration guidance, see Bing Maps Migration Overview.

Description of a successful Local Insights request. Please see Type Identifiers for a list of business types.

LocalInsightsResponse

JSON XML Field Description
typeResults TypeResults List of business type resources.
origin Origin Latitude and longitude of the center of the isochrone.

Origin Field Example

"origin": {
   "latitude": 47.811091,
   "longitude": -122.369512
}

Business Category Type Resource

JSON XML Field Description
categoryTypeName CategoryTypeName String name/ID for the specified category.
categoryTypeSummary CategoryTypeSummary Summary of how many entities fall under this type, given the specified time or driving limits.

Example: 5 Department Stores in 30 Minutes by Driving
entities Entities List of entity resources.

Entity Resource

JSON XML Field Description
entityName EntityName Name of entity.
latitude Latitude Latitude of entity.
longitude Longitude Longitude of entity.

Example

{
   "__type": "LocalInsightsResponse:http://schemas.microsoft.com/search/local/ws/rest/v1",
   "categoryTypeResults": [
   {
      "categoryTypeName": "Parks",
      "categoryTypeSummary": "5 Parks in 10 Miles by Driving",
      "entities": [
         {
         "entityName": "Richmond Beach Center Park",
         "latitude": 47.77205339744016,
         "longitude": -122.38522949061662
         },
         {
         "entityName": "Meadowdale Playfields",
         "latitude": 47.84778315817534,
         "longitude": -122.32521969622377
         },
         {
         "entityName": "Drug Rehab Lake Forest Park",
         "latitude": 47.7546081542969,
         "longitude": -122.277923583984
         },
         {
         "entityName": "Lake Forest Park City Hall",
         "latitude": 47.75391081186926,
         "longitude": -122.27754771953607
         },
         {
         "entityName": "Dogwood Play Park",
         "latitude": 47.72104,
         "longitude": -122.29211
         }
      ]
   },
   {
      "categoryTypeName": "Parking",
      "categoryTypeSummary": "0 Parking in 10 Miles by Driving",
      "entities": []
   }
   ],
   "origin": {
   "latitude": 47.811091,
   "longitude": -122.369512
   }
}