Google Maps API Key Setup for Batch Geocoder
Setting up your Google Maps API key for the Batch Geocoder takes about 5 minutes. Follow these step-by-step instructions to get started.
Step 1: Create a Google Cloud Account
- Go to Google Cloud Console
- Sign in with your Google account (or create one if needed)
- Accept the Terms of Service
- Click "Create Project" and give it a name (e.g., "Batch Geocoder")
Step 2: Enable the Geocoding API
- In the Google Cloud Console, go to APIs & Services > Library
- Search for "Geocoding API"
- Click on "Geocoding API" in the results
- Click the "Enable" button
Important: Make sure you enable the Geocoding API specifically, not just the general Maps JavaScript API.
Step 3: Set Up Billing
Google requires a billing account, but provides $200/month in free credits:
- Go to Billing in the left menu
- Click "Add Billing Account"
- Enter your payment information
- Complete the verification process
Don't worry: You won't be charged unless you exceed $200/month in API usage. For most users, the free credit covers all geocoding needs (approximately 40,000 requests per month).
Step 4: Create Your API Key
- Go to APIs & Services > Credentials
- Click "Create Credentials" at the top
- Select "API Key"
- Copy your new API key (it looks like:
AIzaSyD...)
Save this key - you'll need it to configure the Batch Geocoder tool.
Step 5: Restrict Your API Key (Recommended)
For security, restrict your API key to specific APIs:
- Click on your newly created API key to edit it
- Under "API restrictions," select "Restrict key"
- Choose "Geocoding API" from the dropdown
- Click "Save"
This prevents unauthorized use of your API key for other Google services.
Step 6: Enter Your API Key in the Tool
- Go to the Batch Geocoder tool
- Click "Complete Setup" or go to the Setup page
- Paste your API key into the secure input field
- Click "Save"
Your API key is encrypted and stored securely. We never see or use your key - it's only used for your geocoding requests.
Troubleshooting Common Issues
"API key not valid" error
- Make sure you enabled the Geocoding API specifically
- Check that your billing account is active
- Wait a few minutes after creating the key (propagation delay)
"This API project is not authorized" error
- Enable the Geocoding API in your Google Cloud project
- Verify your API key is copied correctly (no extra spaces)
"You must enable billing" error
- Add a billing account in Google Cloud Console
- Verify your credit card was accepted
Still having issues?
Watch our video guide: How to Get a Google Maps API Key
Monitoring Your Usage
To check how many geocoding requests you've used:
- Go to Google Cloud Console
- Navigate to APIs & Services > Dashboard
- Click on "Geocoding API"
- View your usage metrics and costs
This helps you track whether you're staying within the free $200/month credit.