Skip to main content
The insideBoundingBox parameter defines rectangles in which to search. Only records with coordinates (_geoloc attribute) within these rectangles are included in the search results. Each rectangle is defined by the latitude and longitude of two diagonally opposite corners (p1Lat, p1Lng, p2Lat, p2Lng).

Usage

  • Use a list of 4 numbers for one rectangle. For example: [47.3165, 4.9665, 47.3424, 5.0201]
  • Use multiple rectangles by:
    • Providing a longer flat list (must be multiples of 4: 8, 12, 16, … values). For example: 47.3165,4.9665,47.3424,5.0201,40.9234,2.1185,38.6430,1.9916.
    • Using a list of lists, each list with 4 values. For example: [[47.3165, 4.9665, 47.3424, 5.0201], [40.9234, 2.1185, 38.6430, 1.9916]].
    • Records that are in either rectangle will be returned
  • aroundLatLng and aroundLatLngViaIP will be ignored if used along with this parameter.
  • Can’t be combined with insidePolygon. If both are present, only insideBoundingBox is applied.
  • Be cautious when specifying rectangles that cross the 180th meridian.

Examples

Search inside one rectangle

Current API clients

Search inside multiple rectangles

Current API clients

Last modified on May 19, 2026