Google Maps API Key Setup for Reverse Geocoder
Overview
The Reverse Geocoder uses the Google Maps Geocoding API to convert coordinates into addresses. You'll need to provide your own Google Maps API key (a "Bring Your Own Key" or BYOK model). This guide walks you through the entire setup process step-by-step.
Already Have a Key?
Why You Need Your Own API Key
Benefits of BYOK:
- Lower cost - Google gives you $200/month in free credit (~40,000 free requests/mo)
- No per-request fees from us - you only pay Google's direct API costs
- Full control - set your own usage limits and billing alerts
- Better privacy - your coordinates go directly to Google, not through our proxy
Google's pricing: ~$5 per 1,000 geocoding requests (after free $200/month credit)
Step-by-Step Setup
Step 1: Create a Google Cloud Project
Go to Google Cloud Console
Create a New Project
Wait for Project Creation
First-Time Users
Step 2: Enable the Geocoding API
Open the API Library
Search for "Geocoding API"
Click "Enable"
Screenshot description: You'll see a page titled "Geocoding API" with an "Enable" button at the top. The page shows API details including pricing ($5 per 1,000 requests) and a link to documentation.
Enable the Correct API
Step 3: Create an API Key
Go to Credentials
Create Credentials
Copy Your API Key
Save Your Key
Screenshot description: The "API key created" popup shows your key with a copy button and a link to "Restrict Key". The key looks like: AIzaSyC4sZH9tBW3EuT-9xYzK1pQ2rL0mN8oP6U (example).
Free Credit Applied Automatically
Step 4: Restrict Your API Key (Recommended)
For security, restrict your API key so it can only be used with the Geocoding API:
Click "Restrict Key"
Set Application Restrictions
Add Allowed Referrers
https://customwebtools.com/http://localhost/(for testing, remove after setup)
Set API Restrictions
Select Geocoding API
Save Changes
Why Restrict Your Key?
Screenshot description: The "Edit API key" page shows two sections: "Application restrictions" with a text field for referrer URLs, and "API restrictions" with a dropdown to select specific APIs.
Step 5: Enable Billing (Required)
Google requires a billing account even though you get $200/month free credit:
Go to Billing
Link a Billing Account
Enter Payment Method
Confirm Billing
You Won't Be Charged (Probably)
Step 6: Set Up Billing Alerts (Optional but Recommended)
To avoid surprise charges if you exceed the free tier:
Go to Budgets & Alerts
Create a Budget
Set Budget Amount
Configure Alerts
Save Budget
Alert Example
Step 7: Add Your API Key to Custom Web Tools
Now that your Google Cloud setup is complete, add your key to the Reverse Geocoder:
Go to the Tool
Open Setup Section
Paste Your API Key
Save Configuration
Start Converting
Setup Complete
Cost Calculator
Use this calculator to estimate your monthly Google Maps API costs:
| Conversions per Month | Requests to Google | Cost After Free Credit |
|---|---|---|
| 0 - 40,000 | 0 - 40,000 | **$0** (free tier) |
| 50,000 | 50,000 | **$50** ($250 total - $200 credit) |
| 100,000 | 100,000 | **$300** ($500 total - $200 credit) |
| 200,000 | 200,000 | **$800** ($1,000 total - $200 credit) |
Example
- Google charges $0.005 per request = $250 total
- Minus $200 free credit = $50/month actual cost
- Plus $19.99 CWT subscription = $69.99/month total
Still cheaper than competitors who charge $0.01-0.02 per coordinate with no free tier!
Reusing Your API Key for Other Tools
Your Google Maps API key works with multiple Custom Web Tools:
| Tool | Uses Same Key? | Additional APIs Needed? |
|---|---|---|
| **Reverse Geocoder** | Yes | Geocoding API (already enabled) |
| **Driving Distance Calculator** | Yes | Distance Matrix API (enable separately) |
| **Future geocoding tools** | Yes | Geocoding API (already enabled) |
- Go to APIs & Services > Library in Google Cloud Console
- Search for "Distance Matrix API" and click Enable
- Use the same API key - no new key needed!
One Key for All CWT Tools
Troubleshooting
"API key not valid" error
Common causes:
- Key was copied incorrectly (extra spaces, missing characters)
- API key restrictions are too strict (check referrer URLs)
- Geocoding API not enabled in Google Cloud Console
- Billing not set up (required even with free tier)
Fix: Go back to Google Cloud Console, verify the Geocoding API is enabled, check key restrictions, and ensure billing is linked.
"Quota exceeded" error
You've used more than 40,000 requests this month (exceeded free tier). Options:
- Wait until next month for quota to reset
- Add more budget in Google Cloud Console to continue using the tool
- Check for duplicate coordinate processing (cache results to avoid re-processing)
"This API project is not authorized" error
Your API key restrictions are blocking the request. In Google Cloud Console:
- Go to Credentials and click your API key
- Under Application restrictions, verify
https://customwebtools.com/*is listed - Under API restrictions, verify Geocoding API is selected
- Save changes and try again
I can't find my API key
Lost your key? Generate a new one:
- Go to APIs & Services > Credentials in Google Cloud Console
- Delete the old key (if found) or leave it
- Click + Create Credentials > API Key
- Copy the new key and update it in Custom Web Tools setup
Don't Share Your API Key
Next Steps
Need help with setup? Contact support@customwebtools.com with your Google Cloud project ID (not your API key!) and we'll help troubleshoot.
Last Updated: 2026-02-19 | Setup Time: ~15 minutes for first-time users