Everything you need to integrate professional golf data into your applications. Get started in minutes with our TypeScript-first client library.
Sign up and generate your API key from the dashboard
// Your API key will look like this:
const apiKey = 'sk_live_abc123...';
Install our TypeScript client for the best experience
npm install @squad-golf/api-client
Get tournament data with just a few lines of code
import { SquadGolfClient } from '@squad-golf/api-client';
const client = new SquadGolfClient({
apiKey: 'your-api-key'
});
// Get upcoming tournaments
const tournaments = await client.tournaments.getAllTournaments({
status: 'upcoming'
});
WebSocket-first architecture with live leaderboard updates
Built-in caching reduces API calls and improves performance
Full TypeScript support with auto-generated types
Tournament, player, and ranking data from PGA Tour
Get notified of important events in real-time
Seamless React integration with custom hooks
/api/v1/tournaments
/api/v1/tournaments/{id}
/api/v1/tournaments/{id}/leaderboard
/api/v1/tournaments/search
/api/v1/players
/api/v1/players/{id}
/api/v1/players/search
/api/v1/players/{id}/stats
/api/v1/players/rankings
/api/v1/players/rankings/owgr
/api/v1/players/rankings/fedex
/api/v1/players/rankings/history
/api/v1/auth/register
/api/v1/auth/usage
/api/v1/auth/keys
/api/v1/auth/keys/{id}