Ball Ranks Fantasy Sports

v1.1.2
io.github.Ollynov/ball-ranks Checked 1 day ago Published 1 month ago

Fantasy football and basketball rankings and player projections from Ball Ranks.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_week_rankings Get weekly football rankings

Return published weekly fantasy football rankings for one position, week, and scoring format. Each row has the player, rank, and projected points. Use it for a ranked list or a start/sit comparison. Basketball is not available.

ParameterTypeDescription
week *integerNFL week number, from 1 to 18.
limitintegerMaximum number of players to return, from 1 to 100. Defaults to 50.
modelstringBall Ranks model. v0 is public and the default. v1 requires Premium.
offsetintegerNumber of players to skip before this page. Defaults to 0.
positionstringFootball position to rank: QB, RB, WR, TE, K, or DST. Defaults to RB.
scoring_formatstringFootball scoring format: standard, half_ppr, or ppr. Defaults to ppr.
seasonPublished season. Omit it to use the current season. Football uses the season year, such as 2026. Basketball uses a label such as 2026-27.
sportstringFantasy sport. Weekly rankings are football only, so this defaults to football.

get_season_rankings Get season rankings

Return one page of a published Ball Ranks season ranking board. Basketball results are nine-category, per-game rankings. Football results are projected points for standard, half-PPR, or PPR scoring.

ParameterTypeDescription
sport *stringFantasy sport: basketball or football.
limitintegerMaximum number of players to return, from 1 to 100. Defaults to 50.
modelstringBall Ranks model. v0 is public and the default. v1 requires Premium.
offsetintegerNumber of players to skip before this page. Defaults to 0.
scoring_formatstringFootball scoring format: standard, half_ppr, or ppr. Football uses ppr when this is omitted. Leave it out for basketball.
seasonPublished season. Omit it to use the current season. Football uses the season year, such as 2026. Basketball uses a label such as 2026-27.

get_player_rankings Get a player's season ranking

Look up one player's published season ranking by player id or slug. Returns that player's rank on the season board, including position rank and projected points when football publishes them.

ParameterTypeDescription
player *stringBall Ranks player id or slug.
sport *stringFantasy sport: basketball or football.
modelstringBall Ranks model. v0 is public and the default. v1 requires Premium.
scoring_formatstringFootball scoring format: standard, half_ppr, or ppr. Football uses ppr when this is omitted. Leave it out for basketball.
seasonPublished season. Omit it to use the current season. Football uses the season year, such as 2026. Basketball uses a label such as 2026-27.

get_player_projections Get a player's projection

Look up one player's published projection by player id or slug. Use scope season for a basketball or football season projection. Use scope weekly with a week number for one football week. Basketball has no weekly projection.

ParameterTypeDescription
player *stringBall Ranks player id or slug.
sport *stringFantasy sport: basketball or football.
modelstringBall Ranks model. v0 is public and the default. v1 requires Premium.
scopestringProjection window. season is the default. weekly is football only and requires week.
scoring_formatstringFootball scoring format: standard, half_ppr, or ppr. Football uses ppr when this is omitted. Leave it out for basketball.
seasonPublished season. Omit it to use the current season. Football uses the season year, such as 2026. Basketball uses a label such as 2026-27.
weekintegerNFL week number, from 1 to 18. Required when scope is weekly.