# Fanfare NBA Player Season Stats

> Fanfare NBA Player Season Stats is a paid API for AI agents from fanfare-api.fly.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Returns season statistics (points, rebounds, assists, and more) for an NBA player, looked up by ESPN player ID.

## Facts

- Endpoint: GET https://fanfare-api.fly.dev/nba/player/:player_id
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fanfare-api-fly-dev-1c3def6a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_YAYPqKkOxTEij2pIsHX0m

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 fanfare-api-fly-dev-1c3def6a
```

Example prompt: What are LeBron James's season stats this year — points, rebounds, and assists? His ESPN player ID is 1966.

## When to prefer this

Use this endpoint when you need current season statistics for a specific NBA player and have their ESPN player ID. Ideal for fantasy basketball lookups, player comparisons, or answering questions about individual player performance.

## Known failure modes

- Invalid or unknown ESPN player ID returns an error or empty result
- Player not active in the current season may return no data
- Incorrect player_id format causes a bad request response
- API payment failure (x402) if USDC balance is insufficient

## How this service works

Season stats for an NBA player — points, rebounds, assists, and more. Look up by ESPN player ID.

## Output

Returns season statistics for the specified NBA player including points, rebounds, assists, and other performance metrics for the current season.

## 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"
    },
    "pathParams": {
     "type": "object",
     "required": [
      "player_id"
     ],
     "properties": {
      "player_id": {
       "type": "string",
       "description": "ESPN player ID"
      }
     }
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "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/fanfare-api-fly-dev-1c3def6a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from fanfare-api.fly.dev](https://www.zero.xyz/host/fanfare-api.fly.dev/llms.txt)
