Bing Rest API: addressLine Not in response line

Bob Dole 6 Reputation points
2022-09-19T19:37:31.577+00:00

No matter what I do, The address line does not show up in my results

It showed up a few weeks ago and I didn't change anything since then.
I have tried including and replacing strictMatch with:

  • include=queryParse
  • include=addressLine
  • include=streetAddress

My url is
https://dev.virtualearth.net/REST/v1/Locations?adminDistrict=Washington&locality=Redmond&postalCode=98052&addressLine=1%20Microsoft%20Way&maxResults=1&strictMatch=1&key={my api Key)

My results now only includes:
"address":{
"adminDistrict":"WA",
"adminDistrict2":"King County",
"countryRegion":"United States",
"formattedAddress":"98052, WA",
"locality":"Redmond",
"postalCode":"98052"
},

How do I get it to start showing up?

Azure Maps
Azure Maps

An Azure service that provides geospatial APIs to add maps, spatial analytics, and mobility solutions to apps.


Answer recommended by moderator
Bob Dole 6 Reputation points
2022-09-20T14:39:47.937+00:00

It seems like the API was just misbehaving yesterday. Today's responses include the addressLine in the queryParse and Addressline. I looked into that API and I wasn't able to get it to work with a generated API key

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

0 additional answers

Sort by: Oldest

Your answer

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