Guides
Golf data, one question at a time
Working Python, JavaScript and cURL for common golf data questions, each run against the live API with the real response shown.
Where do I get strokes gained style data for golfers in Python?
A rating in strokes per round better than the field, adjusted for field strength and weighted toward recent rounds, for every active player.
get_ratings · 2 credits
How do I get a golfer's strokes versus the field for each round?
Every tournament a player teed up in a season, with each round's strokes, the field average that day and the difference, raw and adjusted for field strength.
get_player_results · 5 credits
How do I get a golf tournament leaderboard in Python?
A tournament's full leaderboard with position, each round, total, earnings and cup points, and the course and purse alongside.
get_leaderboard · 2 credits
How do I get a golfer's hole-by-hole scorecard in Python?
Every hole of every round a player played in a tournament, with par, yardage, strokes and the result of each hole.
get_scorecard · 2 credits
How has a golfer played at one course or event over the years?
A player's result at one tournament in every year they played it, with finish, score, earnings and strokes against the field, plus a career summary.
get_course_history · 5 credits
How do I turn golf major winner odds into probabilities in Python?
Every golfer's pre-tournament winner price at a men's major, opening and latest, as implied probability. At the 2025 Masters the 125 prices added up to 150%.
get_winner_odds · 5 credits
How do I track a golfer's winner odds across the majors in Python?
One golfer's opening and latest winner price at every major he was priced for, as implied probability. Scottie Scheffler was priced for 28 majors from 2021 to 2027.
get_winner_odds · 5 credits
How do I get the PGA Tour schedule in Python?
PGA Tour events in the next 45 days with dates, purse, course and defending champion. Three events were listed, $13.6 million in total purse.
get_schedule · 1 credit
How do I get PGA Tour stat leaders in Python?
Fifteen PGA Tour players ranked on driving distance for 2026, with the sample behind each. Aldrich Potgieter led at 329.5 yards.
get_leaders · 5 credits
How do I get a golfer's season stats in Python?
A golfer's season: starts, wins, scoring average, strokes versus the field, hole scoring and ball striking. Scottie Scheffler won 3 of 20 starts in 2026.
get_player_stats · 5 credits