Skip to content

List Events

Returns a list of events filtered by category, status, date range, or tags.

POST/event/v1/listevents
Terminal window
curl -X POST https://api.juspredict.com/event/v1/listevents \
-H 'Authorization: Bearer YOUR_TOKEN' \
-H 'Content-Type: application/json' \
-d '{
"category": 1,
"status": [1, 2],
"start_date": 1713441600,
"page_size": 10
}'
{
"status": { "type": "SUCCESS" },
"events": [
{
"id": "event-uuid",
"name": "Match A vs Match B",
"status": 1
}
],
"total_count": 50
}
FieldTypeDescription
statusStatusOperation status.
eventsEvent[]List of matching events.
total_countint32Total events matching filters.