Skip to main content
POST
Player rankings

Request contract

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

Rank column to sort by: OR pre-season; AR_S / AR_L30 / AR_L14 / AR_L7 actual rank on total stats (season / last 30 / 14 / 7 days); AR_AS / AR_AL30 / AR_AL14 / AR_AL7 the same windows on average stats.

Provider reference: allowed values ["OR", "AR_S", "AR_L30", "AR_L14", "AR_L7", "AR_AS", "AR_AL30", "AR_AL14", "AR_AL7", "NAME"]; default "AR_S".

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 in Ranks mode: the pre-season rank plus Yahoo's actual rank windows on total stats and on average stats (season, last 30, 14 and 7 days), labelled separately.

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.