Яндекс.Карты
Search places, geocode addresses, and build routes with Yandex Maps
Access Yandex Maps API for geocoding addresses, searching organizations and places, and calculating routes between points. Supports driving, walking, and transit route modes with turn-by-turn instructions.
Search for organisations and places on Yandex Maps. Supports search by query with optional location-based filtering using coordinates and radius.
| Parameter | Type | Required | Description |
|---|
apiKey | string | Yes | No description |
query | string | Yes | No description |
lat | number | No | No description |
lon | number | No | No description |
radius | number | No | No description |
limit | number | No | No description |
lang | string | No | No description |
| Parameter | Type | Description |
|---|
items | array | List of found organisations and places |
↳ id | string | Organisation ID |
↳ name | string | Organisation name |
↳ address | string | Address |
↳ lat | number | Latitude |
↳ lon | number | Longitude |
↳ categories | array | Organisation categories |
↳ phones | array | Phone numbers |
↳ url | string | Website URL |
↳ workingHours | string | Working hours |
↳ rating | number | Average rating |
↳ reviewsCount | number | Number of reviews |
total | number | Total number of results found |
Convert an address to geographic coordinates using Yandex Maps Geocoding API. Returns latitude, longitude, full address components including country, locality, and postal code.
| Parameter | Type | Required | Description |
|---|
apiKey | string | Yes | No description |
address | string | Yes | No description |
lang | string | No | No description |
| Parameter | Type | Description |
|---|
lat | number | Latitude coordinate |
lon | number | Longitude coordinate |
address | string | Address text |
fullAddress | string | Full formatted address |
country | string | Country name |
locality | string | City or town name |
postalCode | string | Postal code |
Calculate a route between two points using Yandex Maps. Returns distance, duration, polyline, and turn-by-turn instructions. Supports driving, walking, and transit modes.
| Parameter | Type | Required | Description |
|---|
apiKey | string | Yes | No description |
fromLat | number | Yes | No description |
fromLon | number | Yes | No description |
toLat | number | Yes | No description |
toLon | number | Yes | No description |
mode | string | No | No description |
lang | string | No | No description |
| Parameter | Type | Description |
|---|
distance | number | Total route distance in meters |
duration | number | Total route duration in seconds |
polyline | string | Polyline points for drawing the route on a map |
instructions | array | Turn-by-turn route instructions |
↳ text | string | Instruction text |
↳ distance | number | Distance for this step in meters |
↳ duration | number | Duration for this step in seconds |