Spiral gives your agent every tool with one account. Browse the tools →

AlexandriaSportsAvailable now

Yahoo Fantasy Football (public) · Player rankings

football-fantasysports-yahoo-com/fantasy-football-players/player_rankings

Get sports scores and statistics with Yahoo Fantasy Football (public) · Player rankings from Alexandria through one Spiral API key. Compare players by Yahoo's projected vs actual rank windows in a public league. Sort with PR_W, PR_N4W, PR_S (projected) or AR_LW, AR_L4W, AR_S (actual); page with offset. It runs in the background and returns structured JSON. Pay as you go, with no subscription.

Pricing

$0.00873 per call.

Limits

Runs
In the background
Returns
json
Longest queue wait
1 hour
Run deadline
5 minutes
Longest run, end to end
225 minutes
Largest inline input
1 MB
Largest input file
2 GB
Largest output
5 GB

Input

FieldKindDefaultDescription
sdirone of
0, 1
1

Sort direction as the site encodes it (sdir).

sortone of
PR_W, PR_N4W, PR_S, AR_LW, AR_L4W, AR_S, AR, NAME
AR_S

Rank column to sort by: PR_W / PR_N4W / PR_S projected (this week / next 4 weeks / season), AR_LW / AR_L4W / AR_S actual (last week / last 4 weeks / season).

offsetnumber
0 to …
0

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

statusone of
ALL, A, FA, W, T, K, STATE_IR
ALL

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

nfl_teamtext—

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

positiontextO

Position tab: O (all offense), QB, WR, RB, TE, K, DEF... as the league's player list offers. Pattern: ^[A-Z][A-Z/]{0,5}$.

league_idtext—

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

league_urltext—

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

fantasy_team_idtext—

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

Same request in code

curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "alexandria",
    "model": "football-fantasysports-yahoo-com/fantasy-football-players/player_rankings",
    "input": {
      "league_id": "<league_id>"
    }
  }'

Frequently asked questions

How much does Yahoo Fantasy Football (public) · Player rankings cost?

$0.00873 per call. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.

How do I use Yahoo Fantasy Football (public) · Player rankings through an API?

Send `POST /v1/runs` with `"provider": "alexandria"`, `"model": "football-fantasysports-yahoo-com/fantasy-football-players/player_rankings"` and the input fields on this page, using one Spiral API key. It runs in the background: poll the run, or name a webhook to be told when it finishes.

Do I need an account with Alexandria to use Yahoo Fantasy Football (public) · Player rankings?

No. Spiral runs it on its own Alexandria account and charges your Spiral balance.

Can my AI agent use Yahoo Fantasy Football (public) · Player rankings?

Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.