Fantasy Football Intelligence Bridge

A read-only JSON API that turns multiple Sleeper (and, once authorized, Yahoo) fantasy football leagues into self-describing documents an AI can fetch and reason about: rosters, scoring, projections, draft help, and a weekly decision engine (lineup, start/sit, matchup, waivers). Every request operates on exactly one league — nothing is merged.

AI assistants: start here

/api/ai — one endpoint that describes the whole service: leagues, known managers, every capability, and concrete route templates. Follow the links it returns; don't guess URLs.

Human-readable overview: /ai — what the bridge is, the leagues and managers it covers, and every analysis capability, in plain HTML.

Also: /llms.txt (plain-text guide), /sitemap.xml, /robots.txt.

Canonical routing hierarchy

/api/ai
  -> /api/leagues
    -> /api/leagues/{leagueSlug}
      -> /api/leagues/{leagueSlug}/managers
        -> /api/leagues/{leagueSlug}/managers/{managerSlug}
          -> specific analysis capability

League identity is not manager identity. The league slug selects the league; the manager slug selects a team owner inside it. Membership is validated live — a non-member manager returns an error, never a different manager.

Known manager routes

Leagues

Analysis capabilities

Legacy compatibility

The older ?league=<slug> query-form routes (e.g. /api/league?league=bloodline-bowl, /api/draft, /api/scoring, /api/snapshot) still work but are legacy. Prefer the canonical path routes above. /api/ai lists which capabilities are only available in the legacy form.

Source & methodology

Public repository: github.com/supyo29/bloodline-bowl. GitHub is for inspecting how the numbers are produced — it is not required to use the live bridge.

→ Draft Bridge — interactive, league-isolated draft-night board.