curl --request GET \
--url https://magicmarkets.com/v2/events/ \
--header 'X-Api-Key: <api-key>'import requests
url = "https://magicmarkets.com/v2/events/"
headers = {"X-Api-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-Api-Key': '<api-key>'}};
fetch('https://magicmarkets.com/v2/events/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://magicmarkets.com/v2/events/"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Api-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"status": "ok",
"data": [
{
"event_type": "normal",
"sport": "fb",
"event_id": "2026-06-15,1001,2002",
"competition_id": 1,
"competition_name": "England Premier League",
"competition_country": "XE",
"home": "Arsenal",
"away": "Chelsea",
"event_name": "Arsenal vs. Chelsea",
"ir_status": "pre_event",
"start_time": "2026-06-15T15:00:00Z"
}
]
}List events
Lists the events that currently have prices. Each entry is the object the stream sends as ["event", {...}].
For price-sensitive work, use the streaming API: it pushes each change as it happens.
ir_status keeps the events in running (in_running) or not yet started (pre_event), the same values each event carries.
event_type gives the shape. A normal (match) event has home and away. A multirunner (outright) event has teams and end_time.
Page with limit and after: pass the previous page’s last "{sport},{event_id}" as after. A page shorter than limit is the last one. The response has no total count.
event_id and competition_id filters need sport; a request without it gets a 400. Every entry has its sport, so a follow-up call can always supply it. Paging without filters needs no sport.
A filter that matches no event returns an empty data. This includes a sport, competition or event that has no prices at the moment. Each event_id must have the form an event carries, such as 2026-06-15,1001,2002; any other form gets a 400.
curl --request GET \
--url https://magicmarkets.com/v2/events/ \
--header 'X-Api-Key: <api-key>'import requests
url = "https://magicmarkets.com/v2/events/"
headers = {"X-Api-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-Api-Key': '<api-key>'}};
fetch('https://magicmarkets.com/v2/events/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://magicmarkets.com/v2/events/"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Api-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"status": "ok",
"data": [
{
"event_type": "normal",
"sport": "fb",
"event_id": "2026-06-15,1001,2002",
"competition_id": 1,
"competition_name": "England Premier League",
"competition_country": "XE",
"home": "Arsenal",
"away": "Chelsea",
"event_name": "Arsenal vs. Chelsea",
"ir_status": "pre_event",
"start_time": "2026-06-15T15:00:00Z"
}
]
}
