Skip to main content
The insidePolygon parameter restricts search results to records located within one or more geographic polygons. Each polygon is defined by a series of latitude/longitude points (lat1, lng1, lat2, lng2, …), with at least 3 points (6 values). You can specify:
  • A single polygon as a flat list of numbers
  • Multiple polygons as a list of such lists

Usage

  • Minimum of 3 coordinate pairs (6 values) per polygon
  • Up to 10,000 coordinate pairs supported per request
  • If both insidePolygon and insideBoundingBox are specified, only insideBoundingBox is applied
  • aroundLatLng and aroundLatLngViaIP will be ignored if used with insidePolygon.
  • To match all records within the polygon, send an empty query ("")
  • Avoid polygons that cross the 180th meridian

Examples

Search inside a single polygon

Current API clients

Search inside multiple polygons

Current API clients

Search inside multiple polygons

Current API clients

Last modified on May 19, 2026