# NBA Standings

> NBA Standings is a paid API for AI agents from mlb-stats-api.fly.dev, paid per call via x402, $0.001000/call, status unknown (last checked 2026-09-14).

Returns current NBA standings including wins, losses, conference rank, and division rank for all teams.

## Facts

- Endpoint: GET https://mlb-stats-api.fly.dev/nba/standings
- Price: $0.001000/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/mlb-stats-api-fly-dev-772a682c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hJulrApv0g3JGAeTvMkkA

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 mlb-stats-api-fly-dev-772a682c
```

Example prompt: What are the current NBA standings right now, including each team's wins, losses, conference rank, and division rank?

## When to prefer this

Use this endpoint when you need a quick, cheap ($0.001 USDC) snapshot of all current NBA team standings without needing to filter by conference or division. Prefer this over building a custom scraper or calling the official NBA API directly when low-latency pre-aggregated standings data is sufficient.

## Known failure modes

- Service unavailable (503) if the fly.dev instance is down
- Stale or mid-season data if standings haven't been refreshed
- Payment required (402) if the x402 micropayment of $0.001 USDC is not provided
- Empty or partial results during off-season when standings are not active

## How this service works

Current NBA standings with wins, losses, conference rank, and division rank.

## Output

A list of all NBA teams with their current season standings data, including wins, losses, conference rank, and division rank for each team.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {}
 }
}
```

## 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",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "data",
  "sport",
  "errors",
  "league",
  "warnings",
  "request_id",
  "retrieved_at"
 ],
 "properties": {
  "data": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "team",
     "record",
     "division_rank",
     "conference_rank"
    ],
    "properties": {
     "team": {
      "type": "object",
      "required": [
       "id",
       "city",
       "name",
       "division",
       "full_name",
       "conference",
       "abbreviation"
      ],
      "properties": {
       "id": {
        "type": "string"
       },
       "city": {
        "type": "string"
       },
       "name": {
        "type": "string"
       },
       "division": {
        "type": "null"
       },
       "full_name": {
        "type": "string"
       },
       "conference": {
        "type": "null"
       },
       "abbreviation": {
        "type": "string"
       }
      }
     },
     "record": {
      "type": "object",
      "required": [
       "pct",
       "wins",
       "losses"
      ],
      "properties": {
       "pct": {
        "type": "number"
       },
       "wins": {
        "type": "number"
       },
       "losses": {
        "type": "number"
       }
      }
     },
     "division_rank": {
      "type": "null"
     },
     "conference_rank": {
      "type": "null"
     }
    }
   }
  },
  "sport": {
   "type": "string"
  },
  "errors": {
   "type": "array",
   "items": {
    "type": "unknown"
   }
  },
  "league": {
   "type": "string"
  },
  "warnings": {
   "type": "array",
   "items": {
    "type": "unknown"
   }
  },
  "request_id": {
   "type": "string"
  },
  "retrieved_at": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/mlb-stats-api-fly-dev-772a682c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from mlb-stats-api.fly.dev](https://www.zero.xyz/host/mlb-stats-api.fly.dev/llms.txt)
