How to find ypid.XXXX of a business profile using any of Bing search APIs?

K T MOHAMMED SULAIM 0 Reputation points
2023-03-30T09:19:25.2866667+00:00

Hi,

I'm developing a business profiles management software where we're submitting business profiles in bulk to Bing and display the status over there. But, unfortunately we couldn't find a way to provide a link to Bing maps that represents a particular business profile. I've tried Bing Maps Custom URL, but it does not work for everyone even if I set the centre point with exact geocode of the business profile.

Any help would be appreciated

Azure Maps
Azure Maps
An Azure service that provides geospatial APIs to add maps, spatial analytics, and mobility solutions to apps.
798 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. rbrundritt 19,831 Reputation points Microsoft Employee
    2023-03-30T15:45:46.48+00:00

    I'm not aware of any support for searching by ypid in Bing Maps. Note that Bing aggregates business data from multiple provides and IDs can change over time and should not be stored. One method you can link to a specific business on the Bing Maps website is by creating a URL that is centered over it's location and searches for the businesses name. Here is what the URL format looks like:

    https://bing.com/maps/default.aspx?where1=[business name]&cp=[latitude]~[longitude]
    

    For example, the following URL should display the Archer Hotel in Redmond, WA: https://bing.com/maps/default.aspx?where1=Archer+Hotel+Redmond&cp=47.668804~-122.120689

    Optionally set the zoom level to make the map more focused, for example &lvl=16

    https://bing.com/maps/default.aspx?where1=Archer+Hotel+Redmond&cp=47.668804~-122.120689&lvl=16

    I created these URLs based on this documentation: https://learn.microsoft.com/en-us/bingmaps/articles/create-a-custom-map-url


  2. IoTGirl 3,461 Reputation points Microsoft Employee
    2023-04-03T18:42:24.4366667+00:00

    I believe "ypid" would be a "Yellow Pages" ID and therefore unique to that provider. However, if you are adding "Business Profiles" you should reach out to "Bing Places" and they can provide you a better understanding of what they need for business profiles. Create an account at https://www.bingplaces.com/ and then you can create a support case when you are logged in to get an answer to this question and any others regarding businesses in Bing.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.