API Key Overview
The Exchange Rates API uses Bearer Token authentication with unique API keys. All authenticated endpoints require an API key passed in theAuthorization header.
API keys are unique to your account and should be kept secure. Never share your API key or commit it to version control.
Getting Your API Key
1. Create Account
Sign up at app.exchangeratesapi.com.au using your email address.2. Verify Email
Click the magic link in your email to verify your account and access the dashboard.3. Generate API Key
In the dashboard, click “Generate New API Key” to create your unique API key.Your API key is only displayed once for security reasons. Make sure to copy and store it securely immediately after generation.
API Key Format
API keys follow this format:{suburb}_{unique_identifier}
- Suburb prefix: Each key gets a unique Australian suburb name (e.g.,
buderim,montville,noosa) - Unique identifier: 56-character alphanumeric string
- Total length: ~65 characters
Authentication Methods
Bearer Token (Recommended)
Pass your API key in theAuthorization header using the Bearer scheme:
Security Best Practices
Environment Variables
Store your API key in environment variables, never hardcode it:Server-Side Only
API keys should only be used in server-side applications. Never expose API keys in:- Frontend JavaScript code
- Mobile applications
- Client-side frameworks (React, Vue, Angular)
- Browser developer tools
- Version control systems
HTTPS Only
All API requests must use HTTPS. HTTP requests will be rejected:Managing API Keys
Key Status
API keys can have the following statuses:- Active: Key is valid and can make requests
- Revoked: Key has been disabled and cannot make requests
- Suspended: Account is suspended (billing issues, etc.)
Revoking Keys
If your API key is compromised:- Log into your dashboard
- Find your API key in the list
- Click “Revoke” to immediately disable it
- Generate a new API key
- Update your applications with the new key
Key Rotation
For security, we recommend rotating your API keys periodically:1
Generate New Key
Create a new API key in your dashboard while keeping the old one active
2
Update Applications
Deploy your applications with the new API key
3
Verify Deployment
Ensure all applications are using the new key successfully
4
Revoke Old Key
Once confirmed, revoke the old API key to complete the rotation
Authentication Errors
Invalid API Key (401)
- Missing
Authorizationheader - Incorrect Bearer token format
- API key has been revoked
- Typo in the API key
Account Suspended (401)
- Billing issues (overdue payments)
- Terms of service violations
- Suspicious activity detected
Rate Limit Exceeded (429)
Public Endpoints (No Auth Required)
Some endpoints don’t require authentication:| Endpoint | Description | Rate Limit |
|---|---|---|
GET /status | API operational status | Unlimited |
GET /symbols | List supported currencies | Unlimited |
GET /convert (free) | Limited conversion | 3/hour per IP |

