Endpoints
Get Event
GET
/v1/sports/{sport_key}/events/{event_id}API keyReturns a single event by ID. Unknown or removed events return 404 event_not_found.
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
sport_key | string | required | Sport key, e.g. golf. |
event_id | string | required | Event ID, e.g. evt_gol_fedexstjude_2026. |
Request
cURL
curl https://api.openoddsapi.com/v1/sports/golf/events/evt_gol_fedexstjude_2026 \
-H "X-API-Key: sk_test_your_key_here"JavaScript
const url = "https://api.openoddsapi.com/v1/sports/golf/events/evt_gol_fedexstjude_2026";
const res = await fetch(url, {
headers: { "X-API-Key": "sk_test_your_key_here" }
});
if (res.status === 404) console.error("Event not found");
const event = await res.json();
console.log(event);Python
import requests
url = "https://api.openoddsapi.com/v1/sports/golf/events/evt_gol_fedexstjude_2026"
res = requests.get(url, headers={"X-API-Key": "sk_test_your_key_here"})
if res.status_code == 404:
raise SystemExit("Event not found")
print(res.json())JSON
{
"id": "evt_gol_fedexstjude_2026",
"sport_key": "golf",
"title": "FedEx St. Jude Championship",
"competition": "PGA Tour - FedEx Cup Playoffs",
"commence_time": "2026-08-13T12:30:00Z",
"home_team": null,
"away_team": null,
"status": "scheduled",
"markets": ["outright", "top5", "top10", "top20", "three_ball", "matchup", "round_leader"]
}For golf, commence_time is the first-round tee time and title names the tournament. For head-to-head sports, title is omitted and both teams are populated.