Search API

Local Search

Use location to filter your data

You can narrow your results or filter on geography components:

  • Arround a geographical point using it’s latitude and longitude : lat, lng and at a maximal distance from it using radius.
  • Find assets nearby a polyline using an encoded_polyline and inside a defined radius.

radius (unit in meters) is mandatory to the request either for point filter, or polyline.

zone (boolean) returns the stores that possess a zone intersecting the provided point.

This filters doesn’t belong to the query parameter. They are others parameters.

For example, to search for assets within a three-kilometre radius of a given point:

curl 'https://api.woosmap.com/stores/search/\
?private_key={private_key}&query='your_query'&lat=43.3&lng=3.883&radius=3000'