# Fanfare NBA Players - Active Roster

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

Returns all active NBA players for the current season including name, position, jersey number, and team.

## Facts

- Endpoint: GET https://fanfare-api.fly.dev/nba/players
- Price: $0.001000/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-92230baf
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_x18tD73yuG0kgIsNl_iLr

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-92230baf
```

Example prompt: Can you give me a list of all active NBA players this season — I want to see their names, positions, jersey numbers, and which team they're on?

## When to prefer this

Use this endpoint when you need a comprehensive, current-season roster of all active NBA players with basic biographical and roster attributes. Ideal for powering player lookups, building dropdowns, cross-referencing stats, or answering questions about which team a player is on or their jersey number.

## Known failure modes

- Service unavailable if fanfare-api.fly.dev is down
- Stale data if roster hasn't been updated mid-season
- Payment failure if x402 USDC balance is insufficient
- Empty or partial list if data source hasn't refreshed after trades

## How this service works

All active NBA players for the current season — name, position, jersey number, and team.

## Output

A list of all active NBA players for the current season, each with their full name, position (e.g. PG, SF, C), jersey number, and team name.

## 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": [
  "_truncated",
  "_originalSize"
 ],
 "properties": {
  "_truncated": {
   "type": "boolean"
  },
  "_originalSize": {
   "type": "number"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/fanfare-api-fly-dev-92230baf/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)
