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

AlexandriaSportsAvailable now

Yahoo Fantasy Football (public) · List players

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

Get sports scores and statistics with Yahoo Fantasy Football (public) · List players from Alexandria through one Spiral API key. Browse or rank players by projected or actual fantasy points in a public league. Pass stat_period explicitly (S_PW_5 = Week 5 projections, S_S_2026 = 2026 season totals, S_W_4 = Week 4 actuals, S_PN4W = next 4 weeks projected, S_PS_2026 = season projected). For rank windows use player_rankings. 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).

sorttextAR

Sort key as the site encodes it: AR (actual rank), PTS (fantasy points), NAME, PR (projected rank)... Pattern: ^[A-Z0-9_]{1,12}$.

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}(/.*)?$.

stat_periodtext—

Stat period code from the page's dropdown. Projected: S_PW_{week}, S_PN4W, S_PS_{season}, S_PSR_{season}. Actual: S_W_{week}, S_S_{season}, S_AS_{season}. Omitted: the page's default (reported in stat_period). Pattern: ^S_(PW_[0-9]{1,2}|PN4W|PS_[0-9]{4}|PSR_[0-9]{4}|W_[0-9]{1,2}|S_[0-9]{4}|AS_[0-9]{4})$.

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/list_players",
    "input": {
      "league_id": "<league_id>"
    }
  }'

Frequently asked questions

How much does Yahoo Fantasy Football (public) · List players 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) · List players through an API?

Send `POST /v1/runs` with `"provider": "alexandria"`, `"model": "football-fantasysports-yahoo-com/fantasy-football-players/list_players"` 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) · List players?

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

Can my AI agent use Yahoo Fantasy Football (public) · List players?

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