All developer API endpoints require an API key passed in the X-API-Key header.
Getting an API key
- Sign in to askvedicguru.com
- Go to Dashboard → API Keys
- Click Create Key, give it a name
- Copy the key — it's only shown once
Using the key
Add the X-API-Key header to every request:
bash
curl -X POST https://api.askvedicguru.com/api/v1/birth-chart \
-H "Content-Type: application/json" \
-H "X-API-Key: avg_xxxxxxxxxxxxxxxxxxxx" \
-d '{ "profileId": "683abc123def456" }'Key limits by plan
| Plan | Keys allowed | Rate limit |
|---|---|---|
| Trial (free) | 1 | 5 req/min |
| Starter ($29/mo) | 3 | 60 req/min |
| Growth ($99/mo) | 10 | 120 req/min |
Rate limit headers
Every response includes rate limit headers:
http
X-RateLimit-Limit: 60
X-RateLimit-Remaining: 58
X-RateLimit-Reset: 1716700800When you exceed the limit you get 429 Too Many Requests:
json
{
"success": false,
"error": {
"message": "Rate limit exceeded. Try again in 12 seconds.",
"code": "RATE_LIMIT_EXCEEDED"
}
}Revoking a key
Keys can be revoked from the dashboard or via the API Keys endpoint.