[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [FantasyData NFL weekly rankings](https://spiral.ai/integrations/opencode/fantasydata-nfl-weekly-rankings)

# How to Use FantasyData NFL weekly rankings in opencode

Returns FantasyData's weekly NFL player rankings with teams, opponents, position ranks, and projected fantasy points. Use it to compare starters, shortlist replacements, or check the projected gap between lineup choices.

|  |  |
| --- | --- |
| Model | FantasyData NFL weekly rankings |
| Available through | Alexandria |
| Category | Sports |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with FantasyData NFL weekly rankings in opencode

- Use FantasyData NFL weekly rankings to compare Josh Allen and Joe Burrow for this week, then add their position ranks and projected-point difference to my project's lineup view.
- Use FantasyData NFL weekly rankings to populate my personal worksheet with returned Buffalo Bills players, their opponents, position ranks, and projected points.
- Use FantasyData NFL weekly rankings to compare Jahmyr Gibbs, Ja'Marr Chase, and Brock Bowers for a full-PPR flex spot, then render the returned projections in a table.
- Use FantasyData NFL weekly rankings to extract the returned kickers into a CSV in this project, including their names, teams, opponents, position ranks, and projected points.
- Use FantasyData NFL weekly rankings to fetch current projections for CeeDee Lamb and Justin Jefferson, then compare them with the saved response for the same week in my project.

## How to set up FantasyData NFL weekly rankings in opencode

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

### Use Spiral's MCP server

1. **Add the server**: Leave out `--global` to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.

```bash
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
```

2. **Sign in**: Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, `/mcps` starts the same sign-in.

```bash
opencode mcp auth spiral
```

3. **Check it**: Spiral shows as connected.

```bash
opencode mcp list
```

### Use the Spiral skill

1. **Send opencode 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.

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

### Call the Spiral API

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

2. **Run FantasyData NFL weekly rankings**: 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": "fantasydata-com/fantasy-sports-rankings/rankings",
    "input": {
      "position": "ALL"
    }
  }'
```

Then paste one of the prompts above: opencode finds FantasyData NFL weekly rankings on Spiral, shows the price and runs it.

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

## FantasyData NFL weekly rankings tools and prices

- [FantasyData NFL rankings · Rankings](https://spiral.ai/tools/alexandria/fantasydata-com/fantasy-sports-rankings/rankings) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| scoring | STD, HALF, PPR | — | Standard, half-point PPR or full PPR. Default PPR, or STD for IDP, DL, LB and DB, which the site ranks in standard scoring only. |

## What can you do with FantasyData NFL weekly rankings in opencode?

Build a personal NFL lineup worksheet that places weekly ranks and projected points beside your roster. A coding agent can join the returned players to project data and calculate the gaps between competing starters.

### Resolve a start-or-sit decision

Compare two players at the same position using their weekly position ranks and projected points.

### Choose a flex starter

Compare returned running backs, wide receivers, and tight ends by projected points to build a flex shortlist.

### Prioritize available replacements

Match a user-supplied list of available players against the rankings and order the matches by projected points.

### Compare kicker options

Extract ranked kickers and compare their opponents, position ranks, and projected points before choosing a starter.

### Monitor weekly projection changes

Compare saved responses for the same week and report changes in player ranks and projected points.

### Build a personal lineup worksheet

Join a supplied roster to the returned player rankings, showing each player's opponent, position rank, and projected contribution.

## Overview

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

## FantasyData NFL weekly rankings in other agents

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

## More opencode guides

- [Fantasy Football Calculator rankings](https://spiral.ai/integrations/opencode/fantasy-football-calculator-rankings)
- [ITTF ranking publication dates](https://spiral.ai/integrations/opencode/ittf-ranking-publication-dates)
- [Fantasy Football Calculator ADP](https://spiral.ai/integrations/opencode/fantasy-football-calculator-adp)
- [ITTF world rankings](https://spiral.ai/integrations/opencode/ittf-world-rankings)
- [FFToday weekly rankings](https://spiral.ai/integrations/opencode/fftoday-weekly-rankings)
- [NFL.com game details](https://spiral.ai/integrations/opencode/nfl-com-game-details)

## Questions about FantasyData NFL weekly rankings in opencode

**Can opencode use FantasyData NFL weekly rankings?**

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run FantasyData NFL weekly rankings like any built-in tool.

**How much does FantasyData NFL weekly rankings cost in opencode?**

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

**Do I need an Alexandria account to use FantasyData NFL weekly rankings in opencode?**

No. Spiral runs FantasyData NFL weekly rankings on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up FantasyData NFL weekly rankings in opencode?**

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

**Does opencode wait while FantasyData NFL weekly rankings runs?**

FantasyData NFL weekly rankings runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

**What period do these rankings cover?**

FantasyData publishes these as weekly NFL rankings. Use them for the week's lineup decisions rather than a season-long draft order.

**What information accompanies each ranked player?**

The source table has six columns: overall rank, player name, team, opponent, position rank, and projected fantasy points. The points column represents a projection rather than an earned game score.

**How does position rank differ from overall rank?**

Position rank compares players at the same position. In the inspected half-PPR table, Brock Bowers appears at overall rank 44 while carrying the TE1 position rank.

**Does FantasyData rank kickers?**

Yes. The weekly table includes kickers with labels such as K1 and a projected fantasy-point total, so it supports kicker comparisons alongside offensive player decisions.

**How much of the rankings table is publicly visible?**

The public PPR preview displays overall ranks through 100 before its additional-rows boundary. That is a website preview limit, not a verified maximum number of results per endpoint call.

