Authentication
ChainVue uses API keys to authenticate requests. Include your key in the Authorization header.
Getting Your API Key
- Sign up for a ChainVue account
- Navigate to Dashboard → API Keys
- Click "Create New Key"
- Copy and securely store your key
Your API key is shown only once. Store it securely—we cannot retrieve it later.
Using Your API Key
Include your API key in the Authorization header:
Authorization: Bearer YOUR_API_KEY
Example Request
curl -X POST https://api.chainvue.io/graphql \
-H "Content-Type: application/json" \
-H "Authorization: Bearer cv_live_abc123..." \
-d '{"query": "{ syncState { lastBlockHeight } }"}'Key Types
Live Keys (cv_live_...)
Production keys for mainnet data. Counts against your plan quota.
Test Keys (cv_test_...)
Development keys for testnet data. Free and unlimited for testing.
Security Best Practices
- Never expose API keys in client-side code
- Use environment variables in your applications
- Rotate keys periodically
- Use separate keys for development and production
- Revoke compromised keys immediately