geocoding API

The Geocoding API

Higher accuracy for an affordable and fair price

How it works

The Geocoding API converts street addresses or any other human addresses to latitude and longitude coordinates.
For example, you can convert address:
1677 Easton Rd, Willow Grove, PA 19090, USA" into geographic coordinates like 40.1349979,-75.1228148
The Reverse Geocoding API works in reverse: it converts 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

Main Geocoding API features

partial address recognition
Partial address recognition
Automatically parse addresses, intersections, and add missing letters
high accuracy
Highest possible accuracy
Accuracy competes with and even exceeds the accuracy of Google's geocoding
affordable price
Affordable and fair price
Pay only for what you use but 5 times cheaper than what other APIs would charge
world coverage
Covers 99% of the world
Get data from the Geocoding API for any point on earth

Easy to migrate from Google Geocoding API

The Geocoding API request was created specifically to be similar to the Google Geocoding API request format.
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
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"
}

The Geocoding API pricing

Greater coverage of addresses globally
Advantages
Unlimited usage
High accuracy
Quick response
Partial address recognition
Pay only for what you use
No subscription
No prepayment
No credit card needed
Pay at the end of the month
Monthly volume usage
Price
1 — 100,000 elements
$2 per 1,000 elements
100,000 — 300,000 elements
$1,6 per 1,000 elements
300,000 — 500,000 elements
$1,25 per 1,000 elements
more then 500,000 elements
What is an element?
All queries sent to the Geocoding API generate elements, where one element is one process of the address converting to geographical coordinates.
No credit card required, cancel anytime
Some of our clients
Fill out the form for a free trial of the Geocoding API
Just submit a request, and you will receive a token to test the Geocoding API at once
Submit
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.