Analytics API
Market Performance Comparison
Track and compare the performance of multiple markets over time
GET
Compare Multiple Markets Performance
This endpoint enables side-by-side comparison of multiple markets’ performance over time. It’s perfect for tracking how different markets in the same category or related to the same event evolve relative to each other.
Authentication Required
This endpoint requires API key authentication.
Query Parameters
- markets (required): Comma-separated list of market IDs to compare
- interval (optional): Time interval for aggregation (day, week, month) - default: day
- metric (optional): Metric to compare (probability, volume, liquidity) - default: probability
- start_date (optional): Start date for comparison (ISO format)
- end_date (optional): End date for comparison (ISO format)
Response Format
Available Metrics
- probability: Track how market probabilities evolve over time
- volume: Compare trading volume changes
- liquidity: Compare liquidity changes
Time Intervals
- day: Data aggregated by day
- week: Data aggregated by week
- month: Data aggregated by month
Use Cases
- Correlated Markets: Compare markets that should theoretically be correlated
- Arbitrage Detection: Identify pricing discrepancies between similar markets
- Cross-Platform Analysis: Compare the same event across different prediction platforms
- Impact Analysis: See how events impact related markets differently
Example Queries
Visualization
This data is ideal for:
- Multi-line charts showing probabilities over time
- Stacked bar charts for volume comparisons
- Heat maps showing correlation between markets
- Interactive dashboards with multiple market comparisons
Authorizations
Enter your API key as the bearer token
Query Parameters
Comma-separated list of market IDs
Start date for performance comparison
End date for performance comparison
Time interval for data aggregation
Available options:
day
, week
, month
Metric to compare
Available options:
probability
, volume
, liquidity
Response
200
application/json
Market performance comparison