Closest places by driving time
bl_nearest_by_driveRank nearby places of a given type by current-traffic drive time from a point, returning quickest options first to find the nearest reachable pharmacy, gas station, or hospital.
Instructions
Rank places of one kind around a point by driving time from it in current traffic, quickest first.
Use it for "which pharmacy / gas station / hospital can I reach fastest from here". It takes Balad's top
candidates places of that kind in the box (as bl_nearby lists them) and times a drive to each (one route
call per place). Places Balad cannot route to are left out. For more places without drive times use
bl_nearby; for details of the winner call bl_place.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | Yes | Latitude in degrees, e.g. 35.7448. | |
| lng | Yes | Longitude in degrees, e.g. 51.3753. | |
| what | Yes | A category slug from bl_categories (e.g. pharmacy, restaurant, gas-station, atm) or free text (e.g. پیتزا, کافه). | |
| open_now | No | Only places Balad marks as open right now. | |
| radius_km | No | Search box half-width in km, e.g. 3 (0.5-20). | |
| candidates | No | How many of Balad's top places to time (2-8). |