find_near
Farms AND coordination points (farmers' markets, off-farm pickup points, stockists) within a radius of a point or a named place, ordered by distance, optionally filtered by what is sold (species ids or a good slug), a farming practice, a service category, or an event type. Points carry their schedule and the farms present. Distances are straight-line from each farm's PUBLIC map point, or pass distance="road" for cached driving distance + minutes (cold pairs are filled once per call, capped). This is the "where can I get X near here — and where on Saturday" primitive.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | No | Latitude of the centre. Pass lat+lng OR place. | |
| lng | No | Longitude of the centre. | |
| good | No | A goods slug from list_goods (e.g. "grass-fed-beef") — expands to its species and practice scope. | |
| page | No | Page number. | |
| kinds | No | Point kinds to include (default all). | |
| limit | No | Results per page, applied to farms and points separately (default 25). | |
| place | No | A place slug from list_places, e.g. "calgary", "alberta/calgary" or "alberta". Its centroid becomes the centre and its reach the default radius. | |
| include | No | What to return: farms, points (markets / pickups / stockists), or both (default). | |
| species | No | species ids (from search_farmdex / get_place_catalogue), OR-matched, e.g. ["cattle-taurus"]. | |
| distance | No | straight (default) = geodesic from the public point. road = driving km + minutes from the shared 90-day cache; a bounded number of cold pairs are routed fresh per call, the rest carry straight-line only until warmed. Maps-hidden farms never carry road figures. | |
| practices | No | farming practice ids from list_filters, e.g. ["rotationalGrazing"]. | |
| radius_km | No | Search radius in km (default: the place's reach, else 50; max 300). | |
| event_types | No | event type slugs from list_filters, e.g. ["berry-picking"]. | |
| service_categories | No | service category slugs from list_filters, e.g. ["hay-feed-forage"]. |