# 2s.io NBA Games Schedule & Scores

> 2s.io NBA Games Schedule & Scores is a paid API for AI agents from 2s.io, paid per call via x402, $0.012/call, status unknown (last checked 2026-09-15).

Fetches NBA game schedule and scores from balldontlie, filterable by season, date, and/or team, with cursor pagination.

## Facts

- Endpoint: GET https://2s.io/api/sports/nba-games
- Price: $0.012/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/2s-io-nba-games-schedule-scores-48944bfa
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_g3GNXvqijaEWU0I0Evd4H

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 2s-io-nba-games-schedule-scores-48944bfa
```

Example prompt: What NBA games are happening on January 15, 2025? Show me all of them, including scores if available — filter it to the 2024 season.

## When to prefer this

Use this endpoint when you need structured NBA game data including scores and schedules, especially when filtering by a specific date, season year, or team. Prefer this over generic sports APIs when you need cursor-paginated, pay-per-call access to ground-truth NBA game results backed by balldontlie.

## Known failure modes

- Invalid date format (not YYYY-MM-DD) may return empty results or an error
- team_id outside 1–30 returns no results
- Invalid pagination cursor causes pagination to fail or restart
- per_page outside 1–100 may be rejected or clamped
- No games exist for the given filter combination, returning an empty result set
- Payment failure (402) if USDC balance is insufficient

## How this service works

NBA games from balldontlie — schedule and scores in one feed. Filter by season (start year), a single date, and/or team id. Each game: date, season, status, postseason flag, home/visitor teams and final (or live) scores. Cursor-paginated (pass meta.cursor as cursor to continue).

## Output

A cursor-paginated list of NBA games, each containing the game date, season year, status, a postseason flag, home and visitor team details, and final or live scores for both teams.

## 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",
    "queryParams"
   ],
   "properties": {
    "type": {
     "const": "http"
    },
    "method": {
     "const": "GET"
    },
    "queryParams": {
     "required": [],
     "properties": {
      "date": {
       "type": "string",
       "description": "Single date, YYYY-MM-DD."
      },
      "cursor": {
       "type": "string",
       "description": "Pagination cursor from a prior meta.cursor."
      },
      "season": {
       "type": "integer",
       "description": "Season start year, e.g. 2024."
      },
      "team_id": {
       "type": "integer",
       "description": "NBA team id (1–30)."
      },
      "per_page": {
       "type": "integer",
       "description": "Page size, 1–100 (default 25)."
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/2s-io-nba-games-schedule-scores-48944bfa/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 2s.io](https://www.zero.xyz/host/2s.io/llms.txt)
