API Docs

API Reference

All endpoints return JSON envelopes with data, meta, and error fields. The /api/v1 aliases expose the same core list/detail endpoints.

GET/api/healthDataset and service status
GET/api/playersPlayer list with search, pagination, sorting, and filters
GET/api/players/:idPlayer profile, aggregate, shots, game logs, similar players
GET/api/players/:id/summaryPlayer header and season aggregate
GET/api/players/:id/metricsMetric values, ranks, and percentiles
GET/api/players/:id/shotsPlayer shot events
GET/api/players/:id/rollingRecent game trend rows
GET/api/players/:id/similarBlended similarity scores with physical, role, ratio, and per-minute components
GET/api/teamsTeam list
GET/api/teams/:idTeam profile
GET/api/gamesGame list
GET/api/games/:idGame report
GET/api/games/:id/feedPossession feed
GET/api/search/shotsAdvanced shot search
GET/api/search/possessionsPossession search
GET/api/leaderboardsPlayer leaderboard
GET/api/leaderboards/customCustom leaderboard rows
GET/api/metricsMetric registry
GET/api/glossaryGlossary-friendly metric docs
POST/api/import/csvCSV preview for local import pipeline