Distance Matrix API free

Use the Distance Matrix API free for your research or student project on constant bases
The number of elements is limited, but quite enough for your work
We support the development of higher education, and research institutions around the world, so we prepared a Free Distance Matrix API, which should be enough for academics, students, and nonprofits.

What is the difference between the Free Distance Matrix API users and the Growth Distance Matrix API?

The main difference between the Free Distance Matrix API plan and the Growth Distance Matrix API plan is the number of API requests allowed per month. The Free plan allows up to 1,000 requests per month, while the Growth plan offers an unlimited number of requests and a post-payment system. The pricing for the Growth plan is based on the number of requests made so that users can scale their usage according to their needs.
Features
Free Distance Matrix API
Growth Distance Matrix API
Elements per month
1,000
unlimited
Number of apps (tokens)
5 apps
unlimited
Access to all of our products: Distance Matrix API Accurate, Distance Matrix API Fast, Geocoding API Accurate, Geocoding API Fast
Driving mode, walking and bicycling mode
Traffic information
Departure & arrival time
Accounts for tolls, highways, ferries

Distance API Free features

The Distance Matrix API free plan provides you with access to a limited number of requests per month and a limited number of tokens you can use. At the same time, with the Free plan, you can access all the features of the API without any other limitations.
constantly free
Completely free
quick response
1 request per second
5 000 elements per month
1,000 elements per month
matrix size up to 10 elements
Matrices of any sizes
Easy to integrate the Distance Matrix API
Learn more and see the examples
Learn more

How API Distance Matrix Free works

The Distance Matrix API free returns the trip duration in seconds and the distance in meters to show the fastest route between the coordinates of the selected points.
distance between places
The task
For example, let's say you need to find the distance and travel time between the following address points on the map:
1677 Easton Rd, Willow Grove, PA 19090, USA
119 S Easton Rd, Glenside, PA 19038, USA
geocoding API
API geocode
The API geocode returns these queries as point coordinates:
40.1349979,-75.1228148
40.1000254,-75.1540458
time and distance calculator
The result
The Distance API free then returns distance and travel time data on the queries with point coordinates. The API response contains a distance matrix in JSON format.
For example, 310 meters and 2600 seconds

As easy to use as the Free Map Distance API by Google

The request-and-response format of the API Distance Matrix free is similar to Google's free Map Distance API, so migration is very easy.
Example:
https://api.distancematrix.ai/distancematrix?origins=51.4822656,-0.1933769&destinations=51.4994794,-0.1269979&key=<your_access_token>
Copied!
Response:
{
  "destination_addresses": [
    "Westminster Abbey, Westminster, London SW1P 3PA, UK"
  ],
  "origin_addresses": [
    "Chapel, Fulham, London SW6 1BA, UK"
  ],
  "rows": [
    {
      "elements": [
        {
          "distance": {
            "text": "4.7 miles",
            "value": 7563.898
          },
          "duration": {
            "text": "31 min",
            "value": 1860.0
          },
          "duration_in_traffic": {
            "text": "31 min",
            "value": 1860.0
          },
          "status": "OK"
        }
      ]
    }
  ],
  "status": "OK"
}
Copied!
As easy to use as the Google Distance Matrix
The request-and-response format of the Distance Matrix API is similar to Google's Distance Matrix API, so migration is very easy.
Example:
https://api.distancematrix.ai/distancematrix?origins=51.4822656,-0.1933769&destinations=51.4994794,-0.1269979&key=<your_access_token>
Copied!
Response:
{
   "destination_addresses": [
       "Westminster Abbey, Westminster, London SW1P 3PA, UK"
   ],
   "origin_addresses": [
       "Chapel, Fulham, London SW6 1BA, UK"    
    ],
   "rows": [
       {
           "elements": [
               {
                   "distance": {
                       "text":"4.7 miles",
                       "value":7563.898
                   },
                   "duration":{
                       "text":"31 min",
                       "value":1860.0
                   },
                   "duration_in_traffic": {
                       "text":"31 min",
                       "value":1860.0
                   },
                   "status":"OK"
               }
           ]
       }
   ],
   "status":"OK",
}
Copied!
Ready to use Distance API Free? Register and get instant access to your dashboard
Register now and get instant access to all the APIs