Hi Martin,
there is a big difference between using a Query API that takes a string of characters and a structured address API that takes components of the address separately. The Query API will take one character at a time and try to match against multiple parts of an address. For higher accuracy you can remove ambiguity if you know the address components and separate them in the call.
See the sample GET https://atlas.microsoft.com/geocode?api-version=2025-01-01&addressLine=15127 NE 24th Street&adminDistrict=WA&locality=Redmond
This points the geocoder to which part is the street address, City and Sate separately so the house number will not be matched to a postal code for example. Your breakouts could be:
addressLine=
locality=
postalCode=4460
countryRegion=
If you know the address breakdown, it is always best to use it as it will provide results with better context.
Sincerely,
IoTGirl