Authentication
The OpenMM API server uses environment-based authentication. API credentials are configured server-side, not passed in requests.
Server Configuration
Before starting the API server, configure exchange credentials in your environment:
# .env file
MEXC_API_KEY=your-api-key
MEXC_SECRET=your-secret-key
GATEIO_API_KEY=your-api-key
GATEIO_SECRET_KEY=your-secret-key
BITGET_API_KEY=your-api-key
BITGET_SECRET_KEY=your-secret-key
BITGET_PASSPHRASE=your-passphrase
KRAKEN_API_KEY=your-api-key
KRAKEN_SECRET_KEY=your-secret-keySecurity Considerations
Local Development
The API server is designed for local use or trusted network environments.
Production Deployment
For production deployments, consider:
Reverse Proxy — Use nginx/caddy with TLS termination
API Gateway — Add authentication layer (JWT, API keys)
Network Isolation — Run on private network only
Rate Limiting — Implement request throttling
Example: Basic Auth with nginx
Request Headers
No special headers required for local use.
For future x402 micropayment support:
Last updated