Skip to main content
The Predexy Developer Console is a web interface at app.revalonlabs.xyz that gives you programmatic access to Predexy’s prediction market data. From the console you can generate API keys for your applications, monitor call volume and latency over time, and inspect individual request logs when something goes wrong. Authentication here is email and password — separate from the wallet-based sign-in used by the main Predexy app.

What you can do

  • Create and revoke API keys — generate keys with custom names, permission scopes, and rate limits. The full key is shown once at creation; after that only the first 12 characters are displayed.
  • View usage statistics — see total calls, success and error counts, average latency, and P95 latency broken down by hour, day, or month.
  • Inspect raw request logs — page through individual request records showing endpoint, method, status code, and response time.

Managing API Keys

Create, list, and revoke API keys for your applications.

Usage Analytics

Monitor call volume, error rates, and latency for each key.

Authentication

The Developer Console uses email and password authentication backed by JWT tokens. On successful login, the API sets two httpOnly cookies:
TokenExpiryPurpose
pdx_access15 minutesAuthenticates console API requests
pdx_refresh7 daysIssues new access tokens without re-login
This is distinct from the SIWE (Sign-In With Ethereum) wallet authentication used by the main Predexy app. Console accounts are email-based only.

Register an account

You can register through the web UI or directly via the API:
curl -X POST https://api.predexy.com/api/v1/auth/register \
  -H "Content-Type: application/json" \
  -d '{
    "email": "you@company.com",
    "password": "your-password",
    "name": "Your Name"
  }'
The response includes your user profile and JWT tokens. The password must be at least 8 characters.

Log in

curl -X POST https://api.predexy.com/api/v1/auth/login \
  -H "Content-Type: application/json" \
  -d '{
    "email": "you@company.com",
    "password": "your-password"
  }'
Response:
{
  "data": {
    "id": "usr_01hx...",
    "email": "you@company.com",
    "name": "Your Name"
  },
  "tokens": {
    "access_token": "eyJ...",
    "refresh_token": "eyJ..."
  }
}
Use the access_token value as your Authorization: Bearer header for all subsequent console API calls.

Password reset

If you lose access to your account, the reset flow works in three steps:
1

Request an OTP

Send your email to trigger a 6-digit one-time password sent via email. The OTP expires in 10 minutes.
curl -X POST https://api.predexy.com/api/v1/auth/forgot-password \
  -H "Content-Type: application/json" \
  -d '{"email": "you@company.com"}'
The endpoint always returns 200 — it does not reveal whether the email is registered.
2

Verify the OTP

Submit the 6-digit code to receive a short-lived reset token (valid for 5 minutes):
curl -X POST https://api.predexy.com/api/v1/auth/verify-otp \
  -H "Content-Type: application/json" \
  -d '{
    "email": "you@company.com",
    "otp": "482910"
  }'
The response body contains a reset_token JWT you use in the next step.
3

Set a new password

Use the reset token to update your password. The token is single-use and invalidated after this call.
curl -X POST https://api.predexy.com/api/v1/auth/reset-password \
  -H "Content-Type: application/json" \
  -d '{
    "reset_token": "<token from previous step>",
    "password": "your-new-password"
  }'

Getting started

1

Register or log in

Create an account at app.revalonlabs.xyz or via POST /api/v1/auth/register. Log in to get your access token.
2

Create an API key

In the console, go to API Keys and click New key, or call POST /api/v1/console/keys. Copy the full key — it is shown only once.
3

Call external endpoints

Pass the key in the X-API-Key header on any /api/v1/external/* endpoint. See Managing API Keys for a full guide.
4

Monitor usage

Check Usage Analytics to track call volume, error rates, and latency over time.