# ESPN Teams by League

> ESPN Teams by League is a paid API for AI agents from clonecho.builda.company, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-13).

Returns all teams in a specified sports league (NBA, NFL, MLB, etc.) with team colors, venue details, and logos as JSON.

## Facts

- Endpoint: POST https://clonecho.builda.company/x402/espn-teams
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/espn-teams-by-league-e20b7e74
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ynzp6TeLWm65iyxa3Jhw8

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability espn-teams-by-league-e20b7e74 -d '<json body>'
```

Example prompt: Can you pull up all the NFL teams with their colors, logos, and home stadiums?

## When to prefer this

Use this endpoint when you need structured, comprehensive team metadata (colors, logos, venues) for an entire sports league at once via ESPN data. Ideal for building team selectors, populating branding assets, or enriching sports dashboards without scraping ESPN directly.

## Known failure modes

- Invalid league parameter returns an error or empty result
- Unsupported league slug returns no data
- Network or payment failure returns a 402 or 5xx error
- Missing league parameter defaults to NBA — may surprise callers expecting a different league

## How this service works

MEDIA: all teams in a league with colors, venues and logos (?league=nba|nfl|mlb|... default nba). Returns JSON.

## Output

A JSON array of all teams in the specified league, each including the team name, primary and secondary colors, logo image URL(s), and venue/stadium details.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/espn-teams-by-league-e20b7e74/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from clonecho.builda.company](https://www.zero.xyz/host/clonecho.builda.company/llms.txt)
