# Sports League Standings API

> Sports League Standings API is a paid API for AI agents from api.agentstools.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Returns normalized league standings/table for MLB, NHL, NFL, NBA, or EPL including wins, losses, win%, points, games behind, streak, and division/conference grouping

## Facts

- Endpoint: GET https://api.agentstools.dev/sports/standings
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sports-league-standings-api-97792360
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_OOyOLBH-SnTtfk_cSH3LJ

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 sports-league-standings-api-97792360
```

Example prompt: Pull up the current NBA standings for the 2024-2025 season so I can see each team's wins, losses, win percentage, games behind, and streak grouped by conference.

## When to prefer this

Use this endpoint when you need a clean, normalized standings snapshot for any of the five major supported leagues (MLB, NHL, NFL, NBA, EPL) without parsing multiple ESPN pages or league-specific APIs. Ideal for quick lookups, comparisons, or feeding standings data into downstream sports analysis workflows.

## Known failure modes

- Unsupported league key returns validation error
- Season label not found or not yet available returns empty or error
- Rate limit exceeded returns 429
- Missing required league parameter returns 400
- Standings not yet populated at season start

## How this service works

League table and standings for a major sports league, normalized to one cited JSON. Give a league such as mlb, nhl, nfl, nba or epl and get each team with wins, losses, win percentage or points, games behind, streak and its division or conference group. Sourced from official league APIs and ESPN.

## Output

A normalized JSON object listing every team in the requested league with their current standings data: wins, losses, win percentage or points (depending on sport), games behind the division/conference leader, current win/loss streak, and their division or conference group — all sourced from official league APIs and ESPN.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "league"
     ],
     "properties": {
      "limit": {
       "type": "integer",
       "maximum": 100,
       "minimum": 1,
       "description": "Max records to return, default 50"
      },
      "league": {
       "enum": [
        "mlb",
        "nhl",
        "nfl",
        "nba",
        "epl"
       ],
       "type": "string",
       "description": "League key. One of the supported major leagues."
      },
      "season": {
       "type": "string",
       "description": "Optional season label such as 2025 or 2024-2025. Defaults to the current season."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/sports-league-standings-api-97792360/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.agentstools.dev](https://www.zero.xyz/host/api.agentstools.dev/llms.txt)
