Issues with Pin Code (Postal/ZIP code)

Hi, Recently we have been using OSM for working around a correct address for a location pin, but there are some issues we are facing with regards to the response zip code coming in from OSM API for the Location pin.

The Pin code is incorrect for various places and it alters drastically in less than 10 m distance from an original point.

Can someone help as to how this can be taken care off?

I think this is because the database for the ZIP code has not been updated from the OSM side. This is not just for India (Where I am currently facing the most issues) but in European countries too.
Please refer to these screenshots to understand the issue at hand.

I cannot add other screenshot, so I am putting it as a link

Imgur

Thanks!

OSM is a map that you can edit yourself. If you know (from a source that is compatible with OSM, such as survey) that a particular building has a particular postal code you can edit OSM to add it. If this information is not added then Nominatim (which you seem to be using) will return less accurate results.

In particular I’d suggest using https://nominatim.openstreetmap.org/ui/search.html to get more information about why it is returning what it is returning.

This is the incorrect ZIP code, whereas the other one is the correct ZIP Code.