REST API
Access real-time market data, events, and predictions through our public REST API. No authentication required for read-only endpoints.
Base URL
https://api.predexmarkets.comRate Limits
200 requests per 15 minutes per IP address. Responses include rate limit headers. No authentication required for public endpoints.
Events
/api/eventsList all active events with filters for category and sort order.
/api/events/:idGet details for a specific event including resolution rules and pool sizes.
{
"events": [
{
"id": "abc123",
"title": "Will BTC reach $150,000 by Dec 2026?",
"category": "crypto",
"emoji": "💰",
"description": "...",
"resolutionRules": "Resolves YES if BTC closes above $150K on Dec 31, 2026 per Chainlink Oracle.",
"endDate": "2026-12-31T23:59:00.000Z",
"yesPool": 2450,
"noPool": 1200,
"yesCount": 42,
"noCount": 18,
"status": "active"
}
]
}Crypto Markets
/api/market/price/:assetGet real-time price for a cryptocurrency (e.g., BTC, ETH, BNB).
/api/market/round/:assetGet current 3-minute round info including pool sizes and time remaining.
AI Predictions
/api/ai/predict/:eventIdGet AI-generated probability estimate for a specific event.
{
"yesPercent": 65,
"noPercent": 35,
"reasoning": "Based on current momentum and historical precedent..."
}News & Suggestions
/api/newsLatest breaking news across 6 categories from trusted sources.
/api/suggestionsAI-generated market suggestions based on trending news.
Response Format
All responses are JSON. Successful responses return 200 with data. Errors return appropriate HTTP status codes with an error message.
// Error response
{
"error": "Event not found"
}Enterprise API access?
For higher rate limits, historical data, or webhook integrations:
Contact Us