Every endpoint exceptDocumentation Index
Fetch the complete documentation index at: https://docs.o1.exchange/llms.txt
Use this file to discover all available pages before exploring further.
GET /health requires an API key.
How to get an API key
API keys are currently issued directly by the o1 team. Self-serve key creation is on the roadmap; for now, the flow is:Reach out
Contact the o1 team through your usual partnership or support channel and request a DEX Aggregator API key. Include a short description of your integration (app name, expected volume, environment) so we can size your rate limit correctly.
Receive your key
The team provisions a key scoped to your integration and shares it securely. Each key is independent, so you can request additional keys for staging, dev, or per-environment isolation.
Sending the key
Pass your key on every request via thex-api-key HTTP header.
Rate limits
The default rate limit is 120 requests per minute per API key. Higher tiers are available on request — contact the o1 team if you expect sustained traffic above that. The window is sliding (60 seconds), enforced server-side. When you exceed it you get a429:
Error responses
- 429 Rate limited
Best practices
One key per integration
Use a distinct key per app, environment, or backend service. Makes revocation painless when something rotates.
Rotate proactively
Rotate keys quarterly or whenever an engineer with access leaves the team. Old keys can stay live for a short overlap window during the migration.
Log key usage server-side
Tag your outbound requests with a request ID so you can correlate API errors with your server logs.
Honor 429s gracefully
On
429, back off and retry with jitter. Don’t hammer.