Get list of events
Get a list of events with optional date params. If you do not include dates it will return one week before and three weeks after the current date
Name | Format | Example | Required |
api_key | string | a8b5748243bd4360 | Yes |
start_date | YYYY-MM-DD | 2024-01-15 | No |
end_date | YYYY-MM-DD | 2024-01-22 | No |
tour | string | pga-tour | No |
const response = await fetch(`https://use.livegolfapi.com/v1/events?api_key=${API_KEY}`); const data = await response.json();
// Example response
[{
id: "a8b57482-43bd-4360-80de-8080d08d69f9",
startDatetime: "2024-06-06T00:00:00.000Z",
endDatetime: "2024-06-09T00:00:00.000Z",
name: "Memorial Tournament",
slug: "the-memorial-tournament-presented-by-workday-2024",
logoUrl: "https://res.cloudinary.com/pgatour-prod/d_tournaments:logos:r000.png/tournaments/logos/r023.png",
course: "Muirfield Village Golf Club",
location: "Dublin, OH • USA",
status: "Completed"
},
{
id: "5983fd31-faf0-4130-9cc8-0f8c2d17db7c",
startDatetime: "2024-06-13T00:00:00.000Z",
endDatetime: "2024-06-16T00:00:00.000Z",
name: "U.S. Open",
slug: "us-open-2024",
logoUrl: "https://res.cloudinary.com/pgatour-prod/d_tournaments:logos:r000.png/tournaments/logos/r026.png",
course: "Pinehurst Resort & Country Club (Course No. 2)",
location: "Village of Pinehurst, NC • USA",
status: "Scheduled"
}],