Quick start
-
Get a key for the Distance Matrix and Router API.
Note
Key activation takes up to 15 minutes.
-
Send request:
https://api.routing.yandex.net/v2/distancematrix?origins=25.249269,55.350952|25.248066,55.351206&destinations=25.225335,55.254270|25.230278,55.261586&apikey=YOUR_API_KEY
Note
If your matrix contains more than 100 cells, you should divide it into smaller parts or request it by row.