Ahmm, if you are getting a 509 response your issue has nothing to do with the rate limiting discussed here. You are being rate limited on download (not on upload, the issue discussed here), and given that you have to try -real- hard to do that, I suspect your app is broken/doing something wrong. That rate limiting is based on IP addresses AFAIK so likely you are just downloading too much from one address (which kind of seems what you are doing).

If you use an authenticated connection (that is use an OSM account to authenticate yourself with OAuth 2) to the OSM API things should be better.

PS: see API v0.6 - OpenStreetMap Wiki assuming you are using the map call for downloading the data.

3 Likes