# Yahoo Fantasy Football (public) · 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.

- Provider: Alexandria
- Category: Sports
- Runs: In the background
- Returns: json
- Tool id: `alexandria` / `football-fantasysports-yahoo-com/fantasy-football-players/player_rankings`
- Page: https://spiral.ai/tools/alexandria/football-fantasysports-yahoo-com/fantasy-football-players/player_rankings

## Pricing

$0.00873 per call.

## Limits

- 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

| Field | Kind | Allowed | Default | Description |
| --- | --- | --- | --- | --- |
| `sdir` | one of | 0, 1 | 1 | Sort direction as the site encodes it (sdir). |
| `sort` | one 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). |
| `offset` | number | 0 to … | 0 | Row offset; the page serves 25 rows. Use next_offset from the previous page. |
| `status` | one 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_team` | text |  | — | NFL team filter code from the page's team dropdown (ET_2 = Buffalo). Pattern: ^ET_[0-9]{1,2}$. |
| `position` | text |  | O | 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_id` | text |  | — | Public league id, the number after /f1/ in a league URL (e.g. 2820). Pattern: ^[0-9]{1,9}$. |
| `league_url` | text |  | — | 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_id` | text |  | — | Fantasy team id in this league (fteam filter). Pattern: ^[0-9]{1,3}$. |

## Example

```bash
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>"
    }
  }'
```

Try it in the Playground: https://spiral.ai/start?provider=alexandria&model=football-fantasysports-yahoo-com%2Ffantasy-football-players%2Fplayer_rankings

## Common questions

### Yahoo Fantasy Football (public) · Player rankings

**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.

