Transit Router - API Key Setup Guide
Transit Router uses the Google Directions API to search for public transit routes. You need a free API key to use the app. As usual it was created with claude "ai".
Step 1: Create a Google Cloud Account
- Go to https://console.cloud.google.com
- Sign in with your Google account (or create one)
- Accept the Terms of Service
Step 2: Create a New Project
- Click on the project dropdown at the top of the page
- Click "New Project"
- Enter a name (e.g. "Transit Router")
- Click "Create"
- Wait for the project to be created, then select it
Step 3: Enable the Directions API
- Go to APIs & Services > Library (left sidebar)
- Search for "Directions API"
- Click on "Directions API"
- Click the "Enable" button
Step 4: Create an API Key
- Go to APIs & Services > Credentials (left sidebar)
- Click "+ Create Credentials" at the top
- Select "API key"
- Your new API key will be displayed
- Copy the key (looks like: AIzaSyB...)
Step 5: Set Up Billing (Required)
Google requires a billing account for API access, but offers a free tier:
- Go to Billing (left sidebar)
- Click "Link a billing account"
- Add a payment method (credit card)
- You get $200 free credit per month - more than enough for personal use
Note: The Directions API costs $5 per 1000 requests. With the free tier, you can make ~40,000 route searches per month at no cost.
Step 6: Enter the Key in Transit Router
- Open Transit Router on your N9
- Paste your API key in the setup screen
- Tap "Save and Continue"
- Start searching for routes!
Optional: Restrict Your API Key
For security, you can restrict your API key:
- Go to APIs & Services > Credentials
- Click on your API key
- Under "API restrictions", select "Restrict key"
- Check only "Directions API"
- Click "Save"
Recent comments