none
Using bing location from query RRS feed

  • Question

  • Good Morning.

    I am trying to implement in my application places searching by its names (mostly companies names). As result I expects full company name, phones, web-site, e-mail... I have it already implemented with Google API usage and works great. My goal is to support also Bing API. Here my question. If I open web browser with Bing map site I can search places just by typing names or even web-sites like "spedition-feldmann.de", after press enter key I am receiving list of found places. But if I am trying to use (http://dev.virtualearth.net/REST/v1/Locations/) find location by query in most cases I am receiving nothing or some nonsense items. 
    Does Bing-Map website also uses these Bing APIs (like http://dev.virtualearth.net/REST/v1/Locations/)? What is the difference? What kind of API should I use to find addresses by query string? Is Bing API at all suitable for this? Or just stop wasting time and stay with Google only?
    Wednesday, February 19, 2020 11:16 AM

All replies

  • I think you are looking for Bing Search, not Bing Maps.  Look at the Entity Search option at https://docs.microsoft.com/en-us/azure/cognitive-services/bing-web-search/bing-api-comparison
    Wednesday, February 19, 2020 5:21 PM
    Owner
  • Thank you very much, I have tried this entity API, I do not think so this is what I am looking for. I need company name, address, phone, e-mail, website - exactly like Bing maps web site is showing after text insert and search button click. By the way when I will give as query for this entity API even some good know places in my area the json result in most cases is empty (just repeated my query). So I assume this is very poor tool.
    Thursday, February 20, 2020 8:15 AM
  • The information such as company name and email address come from the search APIs and is not "Bing Maps".  You are referring to the web information panel not the map itself.  To state it another way, what you see in that panel is a web search not a map item.  Please try the sample at https://azure.microsoft.com/en-us/services/cognitive-services/bing-entity-search-api/ and choose "El Gaucho" to see the data you are looking for.

    To Key just on businesses, you can also try the Business Search API at https://docs.microsoft.com/en-us/azure/cognitive-services/bing-local-business-search/local-search-reference but please also note that this is a Bing Search API not Bing Maps


    Thursday, February 20, 2020 4:57 PM
    Owner
  • Hi, thank you for your replay. I am just testing the example link to entity search API:

    It seems to work ONLY :) with "El Gaucho", but let's try e.g. with "Spedition feldmann" (this is transport company in Germany, google maps can find it perfectly, Bing maps also can find it). Unfortunately this bing-entity-api not. I have tested dozens of companies I know and in all cases the result of the call to "entity API" is NOTHING. If you have some more experience, then maybe you know how is it possible Bing map website can find it and none from API's can? Maybe these APIs for developers works only on US market (As I can see in the case of entity API I needed to add to web query, parameter mkt=en-US, no other value was accepted [request error]).

    So, my the last question: Are these public Bing Search API able to return any valuable information or this is just a time wasting and Bing maps have some internal API to show panels with found companies data and it is absolutely not possible to implement similar functionality in my application (using Bing search). As I mentioned before I have already implemented this with Google and works perfectly. 

    Regards

    Rafal

    Monday, February 24, 2020 12:48 PM
  • Hi Rafal,

    First, and again, this is not a Bing Maps API.  You keep mentioning Bing Maps and I want to be clear, you should be talking to the Bing Search & Local Search teams.  The big difference here is that Google has it's own data for both B2C ( Business to consumer ) and B2B  (Business to business ) while Microsoft partners with suppliers for much of the data your see in the public B2C site (Bing.com). If the supplier has not given us permission to use that with a B2B context (Bing APIs), Microsoft can not pass it through an API.  Much like Microsoft, Google does not have this restriction as the data is theirs and "Spedition feldmann" supplies their company details to Google.

    So the issue you are seeing is not an internal API but rather a rights issue.  For companies to provide their data directly to Microsoft, we offer "Bing Places".  If "Spedition feldmann" were to claim their business at https://www.bingplaces.com/, much like they must have done with Google for their business to come through the Google B2B APIs, they would appear in Bing Search B2B results.

    Sincerely,

    IoTGirl

    Monday, February 24, 2020 4:46 PM
    Owner
  • Hi,

    Thank you very much for these clarifications and your time. I will try yet to contact with Bing Search API team for more information about possibilities. If will not be possible to implement usable functionality with Bing then will stay with Google.

    Regards 

    Rafal.

    Tuesday, February 25, 2020 6:46 AM
  • Hi Rafal,

    You should absolutely go with the service that meets your needs.  The larger doc set for the Bing APIs is at https://docs.microsoft.com/en-us/azure/cognitive-services/bing-web-search/

    There might be other APIs, such as autosuggest, that meet your needs and I recommend checking out the Bing for Partners page at https://www.bing.com/partners for details on what they have to offer.

    Sincerely,

    IoTGirl

    Thursday, February 27, 2020 10:52 PM
    Owner