Geocoding API free

Test all the API features or start using them for your student or research project on a constant basis

The best free geocoding API for universities and non-profit organizations

We are committed to supporting the advancement of higher education and research institutions globally. As such, we decided to create the best free geocoding API for academics, students, and non-profit organizations.

We didn’t limit any features of the API except the number of elements used, therefore, the Geocoding API free by Distancematrix.ai can be considered one of the best free geo API options for these groups.

Geocoding API free limit is up to 1,000 elements per month, which are quite enough for young minds to work on educational projects and for newborn startups to test all the functionality before upgrading to the Growth plan.

What is the difference between the Free geocoding API and the Growth geocoding API? 

Features
Free Geocoding API
Growth Geocoding 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
Reverse geocoding
Partial address recognition
Access to all other features: quick response, several languages, and many more

How Free geo API works

The Geocoding API free converts street addresses or any other human-readable addresses to latitude and longitude coordinates.
distance between places
The task
For example, you can convert the address:
1677 Easton Rd, Willow Grove, PA 19090, USA" into geographic coordinates like 40.1349979,-75.1228148
geocoding API
API geocode
And it also works vice versa: it converts lat-long coordinates to human-readable addresses.
For example, you can convert the latitude/longitude value for a location in Brooklyn:
40.714224,-73.961452" to an address
"277 Bedford Avenue, Brooklyn, NY 11211, USA

How to get Geocoding API key free

If you are ready to start using the API geocoding free, you should register to the Distancematrix.ai platform and after logging in you will get Geocoding API key free on your main dashboard ready to use. 
For more detail, please read our guide and documentation.
This request demonstrates using the JSON output flag:
GET:
https://api.distancematrix.ai/maps/api/geocode/json?address=1600+Amphitheatre+Parkway,+Mountain+View,+CA&key=YOUR_API_KEY
Copied!
The sample JSON response:
body
{
  "results": [
    {
      "address_components": [
        {
          "long_name": "1600",
          "short_name": "1600",
          "types": ["street_number"]
        },
        {
          "long_name": "Amphitheatre Pkwy",
          "short_name": "Amphitheatre Pkwy",
          "types": ["route"]
        },
        {
          "long_name": "Mountain View",
          "short_name": "Mountain View",
          "types": ["locality", "political"]
        },
        {
          "long_name": "Santa Clara County",
          "short_name": "Santa Clara County",
          "types": ["administrative_area_level_2", "political"]
        },
        {
          "long_name": "California",
          "short_name": "CA",
          "types": ["administrative_area_level_1", "political"]
        },
        {
          "long_name": "United States",
          "short_name": "US",
          "types": ["country", "political"]
        },
        {
          "long_name": "94043",
          "short_name": "94043",
          "types": ["postal_code"]
        }
      ],
      "formatted_address": "1600 Amphitheatre Parkway, Mountain View, CA 94043, USA",
      "geometry": {
        "location": {
          "lat": 37.4224764,
          "lng": -122.0842499
        },
        "location_type": "ROOFTOP",
        "viewport": {
          "northeast": {
            "lat": 37.4238253802915,
            "lng": -122.0829009197085
          },
          "southwest": {
            "lat": 37.4211274197085,
            "lng": -122.0855988802915
          }
        }
      },
      "place_id": "ChIJ2eUgeAK6j4ARbn5u_wAGqWA",
      "types": ["street_address"]
    }
  ],
  "status": "OK"
}
Copied!

How easy it is to use API Geocoding Free

  • If you are looking for an alternative to Google geocoding free API, then this might be the best choice, since you don’t need to rewrite the code. 
  • The request-and-response format is really easy and very similar to the most popular Geo APIs.
  • Some more examples of requests you can find here or in our documentation.
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!
Start now with full access to a Free Geo API