How to Get a Geocoding API Key: Step-by-Step Manual

Guide for developers on how to use API Keys with Geocoding API

March 2, 2025

‍

‍

Geocoding turns street addresses into precise geographic coordinates — and reverse geocoding does the opposite, converting coordinates back into a readable address. To use these features programmatically, you need a geocoding API key: a unique token that authenticates your requests to Distancematrix and tracks your usage against your plan. This guide covers what a geocoding API key is, how to get geocoding API key access, how to add it to your requests, and how Free vs. paid plans affect your usage — plus why Distancematrix is a simpler, more cost-effective alternative to Google or Bing.

Quick answer: To get a geocoding API key:
  1. Sign up for a free Distancematrix.ai account
  2. Open the Admin Panel
  3. Copy one of your default tokens 
  4. Create a request in your work area. 
Free accounts get 1,000 geocoding elements per month across up to 5 tokens. At any time, you can upgrade to the Growth plan for unlimited usage.

What is a Geocoding API Key?

A geocoding API key — often called a “token” — is a unique, confidential string that identifies your application to Distancematrix. Including it in each request lets you:

  • Authenticate your queries — Distancematrix.ai recognizes which account is calling.
  • Track usage accurately — every request under that token counts toward your plan’s quota.
  • Unlock the right features — your token grants access to the capabilities included in your plan (Free or Growth), such as geocoding or reverse geocoding.

Sign up at Distancematrix.ai to get a geocoding API key instantly after registration.

Purpose of a Geocoding API Key

Web and mobile developers use the Geocoding API when they need accurate geo data—for example, to place content on a map. It geocodes static, known addresses. Pricing depends on how many elements you request per month.

Every geocoding request needs two core parameters:

  • address — the postal address to geocode, formatted the way the local postal service formats it. Skip extra details like apartment numbers or organization names.
  • key — your geocoding API key, which identifies your account and manages your quota.

You can also query a usage-statistics endpoint for any time period, which is useful for monitoring consumption and forecasting cost.

Getting a Geocoding API Key: Short Guide

To get your geocode API key, you should proceed with a quick three-step process. Follow the steps below to have a ready-to-use key in minutes.

1. Register at Distancematrix — create a free account via the signup page. You’ll get a confirmation email with next steps.

2. Open your Admin Panel — after logging in, you’ll land on the Free plan by default, which includes four tokens (you can create a fifth). Tokens are your API keys.

3. Check your token limits — the Free plan covers 1,000 elements per month across all tokens combined. Need more tokens or elements? Upgrade to the Growth plan for unlimited usage.

Adding the Geocoding API Key to Your Request

Every geocoding request must include your key as a query parameter:

‍

https://api.distancematrix.ai/maps/api/geocode/json?address=1600+Amphitheatre+Parkway,+Mountain+View,+CA&key=<your_access_token>
  • address — the postal address you’re converting into coordinates.
  • key — your geocoding API key from the Distancematrix.ai admin panel.

Use the address format recognized by the local postal service, without apartment numbers or business names.

Restrictions for Geocoding API Keys

On the Free plan, tokens are limited to 1,000 elements per month combined — otherwise there are no other restrictions, so all Distancematrix.ai features are available. The Growth plan removes the element cap entirely. Note that each request converts one location, counted as one element, and — regardless of plan — requests are capped at 100 per second to keep the system stable for all users.

Questions? Reach out to our support team anytime.

Begin Your Geocoding Integration in Minutes

Getting a geocoding API key from Distancematrix.ai is simpler and more cost-effective than Google, Bing, or other providers: a generous Free plan for smaller projects, plus an affordable Growth plan with unlimited usage when you’re ready to scale.

With your key, you can:

  • Convert street addresses to precise coordinates
  • Reverse-geocode coordinates to addresses
  • Build custom mapping or route-optimization features

Get started now to unlock the full potential of geocoding for your apps or websites.

Need help? Our support team is available anytime, and our documentation covers advanced integrations, best practices, and code samples.

FAQ

What is Geo API key?

A Geo API key is a unique identifier that developers use to authenticate and access geolocation services, such as Distancematrix.ai. The key allows the developer's application or website to use geolocation services, such as geocoding or reverse geocoding. Developers can get a Geocoding API key automatically by registering for an account.

Is an API key for Geocoding free?

Distancematrix.ai provides a Free plan and a Growth plan. Right after the registration, you can get a geocoding API key free for a limited number of Geocoding API requests per month. If this limit is enough for you, you can continue using it. However, if you require more requests, you will need to upgrade to the paid Growth plan. The pricing and plan details can be found here.

Where can I find Geocoding API key after registration?

After registering to the Distancematrix.ai you will get access to the admin panel. To get a geocoding api key please go to the main dashboard to the section with apps. You can find a geocoding api key there among the other free keys. Every Geocoding API key belongs to one of your Apps. On a free plan, you can use two Geocoding API keys, two Distance Matrix API keys, and one extra key of your choice. You can also delete the keys and create those that you need, but not more than 5. If you need to generate more keys, you should upgrade to the Growth plan.

Please read our documentation to learn more about our APIs.

How to get a geocoding API key?

You can easily obtain a geocoding API key by registering with Distancematrix.ai, accessing your admin panel, and creating a token. This token serves as your API key to fulfill geocoding requests.

How many free requests do I get per month?

The Free plan gives you 1,000 elements every month (resets monthly).

Can I exceed 1,000 elements without upgrading immediately?

Once you hit your limit, you’ll stop receiving successful responses. You can upgrade anytime to restore or increase usage.

No prepayment is needed.
Start for free and get instant
access to all Distancematrix.ai
products and features