curl --request GET \
--url https://api.example.com/v1/events{
"success": true,
"data": [
{
"id": "<string>",
"platform": "<string>",
"title": "<string>",
"slug": "<string>",
"description": "<string>",
"category": "<string>",
"image": "<string>",
"volume": 123,
"volume_24h": 123,
"end_date": "<string>",
"markets": [
{}
],
"matched_with": {}
}
],
"meta": {
"page": 123,
"limit": 123,
"total": 123
}
}Fetch prediction market events
curl --request GET \
--url https://api.example.com/v1/events{
"success": true,
"data": [
{
"id": "<string>",
"platform": "<string>",
"title": "<string>",
"slug": "<string>",
"description": "<string>",
"category": "<string>",
"image": "<string>",
"volume": 123,
"volume_24h": 123,
"end_date": "<string>",
"markets": [
{}
],
"matched_with": {}
}
],
"meta": {
"page": 123,
"limit": 123,
"total": 123
}
}GET https://api.matchr.xyz/v1/events
polymarket, kalshi, or allpolitics, sports, crypto, entertainment, etc.volume, volume_24h, created, ending_soon, trendingactive, resolved, allcurl -X GET "https://api.matchr.xyz/v1/events?limit=10&sort=volume&category=politics" \
-H "Authorization: Bearer YOUR_API_KEY"
Show Event Object
{
"success": true,
"data": [
{
"id": "evt_123abc",
"platform": "polymarket",
"title": "Will Trump win the 2024 election?",
"slug": "trump-wins-2024",
"description": "This market resolves YES if Donald Trump...",
"category": "politics",
"image": "https://cdn.matchr.xyz/events/trump-2024.jpg",
"volume": 15000000,
"volume_24h": 500000,
"end_date": "2024-11-05T00:00:00Z",
"markets": [
{
"id": "mkt_yes123",
"outcome": "Yes",
"price": 0.52,
"volume": 8000000
},
{
"id": "mkt_no123",
"outcome": "No",
"price": 0.48,
"volume": 7000000
}
],
"matched_with": "evt_kalshi_456"
}
],
"meta": {
"page": 1,
"limit": 10,
"total": 7234
}
}
| Code | Description |
|---|---|
400 | Invalid query parameters |
401 | Missing or invalid API key |
429 | Rate limit exceeded |
500 | Server error |