Status on nominatim.openstreetmap.org

Hello all,

Testing the endpoint via https://nominatim.openstreetmap.org/status and am getting a 403 error code, anyone know why the request is being denied?

Welcome. Can you please provide a bit more details? How exactly are you making the request? I make a GET request to https://nominatim.openstreetmap.org/status?format=json, as described in the documentation, and get a proper response.

If you are doing the same, it could be your network, I guess. Are you on a VPN?

2 Likes

Hi @hafridi98 and welcome here,

probably your request didn’t meet the Nominatim Usage Policy (aka Geocoding Policy)

As @hocu asked

Best regards

3 Likes

Hello all and thank you for the reply,

I think I know the issue. I am doing a bulk request, which is not recommended. In addition, I do not think I spread my request across time and may have broken the 1 second limit between each request. Finally, and I doubt this is the case since the block of code failed, but I should be caching my responses.

Again, block of code failed on first request and so need to check to see if my IP has been blocked for breaking the policy on the first two points. I will review the policy (should have done that first), and then alter my app to manage requirements. Once done, do either of you know how to get my IP unblocked lol?

Thanks again for the input, very helpful to see the policy of usage.

PS. Also did not follow some of the requirements and so maybe not blocked, will have to try again

1 Like

Hi @hocu, I am originally using Nominatim to validate countries for which I have lat and long data. see below for the request I was originally making:

https://nominatim.openstreetmap.org/reverse?format=jsonv2&lat={lat}&lon={lng}

I have also tried passing headers for a sample User Agent, but am still getting a 403.

Perhaps I broke the policy in the past given that my request were not adhering 1 second time interval but the status request is also throwing a 403 error for me. the error response is follows:

Error: 403 Client Error: Forbidden for url: https://nominatim.openstreetmap.org/status?format=json&User-Agent={client}%2F{app version}+{email}

1 Like