- REST API
- SQL (ClickHouse) — Recommended
REST API
Query prediction market data via HTTP with simple authentication.Setup (1 min)
Step 1: Click “Create API Key”
Go to app.probalytics.io → API Keys section
Step 2: Enter Credential Name
Give your key a name (e.g., “trading-bot”, “research”)
Step 3: Copy API Key ID and API Key Secret
Copy both the API Key ID and API Key Secret from the dashboard.
Make Your First Request
Concatenate API Key ID and API Key Secret with a colon in theAuthorization header:- All endpoints (GET /markets, GET /fills)
- Query parameters & filtering
- Complete response examples
Which Method Should I Use?
REST API- ✓ Simple to integrate
- ✓ Good for production applications
- ✓ Markets and fills over JSON
- ✗ Limited query flexibility
- ✓ Complex queries and analytics
- ✓ Aggregations and joins
- ✓ Paid ClickHouse tiers have full markets/fills history; trials normally receive seven days of fills
- ✓ Super fast analytics
Next Steps
SQL Guide
Tables, schemas, query templates
REST Errors
Error bodies and pagination behavior
File Downloads
Weekly fills and monthly markets exports


