washington DC USA area query = 400 Error

hello, I am getting some very strange result from the server:

wget -O dc.osm “http://api.openstreetmap.org/api/0.6/map?bbox=-77.15,38.85,-77.00,39.0” ==> 2017-03-30 17:37:19 ERROR 400: Bad Request.

but this works:

wget -O dc.osm “http://api.openstreetmap.org/api/0.6/map?bbox=-76.15,38.85,-76.00,39.0” ==> HTTP request sent, awaiting response… 200 OK


Even though the bounding box seems to be the same size, there is probably more data volume in the first one. This is common.
Keep in mind that this API you’re using is meant for editing, not consuming data (you get most recent data “from the source”, so no edit conflicts due to outdated data). For other applications, read-only Overpass API is more suited and faster. Search for “Overpass API map call”. Data in Overpass API is usually up to a minute or a few.