Skip to main content
POST
List players

Request contract

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

fantasy_team_id
string

Fantasy team id in this league (fteam filter). Pattern: ^[0-9]{1,3}$.

league_url
string

A league page URL; the league id is taken from its /nba/{league_id} segment. Alternative to league_id. Pattern: ^https?://(www.)?basketball.fantasysports.yahoo.com/nba/[0-9]{1,9}(/.*)?$.

nba_team
string

NBA team filter code from the page's team dropdown (ET_2 = Boston, ET_13 = LA Lakers). Pattern: ^ET_[0-9]{1,2}$.

offset
number
default:0

Row offset; the page serves 25 rows. Use next_offset from the previous page.

Provider reference: minimum 0; default 0.

position
string
default:P

Position filter: P (all players), PG, SG, G, SF, PF, F, C, Util.

Provider reference: allowed values ["P", "PG", "SG", "G", "SF", "PF", "F", "C", "Util"]; default "P".

sdir
string
default:1

Sort direction as the site encodes it (sdir).

Provider reference: allowed values ["0", "1"]; default "1".

sort
string
default:OR

Sort column as the site encodes it: OR (pre-season rank), AR (current rank), R_PO (% rostered), MPG, NAME, 0 (games played) or a stat id (5 FG%, 8 FT%, 10 3PTM, 12 PTS, 15 REB, 16 AST, 17 ST, 18 BLK, 19 TO; 4/3 FGM/FGA, 7/6 FTM/FTA). Must be one of the page's column sort keys (see columns[].sort_key). Pattern: ^([A-Z][A-Z0-9_]{0,11}|[0-9]{1,7})$.

Provider reference: default "OR".

stat_period
string

Stat window code from the page's dropdown. Projected: S_PS7, S_PS14, S_PSR (remaining games). Totals: S_L (today), S_L7, S_L14, S_L30, S_S_{season}. Averages: S_AL7, S_AL14, S_AL30, S_AS_{season}. Standard deviation: S_SDL7, S_SDL14, S_SDL30, S_SD_{season}. {season} is the starting year (2025 = 2025-26). Omitted: the page's default (reported in stat_period). Pattern: ^S_(PS7|PS14|PSR|L|L7|L14|L30|S_[0-9]{4}|AL7|AL14|AL30|AS_[0-9]{4}|SDL7|SDL14|SDL30|SD_[0-9]{4})$.

status
string
default:ALL

Availability in this league: ALL, A (available), FA (free agents), W (waivers), T (taken), K (keepers), STATE_IL (available, IL eligible). Watch list (WL) needs a login and is not supported.

Provider reference: allowed values ["ALL", "A", "FA", "W", "T", "K", "STATE_IL"]; default "ALL".

Response

One page (25 rows) of a public league's player list with the league's own filters: availability, position (PG/SG/G/SF/PF/F/C/Util), NBA team, fantasy team, an explicit stat window (projected next 7/14 days or rest of season; totals, averages or standard deviations for today, the last 7/14/30 days or a season), sort by a stat or rank column, and offset. Every row carries the 9-category values keyed by Yahoo stat id.

The response contains the tool result directly.

The provider identifies players 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.