[Integrations](https://spiral.ai/integrations) › [Codex](https://spiral.ai/integrations/codex) › [ESPN player box score](https://spiral.ai/integrations/codex/espn-player-box-score)

# How to Use ESPN player box score in Codex

Returns individual game statistics and scoring by period, with measures such as NFL passing yards and NHL saves. Use it to compare athletes' performances within a game.

|  |  |
| --- | --- |
| Model | ESPN player box score |
| 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 ESPN player box score in Codex

- Use ESPN player box score for Dallas Mavericks at Philadelphia 76ers on February 4, 2025, and add a player performance comparison to my notebook.
- Use ESPN player box score to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from ESPN player box score and tell me what changed since last week.
- Check ESPN player box score and summarize what you find in three bullet points.
- Pull the newest data from ESPN player box score and give me the result as a table.

## How to set up ESPN player box score in Codex

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

### Use Spiral's MCP server

1. **Add the hosted server**

```bash
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.

```bash
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.

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

### Call the Spiral API

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

2. **Run ESPN player box score**: 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": "espn-com/sports-data/boxscore",
    "input": {
      "sport": "<sport>",
      "league": "<league>",
      "event_id": "<event_id>"
    }
  }'
```

Then paste one of the prompts above: Codex finds ESPN player box score on Spiral, shows the price and runs it.

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

## ESPN player box score tools and prices

- [ESPN · Boxscore](https://spiral.ai/tools/alexandria/espn-com/sports-data/boxscore) (Alexandria): $0.00873 per call.

## What can you do with ESPN player box score in Codex?

Build a personal sports notebook that connects ESPN games, teams, and athlete records. A coding agent can turn those results into comparison tables and reports in your project.

### Prepare a daily sports briefing

Choose supported basketball and football competitions, resolve teams by name, and combine scores, game details, player performances, roster context, injuries, and standings into a personal morning briefing.

### Keep a personal season notebook

Follow selected clubs across ESPN competitions. Add current team records, roster and injury changes, game summaries, individual stat lines, and player season totals to explain how each club's season develops.

### Research weekend matchups

Select competitions and teams, then compare standings, recent game statistics, current rosters, published injuries, and player season records. Produce a matchup brief that separates measured performance from reported availability.

### Explain a completed game

Combine the final score, scoring plays, team statistics, and individual performances. Add player career context and team standings to explain what the result means.

### Review postgame statistical changes

Revisit completed NFL games and compare their player stat lines, team statistics, scores, and standings with earlier results. Flag changed numbers for review.

### Compare availability with recent production

For selected NBA teams, combine published injury reports and rosters with player season statistics and recent game performances. Identify which athletes need a closer look before the next matchup.

## Overview

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

## ESPN player box score in other agents

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

## More Codex guides

- [ESPN league standings](https://spiral.ai/integrations/codex/espn-league-standings)
- [ESPN player profile and stats](https://spiral.ai/integrations/codex/espn-player-profile-and-stats)
- [ESPN injury reports](https://spiral.ai/integrations/codex/espn-injury-reports)
- [ESPN scores and schedules](https://spiral.ai/integrations/codex/espn-scores-and-schedules)
- [ESPN game details](https://spiral.ai/integrations/codex/espn-game-details)
- [ESPN sports and leagues](https://spiral.ai/integrations/codex/espn-sports-and-leagues)

## Questions about ESPN player box score in Codex

**Can Codex use ESPN player box score?**

Yes. Add Spiral to Codex as an MCP server, and Codex can find and run ESPN player box score like any built-in tool.

**How much does ESPN player box score 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 ESPN player box score in Codex?**

No. Spiral runs ESPN player box score on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up ESPN player box score in Codex?**

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

**Does Codex wait while ESPN player box score runs?**

ESPN player box score runs in the background. Codex starts the run, checks on it and gives you the json when it's ready.

**Where does the ESPN data come from?**

The source uses ESPN's public site and core JSON APIs. Its coverage is limited to the records ESPN exposes through those sources.

**Does ESPN cover international competitions?**

Yes. The provider documents US and international coverage, including the Premier League and approximately 219 soccer competitions.

**Are the same statistics available for every sport?**

The statistics depend on the sport. Documented examples include NFL passing, rushing, and receiving figures and NHL skater and goalie statistics.

**How fresh are ESPN's live NFL statistics?**

ESPN says it updates NFL live scores and statistics as they are received. Those figures can change as the league reports more accurate data.

**Can NFL statistics change after a game ends?**

Yes. ESPN documents postgame adjustments and corrections that can appear up to seven days after the game was played.

