FBSTS data layer

Premier League 2024-25 stats (previous seasons soon)

uses Postgres API routes to validate queries.

Slugs auto-generate as you type.

Player snapshot

Totals and team splits.

Slug: player-slug

Team totals

Wins, losses, and goal diff.

Slug: team-slug
Next: build player and team pages off these endpoints.
You can add caching in the API handlers once queries stabilize.