Authentication
All API requests require an API key passed via the X-API-Key header.
Getting an API Key
Contact us to get your API key:
- Twitter/X: DM us
- Email: hello@venum.dev
Plans start at $49/mo with 10K quotes/day and unlimited swap builds + submits.
Using Your Key
Include the X-API-Key header in every request:
bash
curl -X POST https://api.venum.dev/v1/quote \
-H "Content-Type: application/json" \
-H "X-API-Key: vk_live_your_key_here" \
-d '{ ... }'typescript
const headers = {
'Content-Type': 'application/json',
'X-API-Key': process.env.VENUM_API_KEY,
};Error Responses
Missing or invalid key returns 401:
json
{
"error": "Invalid or missing API key"
}Security
- Always use HTTPS (
https://api.venum.dev) - Never expose your API key in client-side code or public repositories
- Rotate keys if compromised — contact us for a new key
- Keys are scoped — an extension key cannot call API-only endpoints
