Skip to main content
POST
Public team roster

Request contract

  • Method and path: POST /apis/v1/basketball-fantasysports-yahoo-com/fantasy-basketball-players/public-team-roster
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/basketball-fantasysports-yahoo-com/fantasy-basketball-players/public-team-roster
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

Public league id, the number after /nba/ in a league URL (e.g. 10000). Pattern: ^[0-9]{1,9}$.

date
string

Roster date YYYY-MM-DD (NBA rosters change daily). Omitted (and no week): the league's current date. Pattern: ^20[0-9]{2}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])$.

include_stats
boolean

Also return each player's raw stat lines (stat_id/value pairs for the league's categories) for the window; the 9-category values are always included.

team_id
string

Team id inside the league (1..num_teams). Pattern: ^[0-9]{1,3}$.

team_url
string

A team page URL /nba/{league_id}/{team_id}; alternative to league_id + team_id. Pattern: ^https?://(www.)?basketball.fantasysports.yahoo.com/nba/[0-9]{1,9}/[0-9]{1,3}(/.*)?$.

week
number

Fantasy week; the API answers with the first date of that week. Alternative to date.

Provider reference: minimum 1; maximum 26.

Response

A public league team's roster for one date (or week) from Yahoo's read-only Fantasy API: lineup slot per player, player identity, the 9-category values for that window keyed by Yahoo stat id, fantasy points in points leagues and, optionally, the raw stat lines.

The response contains the tool result directly.

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