Maps and addresses
Connect OpenCage to your app
What is OpenCage?
OpenCage changes street addresses into map coordinates, and map coordinates back into addresses, for your app.
- What it costs
- Free trial with no card: 2,500 lookups a day, 1 per second, for testing only. Paid plans start at €45 a month for 10,000 lookups a day.
- Time needed
- About 5 minutes. You need an email address you can open.
- If you skip it
- Your app still works. Only address search and finding an address from a map point stay off until you connect it.
What you can build with OpenCage
How to get it, step by step
Get your key
- Go to opencagedata.com/users/sign_up and create an account with your email, or sign in at opencagedata.com/users/sign_in.
- Open your account dashboard and click the Geocoding API tab.
- Your API key is shown there. Copy it.
Give it to your app
- Paste the key into the box named OPENCAGE_API_KEY.
Which value goes in which box
- OpenCage API key
OPENCAGE_API_KEYKeep private - In your OpenCage account dashboard, open the Geocoding API tab. The key is shown there. It is a 32-character code of letters and numbers. An “API key” is a long code that lets your app use your account — like a password for apps.
Watch out for
- The free trial is for testing, not for a live business. OpenCage says that if you rely on it regularly, you are not testing. Choose a paid plan before real customers use it.
- When the free daily limit is used up, lookups stop working until the next day.
- Free trial accounts are limited to one key at a time. Do not make several trial accounts.
- Keep the key private, like a password.