API Authentication
Odos APIs support two environments: public and enterprise.
- Public: https://api.odos.xyz
- Enterprise: https://enterprise-api.odos.xyz (API key required)
The public API does not require registration.
Enterprise API keys must be passed in the header as:
x-api-key: YOUR_KEY
Never embed secrets in client-side code. Keep keys in a server-side secret manager or environment variable. It is highly recommended to use
dotenvfor secure key management.
JavaScript
npm install dotenv
Python
pip install python-dotenv
Create your .env file
touch .env
Save your .env file with the following parameters:
ODOS_API_KEY=your_enterprise_api_key