nearby_pois
Nearby points of interest and the travel time to each, from a location (metered: 1 token per returned row). One origin: block_geoid or lat+lon; keep limit small to control spend and context size. Many origins (up to 250): block_geoids or points — one batch call and one rate-limit request, rows tagged by origin, no limit/pagination, so filter with type/mode/max_minutes. Batching saves requests and context, not tokens: it still charges per row. A non-empty truncated (+ truncated_reason) means the balance or row budget cut the batch short.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | No | ||
| lon | No | ||
| mode | No | walk, bike, or transit. | |
| type | No | Destination type id (see get_catalog). | |
| limit | No | Max rows (first page). | |
| points | No | Many lat/lon points — one batch call. | |
| block_geoid | No | ||
| max_minutes | No | Upper bound on travel time (<=30). | |
| block_geoids | No | Many block GEOIDs — one batch call. |