[Integrations](https://spiral.ai/integrations) › [n8n](https://spiral.ai/integrations/n8n) › [Yahoo Fantasy Basketball public team roster](https://spiral.ai/integrations/n8n/yahoo-fantasy-basketball-public-team-roster)

# How to Use Yahoo Fantasy Basketball public team roster in n8n

Returns a public fantasy team's lineup and player stats for a roster date. Use it to assess the players already occupying that team's starting and bench positions.

|  |  |
| --- | --- |
| Model | Yahoo Fantasy Basketball public team roster |
| Available through | Alexandria |
| Category | Sports |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, with a Spiral API key |

## Prompts to try with Yahoo Fantasy Basketball public team roster in n8n

- Each afternoon, use Yahoo Fantasy Basketball public team roster for team 1 in public league 10000 and report changes in starting positions and bench assignments since yesterday.
- Every Monday at 9am: use Yahoo Fantasy Basketball public team roster to look this up and give me the result as a table.
- Pull the latest numbers from Yahoo Fantasy Basketball public team roster and tell me what changed since last week.
- Check Yahoo Fantasy Basketball public team roster and summarize what you find in three bullet points.
- Pull the newest data from Yahoo Fantasy Basketball public team roster and give me the result as a table.

## How to set up Yahoo Fantasy Basketball public team roster in n8n

Pick the way that suits you. Each takes about two minutes.

### Use the Spiral skill

1. **Send n8n this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use Spiral's MCP server

1. **Create a key**: Create a key under API keys in the console.

2. **Add an MCP Client node**: In a workflow, add an MCP Client node (or, under an AI Agent node, an MCP Client Tool) and set:

```text
https://api.spiral.ai/mcp
```

3. **Pick a tool**: The node lists Spiral's tools. In an MCP Client node pick one, such as `run`, and give it its arguments:

```json
{
  "provider": "fal",
  "model": "fal-ai/flux/schnell",
  "input": { "prompt": "a lighthouse at dawn" },
  "wait": true
}
```

4. **Run Yahoo Fantasy Basketball public team roster in a workflow step**: Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds Yahoo Fantasy Basketball public team roster, prices it and runs it each time the step fires.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run Yahoo Fantasy Basketball public team roster**: One request; the result comes back by polling or a webhook.

```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": "basketball-fantasysports-yahoo-com/fantasy-basketball-players/public_team_roster",
    "input": {
      "league_id": "<league_id>"
    }
  }'
```

Then paste one of the prompts above: n8n finds Yahoo Fantasy Basketball public team roster on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/n8n

## Yahoo Fantasy Basketball public team roster tools and prices

- [Yahoo Fantasy Basketball (public) · Public team roster](https://spiral.ai/tools/alexandria/basketball-fantasysports-yahoo-com/fantasy-basketball-players/public_team_roster) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| week | 1 to 26 | — | Fantasy week; the API answers with the first date of that week. Alternative to date. |
| team_id |  | — | Team id inside the league (1..num_teams). Pattern: ^[0-9]{1,3}$. |
| team_url |  | — | A team page URL /nba/{league_id}/{team_id}; alternative to league_id + team_id. Pattern: ^https?://(www\.)?basketball\.fantasysports\.yahoo\.com/nba/[0-9]{1,9}/[0-9]{1,3}(/.*)?$. |
| league_id |  | — | Public league id, the number after /nba/ in a league URL (e.g. 10000). Pattern: ^[0-9]{1,9}$. |
| include_stats |  | — | Also return each player's raw stat lines (stat_id/value pairs for the league's categories) for the window; the 9-category values are always included. |

## What can you do with Yahoo Fantasy Basketball public team roster in n8n?

Produce a recurring Yahoo basketball brief that highlights changes in the returned stats, rankings, news, or public lineup. Use date-specific rosters and account for Yahoo's overnight scoring corrections when scheduling statistical comparisons.

### Build a category-specific pickup shortlist

Inspect a public team's roster, identify candidate players, compare their category stats and rankings, and read their news before recommending an addition.

### Review a proposed fantasy trade

Resolve the proposed players, inspect the public team's current lineup, and compare category contributions, ranking evidence, and recent news. Explain which categories the exchange could help or hurt.

### Prepare a lineup review

Start with a dated public roster. Identify the players, compare their statistical contributions and rankings, and check the news before suggesting starting-lineup changes.

### Write a weekly fantasy team brief

Use a public roster as the brief's player list, resolve names consistently, and summarize category production, ranking comparisons, and relevant basketball news.

### Find specialists for a category deficit

Compare available players' rebounds, blocks, assists, or made threes against the public team's existing players. Use rankings as a second comparison rather than the sole selection rule.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All n8n guides](https://spiral.ai/integrations/n8n)

## Yahoo Fantasy Basketball public team roster in other agents

- [Amp](https://spiral.ai/integrations/amp/yahoo-fantasy-basketball-public-team-roster)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/yahoo-fantasy-basketball-public-team-roster)
- [Claude](https://spiral.ai/integrations/claude-desktop/yahoo-fantasy-basketball-public-team-roster)
- [Claude Code](https://spiral.ai/integrations/claude-code/yahoo-fantasy-basketball-public-team-roster)
- [Cline](https://spiral.ai/integrations/cline/yahoo-fantasy-basketball-public-team-roster)
- [Codex](https://spiral.ai/integrations/codex/yahoo-fantasy-basketball-public-team-roster)
- [Cursor](https://spiral.ai/integrations/cursor/yahoo-fantasy-basketball-public-team-roster)
- [Devin](https://spiral.ai/integrations/devin/yahoo-fantasy-basketball-public-team-roster)
- [dots](https://spiral.ai/integrations/dots/yahoo-fantasy-basketball-public-team-roster)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/yahoo-fantasy-basketball-public-team-roster)
- [Gemini](https://spiral.ai/integrations/gemini/yahoo-fantasy-basketball-public-team-roster)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/yahoo-fantasy-basketball-public-team-roster)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/yahoo-fantasy-basketball-public-team-roster)
- [goose](https://spiral.ai/integrations/goose/yahoo-fantasy-basketball-public-team-roster)
- [Grok](https://spiral.ai/integrations/grok/yahoo-fantasy-basketball-public-team-roster)
- [Grok Build](https://spiral.ai/integrations/grok-build/yahoo-fantasy-basketball-public-team-roster)
- [Hermes](https://spiral.ai/integrations/hermes/yahoo-fantasy-basketball-public-team-roster)
- [Instinct](https://spiral.ai/integrations/instinct/yahoo-fantasy-basketball-public-team-roster)
- [Manus](https://spiral.ai/integrations/manus/yahoo-fantasy-basketball-public-team-roster)
- [Muse](https://spiral.ai/integrations/muse/yahoo-fantasy-basketball-public-team-roster)
- [Muse Code](https://spiral.ai/integrations/muse-code/yahoo-fantasy-basketball-public-team-roster)
- [Notion](https://spiral.ai/integrations/notion/yahoo-fantasy-basketball-public-team-roster)
- [OpenClaw](https://spiral.ai/integrations/openclaw/yahoo-fantasy-basketball-public-team-roster)
- [opencode](https://spiral.ai/integrations/opencode/yahoo-fantasy-basketball-public-team-roster)
- [Perplexity](https://spiral.ai/integrations/perplexity/yahoo-fantasy-basketball-public-team-roster)
- [Raycast](https://spiral.ai/integrations/raycast/yahoo-fantasy-basketball-public-team-roster)
- [VS Code](https://spiral.ai/integrations/vscode/yahoo-fantasy-basketball-public-team-roster)
- [Windsurf](https://spiral.ai/integrations/windsurf/yahoo-fantasy-basketball-public-team-roster)
- [Zapier](https://spiral.ai/integrations/zapier/yahoo-fantasy-basketball-public-team-roster)

## More n8n guides

- [Yahoo Fantasy Basketball player stats](https://spiral.ai/integrations/n8n/yahoo-fantasy-basketball-player-stats)
- [Yahoo Fantasy Football player news](https://spiral.ai/integrations/n8n/yahoo-fantasy-football-player-news)
- [Yahoo Fantasy Basketball player search](https://spiral.ai/integrations/n8n/yahoo-fantasy-basketball-player-search)
- [Yahoo Fantasy Football player rankings](https://spiral.ai/integrations/n8n/yahoo-fantasy-football-player-rankings)
- [Yahoo Fantasy Basketball player rankings](https://spiral.ai/integrations/n8n/yahoo-fantasy-basketball-player-rankings)
- [Yahoo Fantasy Football player search](https://spiral.ai/integrations/n8n/yahoo-fantasy-football-player-search)

## Questions about Yahoo Fantasy Basketball public team roster in n8n

**Can n8n use Yahoo Fantasy Basketball public team roster?**

Yes. Add Spiral to n8n as an MCP server, and n8n can find and run Yahoo Fantasy Basketball public team roster like any built-in tool.

**How much does Yahoo Fantasy Basketball public team roster cost in n8n?**

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

**Do I need an Alexandria account to use Yahoo Fantasy Basketball public team roster in n8n?**

You need no Alexandria account. n8n uses one Spiral API key for every tool, and Spiral runs Yahoo Fantasy Basketball public team roster on its own Alexandria account.

**How long does it take to set up Yahoo Fantasy Basketball public team roster in n8n?**

About two minutes: create a key, then add an MCP Client node, then pick a tool.

**Does n8n wait while Yahoo Fantasy Basketball public team roster runs?**

Yahoo Fantasy Basketball public team roster runs in the background. n8n starts the run, checks on it and gives you the json when it's ready.

**Does Yahoo Fantasy Basketball cover the NBA playoffs?**

Yahoo describes its fantasy season as running from the first game through the end of the regular season. Its season-long fantasy coverage should not be read as an NBA playoff competition.

**When are yesterday's scoring corrections applied?**

Yahoo says its nightly update applies official scoring and live-data corrections by 8 a.m. Pacific for the previous day's games. Figures shown before that update can still change.

**Are Yahoo's pre-draft rankings the same as expert rankings?**

No. Yahoo says default pre-draft rankings depend on league settings and are separate from expert rankings.

**Are basketball lineups weekly snapshots?**

Yahoo organizes NBA fantasy rosters by date. A lineup for one date should not be treated as the lineup for an entire fantasy week.

**How does Yahoo calculate field goal percentage?**

Field goal percentage is field goals made divided by field goals attempted. To combine players, divide their combined makes by their combined attempts rather than averaging their percentages.

