[Integrations](https://spiral.ai/integrations) › [OpenClaw](https://spiral.ai/integrations/openclaw) › [ESPN sports and leagues](https://spiral.ai/integrations/openclaw/espn-sports-and-leagues)

# How to Use ESPN sports and leagues in OpenClaw

Returns the sports and leagues available through ESPN's data source. Use it to discover competitions before researching their games, teams, or standings.

|  |  |
| --- | --- |
| Model | ESPN sports and leagues |
| 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 sports and leagues in OpenClaw

- Every Monday at 9am: use ESPN sports and leagues to look this up and give me the result as a table.
- Pull the latest numbers from ESPN sports and leagues and tell me what changed since last week.
- Check ESPN sports and leagues and summarize what you find in three bullet points.
- Pull the newest data from ESPN sports and leagues and give me the result as a table.
- Check ESPN sports and leagues every morning and tell me only when something changed.

## How to set up ESPN sports and leagues in OpenClaw

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

### Use the Spiral skill

1. **Send OpenClaw 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. **Add the server**: On the machine that runs OpenClaw's Gateway:

```bash
openclaw mcp add spiral \
  --url https://api.spiral.ai/mcp \
  --transport streamable-http \
  --auth oauth
```

2. **Sign in**: In Settings › MCP, select Sign in on the Spiral server, sign in to Spiral and click Authorize. No API key.

```bash
openclaw mcp login spiral
```

3. **Reload and check**: A running Gateway may keep its old tool list: restart it, or Save & Publish in the Control UI.

```bash
openclaw mcp reload
openclaw mcp doctor spiral --probe
```

### 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 sports and leagues**: 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/leagues",
    "input": {
      "sport": "<sport>"
    }
  }'
```

Then paste one of the prompts above: OpenClaw finds ESPN sports and leagues on Spiral, shows the price and runs it.

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

## ESPN sports and leagues tools and prices

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

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| sport |  | — | ESPN sport slug, e.g. football, soccer, basketball, baseball, hockey (from `leagues` without `sport`). Pattern: ^[a-z][a-z0-9-]*$. |

## What can you do with ESPN sports and leagues in OpenClaw?

Keep a personal ESPN briefing current as games finish and team records change. A scheduled agent can compare successive results and highlight changes in the competitions and clubs you follow.

### 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.

### Compare football programs and players

Discover football competitions, identify teams and athletes, and compare team records, standings, roster composition, and player season statistics for a personal research report.

## Overview

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

## ESPN sports and leagues in other agents

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

## More OpenClaw guides

- [ESPN scores and schedules](https://spiral.ai/integrations/openclaw/espn-scores-and-schedules)
- [ESPN team and player search](https://spiral.ai/integrations/openclaw/espn-team-and-player-search)
- [ESPN player profile and stats](https://spiral.ai/integrations/openclaw/espn-player-profile-and-stats)
- [ESPN team details](https://spiral.ai/integrations/openclaw/espn-team-details)
- [ESPN player box score](https://spiral.ai/integrations/openclaw/espn-player-box-score)
- [ESPN team directory](https://spiral.ai/integrations/openclaw/espn-team-directory)

## Questions about ESPN sports and leagues in OpenClaw

**Can OpenClaw use ESPN sports and leagues?**

Yes. Add Spiral to OpenClaw as an MCP server, and OpenClaw can find and run ESPN sports and leagues like any built-in tool.

**How much does ESPN sports and leagues cost in OpenClaw?**

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

**Do I need an Alexandria account to use ESPN sports and leagues in OpenClaw?**

No. Spiral runs ESPN sports and leagues 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 sports and leagues in OpenClaw?**

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

**Does OpenClaw wait while ESPN sports and leagues runs?**

ESPN sports and leagues runs in the background. OpenClaw 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.

