# TeamRankings Team Stats Table

> TeamRankings Team Stats Table is a paid API for AI agents from api.fadeandco.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-29).

Fetches a TeamRankings team stat leaderboard table for NBA or NFL, returning rank, team name, season value, last 3 games, last game, home/away averages, and prior season value.

## Facts

- Endpoint: GET https://api.fadeandco.workers.dev/api/dev/teamrankings?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/teamrankings-team-stats-table-af55c33d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_h-n_1jSOEk-fT6qwQxUjv

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 teamrankings-team-stats-table-af55c33d
```

Example prompt: Pull the TeamRankings points-per-game leaderboard for the NBA — show me the top 15 teams with their season average, last 3 games, last game, and home/away splits.

## When to prefer this

Use this endpoint when you need a structured, multi-column team stat leaderboard from TeamRankings — especially when you need home/away splits, last-game vs last-3-game trends, and prior-season comparisons in one call. Prefer this over manual web scraping or general sports APIs when you specifically want TeamRankings' published rankings for NBA or NFL team-level stats.

## Known failure modes

- Invalid sport value (not 'nba' or 'nfl') returns an error
- Unknown or misspelled stat slug returns no data or an error
- Limit outside 1-40 range may be rejected or clamped
- TeamRankings upstream page unavailable causes fetch failure
- Stat not available for a given sport returns empty or error response

## How this service works

TeamRankings team stat table for NBA or NFL, for one stat page (for example points-per-game): rank, team, the season value, last 3 games, last game, home and away averages, and the previous season, as TeamRankings publishes them.

## Output

Returns a structured table of team statistics as published by TeamRankings, including: team rank, team name, season stat value, last-3-games average, last game value, home average, away average, and the previous season's value — for up to 40 teams in either the NBA or NFL for the requested stat slug.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "stat": {
       "type": "string",
       "description": "Stat slug as in teamrankings.com/<sport>/stat/<slug>, e.g. points-per-game (default)"
      },
      "limit": {
       "type": "string",
       "description": "How many teams, 1 to 40 (default 10)"
      },
      "sport": {
       "type": "string",
       "description": "nba (default) or nfl"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/teamrankings-team-stats-table-af55c33d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.fadeandco.workers.dev](https://www.zero.xyz/host/api.fadeandco.workers.dev/llms.txt)
