# NBA Box Scores from Last Night

**Use case:** 

Every NBA player box score from last night's games in one table: minutes, points, rebounds, assists, threes, steals, blocks, turnovers, shooting splits and plus-minus, with team, opponent and final score. Export to CSV, Excel or JSON, or schedule it every morning to keep a stats database or fantasy sheet up to date.

## Input

```json
{
  "dataType": "playerGameLogs",
  "daysBack": 1,
  "daysAhead": 0,
  "seasonTypes": [
    "regular",
    "playin",
    "postseason"
  ],
  "minGames": 1,
  "propMarkets": "main",
  "includeOdds": true,
  "onlyNewGames": false,
  "maxItems": 500,
  "maxConcurrency": 6
}
```

## Output

```json
{
  "gameDateET": {
    "label": "Game date et"
  },
  "playerName": {
    "label": "Player name"
  },
  "team": {
    "label": "Team"
  },
  "opponent": {
    "label": "Opponent"
  },
  "homeAway": {
    "label": "Home away"
  },
  "result": {
    "label": "Result"
  },
  "minutes": {
    "label": "Minutes"
  },
  "points": {
    "label": "Points"
  },
  "rebounds": {
    "label": "Rebounds"
  },
  "assists": {
    "label": "Assists"
  },
  "threePointFieldGoalsMade": {
    "label": "Three point field goals made"
  },
  "steals": {
    "label": "Steals"
  },
  "blocks": {
    "label": "Blocks"
  },
  "turnovers": {
    "label": "Turnovers"
  },
  "fieldGoalsMade": {
    "label": "Field goals made"
  },
  "fieldGoalsAttempted": {
    "label": "Field goals attempted"
  },
  "plusMinus": {
    "label": "Plus minus"
  },
  "fantasyPointsDraftKings": {
    "label": "Fantasy points draft kings"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The NBA Stats Scraper - Box Scores, Game Logs, Player Props & Odds Actor is ready to run with the inputs already set for "NBA Box Scores from Last Night". [Sign up or log in](https://console.apify.com/create-task-from-example/cHK3Y1NX9LdvoqAXe) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "NBA Box Scores from Last Night" task

The NBA Stats Scraper - Box Scores, Game Logs, Player Props & Odds Actor will start running based on the input automatically. You can also change all the input fields, like what data do you want?, days back (default window), and more, to match your specific use case.

### 3. Receive the "NBA Box Scores from Last Night" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as game date et, player name, team, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "NBA Box Scores from Last Night" task via API](https://apify.com/datawright/nba-stats-scraper.md).

## FAQ

### How fresh is the data?

Box scores are final once games end. Run it the morning after, or schedule it daily to append each new night.

### Can I get a full season?

Yes. Set Season to 2026-27 (or any past season) to pull every player game log for the whole season.

### Is betting data included?

Switch the data type to Team game logs for ATS and over/under results, or to Player props for DraftKings prop lines.

## About this Actor

This example demonstrates how to use [NBA Stats Scraper - Box Scores, Game Logs, Player Props & Odds](https://apify.com/datawright/nba-stats-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/datawright/nba-stats-scraper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/datawright/nba-stats-scraper.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
