Documentation Index
Fetch the complete documentation index at: https://docs.oathnet.org/llms.txt
Use this file to discover all available pages before exploring further.
API Key Authentication
All customer-facing OathNet API endpoints use API-key authentication. Include your key in thex-api-key header on every request.
Getting Your API Key
Sign In
Go to oathnet.org and sign in.
Open Account Settings
Go to Dashboard > Account.
Get Your API Key
Open the dashboard account page
Using Your API Key
Using the Playground
Open an Endpoint
Navigate to a reference page such as V2 Breach Search.
Your API key is stored locally in the browser and is only sent directly to the API server.
Authentication Errors
401 Unauthorized
Returned when the API key is missing or invalid.403 Forbidden
Returned when the request is authenticated but the account lacks quota or plan access for that endpoint.Security Best Practices
Use Environment Variables
Use Environment Variables
Keep the API key in an environment variable or secret manager instead of hardcoding it.
Keep the Key Server-Side
Keep the Key Server-Side
Do not expose the key in frontend bundles, browser code, or public repositories.
Monitor Usage
Monitor Usage
Review usage in the dashboard if you suspect overuse, leakage, or a quota anomaly.
Next Steps
Quickstart
Make your first request
Error Handling
Handle auth and quota failures correctly