Parallax API
The Parallax API gives programmatic access to the lookups and monitors of your Parallax account.
Authentication
Create an API key in Settings → API keys on parallaxosint.org and send it on every request:
Authorization: Bearer sk_...
Every call runs as the key's account. Keys can be turned off at any time in Settings. Never put a key in browser code: the API does not send CORS headers.
Billing
Calls cost exactly what the same lookup costs on the website and are paid from your plan's 5-hour and weekly allowance, then from credits:
| Endpoint | Cost |
|---|---|
POST /lookups/email |
2 lookup units |
GET /discord/lookup |
priced by how many messages the person has (as on the website); opening the same person again shortly after is free |
| Monitors | each active monitor prepays 1 unit per 6 hours (as on the website); resuming a paused monitor pays its next block |
| Everything else | free |
A lookup that fails is not charged. GET /me shows your remaining allowance.
Limits
- Each key: its own request limit per 5 minutes (default 60). Every response has
X-RateLimit-Limit,X-RateLimit-RemainingandX-RateLimit-Window(seconds). - Each account: at most 8 requests running at once (shared with the website), and the website's search speed limit.
- When a limit is reached the API answers 429 with
Retry-After(seconds).
Errors
Errors are JSON: {"ok": false, "error": "<message>", "code": "<CODE>"}.
| Code | Status | Meaning |
|---|---|---|
AUTH |
401 | Missing, invalid or deleted API key |
KEY_TERMINATED, KEY_FLAGGED, MODULE_BLOCKED, FORBIDDEN, BLOCKED |
403 | The key or account may not do this |
INVALID_INPUT |
400 | A parameter is missing or malformed |
NOT_FOUND |
404 | Nothing recorded / unknown monitor / unknown endpoint |
RATE_LIMIT, THROTTLED, QUOTA, KEY_USAGE_CAP |
429 | A limit was reached (see Retry-After) |
UPSTREAM, UNAVAILABLE, TIMEOUT |
5xx | Try again later |
Discord data
Discord endpoints read the messages, voice, presence and member events Parallax records in the Discord servers it watches. Users and messages outside those servers are not available.