Balad Maps
v0.2.2Read-only Balad (balad.ir) Iran map: places nearby or on the way, details, reviews, driving routes.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
bl_search Search places and addresses
Search Balad (Iranian map) for places, streets, neighbourhoods and cities by name, with coordinates and address. Also geocodes addresses and city names. Pass lat/lng when searching outside Tehran (nearer results rank first). `type` is poi (pass its `id` to bl_place), road, city, region or category (its `category` slug goes to bl_nearby). For all places of one kind use bl_nearby. Empty: try a shorter or Persian query.
| Parameter | Type | Description |
|---|---|---|
query * | string | Place name, street, address, neighbourhood or city, e.g. برج میلاد. |
lat | Latitude to search around. Default: Tehran. | |
limit | integer | Max results (1-20). |
lng | Longitude to search around. Default: Tehran. |
bl_nearby Nearby places by category
List places of one kind (pharmacy, restaurant, gas station...) around a point, with address, phone and rating. Balad's own order, each with straight-line `distance_km`. Free text naming a category (پیتزا) lists that whole category (`category` says which). Get the point from bl_search. For driving time use bl_nearest_by_drive; for places on a trip bl_along_route; for hours and reviews bl_place with `id`. Empty: widen radius_km or drop filters.
| Parameter | Type | Description |
|---|---|---|
lat * | number | Latitude, e.g. 35.7448. |
lng * | number | Longitude, e.g. 51.3753. |
what * | string | Category slug from bl_categories (e.g. pharmacy, gas-station) or free text (e.g. پیتزا). |
limit | integer | Max places (1-40). |
min_rating | Only places rated above this. | |
open_now | boolean | Only places open now. |
price | Restaurants and cafes only. | |
radius_km | number | Box half-width in km (0.2-20). |
sort | string | rating = best first, popular = most visited. |
with_phone | boolean | Only places with a phone number. |
with_photos | boolean | Only places with photos. |
bl_place Place details
Get one place's full details from Balad: address, phones, hours, open now, rating, amenities, photos, reviews. `hours` maps each weekday (شنبه..جمعه) to its hours; `menu` is the menu link. More reviews: bl_reviews; directions: bl_route with its lat/lng.
| Parameter | Type | Description |
|---|---|---|
id * | string | Place id from bl_search or bl_nearby. |
photos | integer | Photo URLs to include (0-20). |
reviews | integer | Recent reviews to include (0-10). |
bl_reviews Place reviews
Get one page of user reviews of a place on Balad, newest first, with stars and the rating breakdown. When `more` is true, call again with page+1. bl_place already includes the first few reviews.
| Parameter | Type | Description |
|---|---|---|
id * | string | Place id from bl_search or bl_nearby. |
page | integer | Page (10 reviews each, 1-100). |
bl_reverse_geocode Address of a point
Turn coordinates into a Persian street address with city, county and neighbourhood (reverse geocoding). For the opposite (name -> coordinates) use bl_search. Iran only; elsewhere it errors.
| Parameter | Type | Description |
|---|---|---|
lat * | number | Latitude, e.g. 35.7448. |
lng * | number | Longitude, e.g. 51.3753. |
bl_route Driving route with live traffic
Get driving routes in Iran with distance, travel time in current traffic, tolls, roads and traffic-zone warnings. Up to 3 routes, suggested first; `notes` are the site's labels (delay, toll in Toman); `traffic_plan` appears when a route enters a restricted zone (طرح ترافیک, زوج و فرد); `legs` with `stops`. Driving only. Get coordinates from bl_search. 'No route': a point is outside Iran or off the road network.
| Parameter | Type | Description |
|---|---|---|
from_lat * | number | Latitude, e.g. 35.7448. |
from_lng * | number | Longitude, e.g. 51.3753. |
to_lat * | number | Latitude, e.g. 35.7448. |
to_lng * | number | Longitude, e.g. 51.3753. |
steps | boolean | Include turn-by-turn steps. |
stops | array | Stops in order, each "lat,lng" (max 3). |
bl_nearest_by_drive Closest places by driving time
Rank places of one kind around a point by driving time from it in current traffic, quickest first. Times a drive to Balad's top `candidates` places (as bl_nearby lists them), one route call each; unroutable places are left out. For more places without drive times use bl_nearby; details: bl_place.
| Parameter | Type | Description |
|---|---|---|
lat * | number | Latitude, e.g. 35.7448. |
lng * | number | Longitude, e.g. 51.3753. |
what * | string | Category slug from bl_categories (e.g. pharmacy, gas-station) or free text (e.g. پیتزا). |
candidates | integer | How many top places to time (2-8). |
open_now | boolean | Only places open now. |
radius_km | number | Box half-width in km (0.5-20). |
bl_along_route Places along a driving route
Find places of one kind (gas station, restaurant, pharmacy...) along the suggested driving route between two points. Ordered by `km_from_start`, with `off_route_km`. Searches up to 12 boxes along the route, so on trips of hundreds of km places between boxes are missed; split the trip for full coverage.
| Parameter | Type | Description |
|---|---|---|
from_lat * | number | Latitude, e.g. 35.7448. |
from_lng * | number | Longitude, e.g. 51.3753. |
to_lat * | number | Latitude, e.g. 35.7448. |
to_lng * | number | Longitude, e.g. 51.3753. |
what * | string | Category slug from bl_categories (e.g. pharmacy, gas-station) or free text (e.g. پیتزا). |
limit | integer | Max places to return (1-30). |
max_off_route_km | number | Max distance from the road in km (0.2-3). |
open_now | boolean | Only places open now. |
bl_categories Place categories
List Balad's place categories with the slug bl_nearby takes, grouped (food, health, shopping, services...). Use it for the exact slug for bl_nearby, bl_nearest_by_drive or bl_along_route.