There is an inconsistency between the values given with the gsbbox parameter and the results of the geosearch query.
The de-fact bounding box seems to be significantly different than the xmin and xmax values used in the gsbbox parameter.
For example, the output of [a query using gsbbox=37.8|-122.3|37.7|-122.4](https://en.wikipedia.org/w/api.php?action=query&list=geosearch&gsbbox=37.8|-122.3|37.7|-122.4&format=json) includes includes a result with "lon": 57.63055555555555
{ "pageid": 35718195, "ns": 0, "title": "Qaleh-ye Ali Mohammad", "lat": 37.75055555555556, "lon": 57.63055555555555, "dist": 1710.7, "primary": "" },
Similarly, the output of [a query using gsbbox=30.41|145.05|30.33|145.03](https://en.wikipedia.org/w/api.php?action=query&list=geosearch&gsbbox=30.41|145.05|30.33|145.03&format=json) includes a result with "lon": -9.69:
{ "pageid": 9464907, "ns": 0, "title": "1960 Agadir earthquake", "lat": 30.35, "lon": -9.69, "dist": 2419479.9, "primary": "" },
The shift in the first example seems to be about +180 and the shift in the second example is about -155.
This may or may not be related to the unconventional coordinate order of gsbbox - ymax|xmax|ymin|xmin.