Dataset

Query API - Bing Spatial Data Services

Added By mariavs

You can use the Query API to query a data source for information about entities in that data source. For example, if the data source contains restaurant entities, you can query for French restaurants nearby or you can get information about a specific restaurant. A query response can contain a maximum number of 250 results.

Below are some ways you could use the Query API to search a data source that contains information about a set of restaurants:

  • Use Query by Area to search for all restaurants within 20 kilometers.
  • Use Query by Area to search for all restaurants within 20 kilometers that are open on Sundays and that serve French food.
  • Use Query by Property to search for all restaurants that have more than 20 employees.
  • Use Query by ID to search for the resaturant entity that has an entity ID of “410”.