Skip to main content
POST
League rosters

Request contract

  • Method and path: POST /apis/v1/sleeper-com/fantasy-football-leagues/league-rosters
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/sleeper-com/fantasy-football-leagues/league-rosters
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

Cost and request rules

Usage-based pricing. Default request estimate: $0.0005 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
league_id
string
required

Sleeper league id (digits), from a sleeper.com/leagues/ URL or the Sleeper app. Pattern: ^[0-9]{6,20}$.

roster_id
number

Only this roster (1 to total_rosters). One roster is faster than the whole league.

Provider reference: minimum 1; maximum 64.

week
number

Regular-season NFL week 1-18 to check. Defaults to Sleeper's current NFL week.

Provider reference: minimum 1; maximum 18.

Response

Every roster in a Sleeper league (or one roster_id) with owner, record and every player: lineup slot (starter in slot order, bench, reserve, taxi), position, NFL team, injury_status and body part, bye week, this week's game and whether it has kicked off (locked), and flags summarising all of it. Before recommending a start, sit, add or drop, read flags: never start a player flagged out or bye, warn on injured, and never suggest adding, dropping, starting or benching a locked player (his game has started or finished). Weekly lineups come from Sleeper; starters reflect what the manager last set. An unknown league or roster_id is not_found.

The response contains the tool result directly.

The provider identifies rosters as the primary payload key.

These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.