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

Codex · Sports

How to Use Yahoo Fantasy Basketball public team roster in Codex

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.

Prompts to try with Yahoo Fantasy Basketball public team roster in Codex

Copy an example into Codex, or ask in your own words.

Use Yahoo Fantasy Basketball public team roster for team 1 in league 10000 today and build a lineup view that separates starting positions from the bench.

Yahoo Fantasy Basketball public team rosterCodex
Try asking
  • Use Yahoo Fantasy Basketball public team roster to look this up and give me the result as a table. Save the result in ./assets.

  • 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 Codex

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

Use Spiral's MCP server

  1. Add the hosted server
    codex mcp add spiral --url https://api.spiral.ai/mcp
  2. Sign in

    Codex opens the browser: sign in to Spiral and click Authorize. No API key. codex mcp list then shows Spiral.

    codex mcp login spiral

Use the Spiral skill

  1. Send Codex 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 the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    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.

    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: Codex finds Yahoo Fantasy Basketball public team roster on Spiral, shows the price and runs it.

Yahoo Fantasy Basketball public team roster providers and prices

Spiral runs Yahoo Fantasy Basketball public team roster through Alexandria. Open a card for today's price, with every fee included.

AlexandriaSports
Yahoo Fantasy Basketball (public) · Public team roster
basketball-fantasysports-yahoo-com/fantasy-basketball-players/public_team_roster

Settings you can ask for

Ask Codex for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Week1 to 26

Fantasy week; the API answers with the first date of that week. Alternative to date.

Include statson or off

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.

Every API field of Yahoo Fantasy Basketball (public) · Public team roster is on its tool page: open its card above.

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

Build a basketball comparison view that connects Yahoo player identities with category stats, rankings, news, or a public lineup. Keep roster dates and ranking labels visible so the project presents the right context.

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.

Questions about Yahoo Fantasy Basketball public team roster in Codex

Can Codex use Yahoo Fantasy Basketball public team roster?

Yes. Add Spiral to Codex as an MCP server, and Codex 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 Codex?

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

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

No. Spiral runs Yahoo Fantasy Basketball public team roster on its own Alexandria account. You sign in to Spiral once and never paste a key.

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

About two minutes: add the hosted server, then sign in.

Does Codex wait while Yahoo Fantasy Basketball public team roster runs?

Yahoo Fantasy Basketball public team roster runs in the background. Codex 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.

Get started

Start using Yahoo Fantasy Basketball public team roster in Codex

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Codex:

Set up Codex

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options