Why does the Bing maps API return such poor results compared to the website


  • If I sent a query to key..

    the response not only fails to find the Tesco store there but returns a bunch of bad guesses based in other parts of the world.  If I include "Ireland" at the end of the query the response is actually _worse_ because it seems to think I'm asking for the whole country.

    If I go to and just type "Tesco superstore, Finglas Clearwater" into the search bar it immediately locates the store and shows it on the map.

    How can I get query results from the API more consistent with what I experience on the webpage?  At the moment the API feels like an abandoned product (still on V1, poor docs, poor responses etc).  Should I be using an alternative API/product?

    Thursday, January 10, 2019 12:12 PM

All replies

  • Hi nmacmull,

    The locations call you are using is an unstructured call that takes the words in priority order left to right.  You are comparing it to the Autosuggest structured query that uses the keystrokes entered, also from left to right, to give suggestions.

    1,  You are using the least precise Location query call.  I suggest you review some of the other more structured calls available at

    2, The experience you are using as a comparison is Autosuggest.  You can find the details of that API here  If you are specifically looking for a business, there is a modifier for that as well... you can try the experience at



    Thursday, January 10, 2019 7:14 PM
  • IoTGirl, thanks for the reply.  The AutoSuggestion API looks promising but unfortunately I can't get it (or the businesses version) to provide useful results.  Here's the same query using that API and deliberately using a userLocation right next to the target result.,-6.292044,10&includeEntityTypes=Business&key=...

    In this case the response simply contains an empty value array in the resources.

    Really what I'm looking for is an API that does the same kind of inference that the Bing Maps web search does. In my application I've only got a poorly-formatted textual description of the target and want to start by just treating this as a raw query. Alternatively put, I just want a programmatic interface to the search box (and results!) on !

    It  seems that none of the available APIs provide this kind of free-form query - are there any plans to introduce one?

    Thursday, January 10, 2019 11:35 PM
  • Hi nmacmull,

    What experience do you get without the business entity type called out?  I might suggest you try this option instead: 

    I replaced the co-ordinates in the sample with yours ( and recieved the following result:

    82 Glenhill Road, Dublin, County Dublin, IE

    Nearby entities:
    Glasnevin, Clearwater Shopping Centre
    Clearwater Retail Park
    Brian Duggan Dentist
    DID Electrical
    Flaherty Patk
    Finglas South, Ardmore Hotel
    Clearwater Shopping Centre
    Burger King
    Gerard Ridgeway Carpet Sales
    Finglas South, Finglas Road

    I don't see Tesco in this list, is it new?  If I search for Tesco, I find one near (53.284847, -6.238434) and it does appear in that list

    2 Ardglas Estate, Dublin, County Dublin, IE

    Nearby entities:
    Dundrum Town Centre
    Baby Elegance
    Rainforest Adventure Golf
    Ballinteer, Pallottine Fathers
    Ballinteer, Sandyford Road
    TK Maxx
    Cycle Surgery
    The Rockfield Lounge



    Monday, January 14, 2019 8:19 PM
  • Thanks IoTGirl.

    Note - i realised that the earlier examples I used above specified 'superstore' where they should actually have read "extra" but the results are the same regardless.

    Dropping the "businessentities" flag doesn't make any difference. 

    Wrt to the lookupentities API,   unless I'm missing something, that API requires a starting lat/long?   As I said, in my use case, I have a set of textual strings with little contextual information and I am trying to  turn them into lat/longs  for consumption by a desktop application.  I.e. I just want to do basic geocoding of fuzzy data.  I appreciate I'm going to have apply some filtering to the results to find the right entity match but at the moment I can't even come close with the Bing API.  

    In contrast, this Google API does a much better job...

    It correctly identifies the large building that contains the store (though annoying fails to use the string "Tesco" in the response).  

    It's particularly frustrating when, as I say, clearly _does_ know where the target location is! ;-)


    Tuesday, January 15, 2019 12:38 PM
  • Hi Neil,

    I'll pass this thread up to the Bing Maps folks and see what they say.



    Tuesday, January 15, 2019 6:45 PM
  • Hi Neil,

    The AutoSuggest team state that the Bing Maps website actually provides a bounded region based on the map being shown.  As you do not provide that bounded region, you will get different results.  See UserMapView & UserCircularView at



    22 hours 56 minutes ago