[Integrations](https://spiral.ai/integrations) › [n8n](https://spiral.ai/integrations/n8n) › [ESPN team and player search](https://spiral.ai/integrations/n8n/espn-team-and-player-search)

# How to Use ESPN team and player search in n8n

Returns ESPN search matches for names such as teams and athletes. Use it to identify the right record before researching a club or player.

|  |  |
| --- | --- |
| Model | ESPN team and player search |
| Available through | Alexandria |
| Category | Sports |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, with a Spiral API key |

## Prompts to try with ESPN team and player search in n8n

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

## How to set up ESPN team and player search in n8n

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

### Use the Spiral skill

1. **Send n8n 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. **Create a key**: Create a key under API keys in the console.

2. **Add an MCP Client node**: In a workflow, add an MCP Client node (or, under an AI Agent node, an MCP Client Tool) and set:

```text
https://api.spiral.ai/mcp
```

3. **Pick a tool**: The node lists Spiral's tools. In an MCP Client node pick one, such as `run`, and give it its arguments:

```json
{
  "provider": "fal",
  "model": "fal-ai/flux/schnell",
  "input": { "prompt": "a lighthouse at dawn" },
  "wait": true
}
```

4. **Run ESPN team and player search in a workflow step**: Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds ESPN team and player search, prices it and runs it each time the step fires.

### 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 team and player search**: 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/search",
    "input": {
      "query": "<query>"
    }
  }'
```

Then paste one of the prompts above: n8n finds ESPN team and player search on Spiral, shows the price and runs it.

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

## ESPN team and player search tools and prices

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

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| type | player, team, league, article, clips, replay, show, event | — | Restrict to one result type. |
| limit | 1 to 50 | 10 | limit |

## What can you do with ESPN team and player search in n8n?

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.

### Research a fantasy shortlist

Find NBA or NFL athletes, compare their season statistics, and check their teams, rosters, published injuries, and scheduled games before making a personal fantasy lineup decision.

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

### 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 n8n guides](https://spiral.ai/integrations/n8n)

## ESPN team and player search in other agents

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

## More n8n guides

- [ESPN sports and leagues](https://spiral.ai/integrations/n8n/espn-sports-and-leagues)
- [ESPN team details](https://spiral.ai/integrations/n8n/espn-team-details)
- [ESPN scores and schedules](https://spiral.ai/integrations/n8n/espn-scores-and-schedules)
- [ESPN team directory](https://spiral.ai/integrations/n8n/espn-team-directory)
- [ESPN player profile and stats](https://spiral.ai/integrations/n8n/espn-player-profile-and-stats)
- [ESPN team roster](https://spiral.ai/integrations/n8n/espn-team-roster)

## Questions about ESPN team and player search in n8n

**Can n8n use ESPN team and player search?**

Yes. Add Spiral to n8n as an MCP server, and n8n can find and run ESPN team and player search like any built-in tool.

**How much does ESPN team and player search cost in n8n?**

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

**Do I need an Alexandria account to use ESPN team and player search in n8n?**

You need no Alexandria account. n8n uses one Spiral API key for every tool, and Spiral runs ESPN team and player search on its own Alexandria account.

**How long does it take to set up ESPN team and player search in n8n?**

About two minutes: create a key, then add an MCP Client node, then pick a tool.

**Does n8n wait while ESPN team and player search runs?**

ESPN team and player search runs in the background. n8n 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.

