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

Codex · Sports

How to Use Sleeper league transactions in Codex

Returns league free-agent moves, waivers, and trades. Use it to explain roster changes alongside the current team lists.

Prompts to try with Sleeper league transactions in Codex

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

Use Sleeper league transactions to look this up and give me the result as a table. Save the result in ./assets.

Sleeper league transactionsCodex
Try asking
  • Pull the latest numbers from Sleeper league transactions and tell me what changed since last week.

  • Check Sleeper league transactions and summarize what you find in three bullet points.

  • Pull the newest data from Sleeper league transactions and give me the result as a table.

  • Check Sleeper league transactions every morning and tell me only when something changed.

How to set up Sleeper league transactions 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 Sleeper league transactions

    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": "sleeper-com/fantasy-football-leagues/transactions",
        "input": {
          "week": 1,
          "league_id": "<league_id>"
        }
      }'

Then paste one of the prompts above: Codex finds Sleeper league transactions on Spiral, shows the price and runs it.

Sleeper league transactions providers and prices

Spiral runs Sleeper league transactions through Alexandria. Open a card for today's price, with every fee included.

AlexandriaSports
Sleeper · Transactions
sleeper-com/fantasy-football-leagues/transactions

Settings you can ask for

Ask Codex for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Week1 to 18

League week (leg).

Every API field of Sleeper · Transactions is on its tool page: open its card above.

What can you do with Sleeper league transactions in Codex?

Build a fantasy league report that translates Sleeper identifiers into readable teams, players, and weekly results. Use the returned data to populate project views for roster reviews, transactions, and NFL schedule context.

Weekly league briefing

Prepare a briefing for a public fantasy league: explain scoring rules, label teams, summarize rosters and matchups, review recent moves, and add NFL schedule and waiver-trend context.

Public league dashboard

Build a dashboard with named fantasy teams, league rules, roster details, weekly pairings, recent transactions, NFL games, and a separate add/drop trends panel.

Midweek roster review

Review each fantasy team's lineup against its opponent, league rules, injury designations, and NFL schedule. Include recent roster changes and trending players worth checking for availability.

Fantasy newsletter research

Draft a public league newsletter with named matchups, scoring context, notable roster moves, player availability, upcoming NFL games, and a waiver research section based on add/drop activity.

Transaction digest

Summarize league adds, drops, waivers, and trades using fantasy team labels and recognizable player names. Compare the activity with current rosters to explain the resulting team composition.

Questions about Sleeper league transactions in Codex

Can Codex use Sleeper league transactions?

Yes. Add Spiral to Codex as an MCP server, and Codex can find and run Sleeper league transactions like any built-in tool.

How much does Sleeper league transactions 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 Sleeper league transactions in Codex?

No. Spiral runs Sleeper league transactions on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up Sleeper league transactions in Codex?

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

Does Codex wait while Sleeper league transactions runs?

Sleeper league transactions runs in the background. Codex starts the run, checks on it and gives you the json when it's ready.

When are Sleeper fantasy scores final?

Sleeper says stat corrections can occur through Thursday, with most arriving Monday or Tuesday. A published weekly report does not close that correction window.

Why can an injured player's status change during the week?

Sleeper treats Out as a designation for a particular game, and it can revert early Wednesday morning. A player entering a bye week keeps the previous week's injury designation.

Do Sleeper standings include playoff scoring?

Points For, Points Against, and Max PF in Sleeper standings cover the fantasy regular season only. Playoff and consolation results do not update those totals.

Does Sleeper keep previous league seasons?

Sleeper preserves prior-season transactions, matchups, standings, waiver priority, and FAAB in its league history. Its support documentation does not promise a fixed history depth in years.

Can a score change without a new NFL play?

Yes. Alongside stat corrections, Sleeper lets commissioners apply manual scoring or lineup adjustments and recalculate the week's matchup records.

Get started

Start using Sleeper league transactions 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