NBA Game Log: Player & Team Match History avatar

NBA Game Log: Player & Team Match History

Pricing

from $0.85 / 1,000 games

Go to Apify Store
NBA Game Log: Player & Team Match History

NBA Game Log: Player & Team Match History

Get NBA game logs for any player or team: date, opponent, home or away, result, score and per-game box score stats such as points, rebounds and assists. Built for AI agents and analysts.

Pricing

from $0.85 / 1,000 games

Rating

0.0

(0)

Developer

Trove Vault

Trove Vault

Maintained by Community

Actor stats

1

Bookmarked

2

Total users

1

Monthly active users

5 days ago

Last modified

Categories

Share

NBA Game Log returns the most recent games for any NBA players or teams you name, one row per game, newest first. It is built for AI agents, bettors, fantasy players and analysts who need a clean, structured NBA game log instead of copying tables by hand.

What does NBA Game Log do?

NBA Game Log looks up each name you give it, finds the right NBA player even when other sports have someone with the same name, and returns their latest games with minutes, points, rebounds, assists, steals, blocks, turnovers, fouls, field goals, three-pointers and free throws.

  • Type names in plain text (LeBron James, Stephen Curry, Victor Wembanyama, https://www.espn.com/nba/player/_/id/1966/lebron-james); no IDs needed.
  • Get recent form in one call: the newest games first, across seasons when needed.
  • Ask for many names in one run and get one combined table.
  • Export to JSON, CSV, Excel or straight into your AI agent through MCP.

What data can you extract?

FieldMeaning
queryQuery
sportSport identifier
entityTypePlayer, team or fighter
entityIdESPN entity ID
entityNameName
teamTeam
dateDate
competitionCompetition
seasonSeason
seasonTypeSeason type
stageStage
opponentOpponent
opponentIdESPN opponent ID
homeAwayHome/away
resultResult
scoreScore
teamScoreTeam score
opponentScoreOpponent score
eventIdESPN event ID
scrapedAtWhen this run retrieved the row
runIdYour optional workflow identifier

Every row also includes query (the name you entered), entityId, scrapedAt and your optional runId.

How to use NBA Game Log

  1. Open NBA Game Log on Apify and sign in or create a free account.
  2. Add one or more names in Players.
  3. Set Maximum games per name (10 is a good default for recent form).
  4. Click Start and download the results, or call the Actor from the API or an AI agent.

Input examples

{
"players": [
"LeBron James",
"Stephen Curry"
],
"maxItems": 10
}
{
"teams": [
"Boston Celtics"
],
"season": "2026",
"maxItems": 82
}

Output example

{
"query": "LeBron James",
"sport": "nba",
"entityType": "player",
"entityId": "1966",
"entityName": "LeBron James",
"team": "LAL",
"date": "2026-05-12T02:30:00.000+00:00",
"competition": "National Basketball Association",
"season": "2025-26",
"seasonType": "Postseason",
"stage": "West Semifinals - Game 4",
"opponent": "Oklahoma City Thunder",
"opponentId": "25",
"homeAway": "home",
"result": "L",
"score": "110-115",
"teamScore": 110,
"opponentScore": 115,
"eventId": "401871329",
"stats": {
"minutes": 40,
"fieldGoalsMade": 8,
"fieldGoalsAttempted": 18,
"fieldGoalPct": 44.4,
"threePointPct": 33.3,
"totalRebounds": 12,
"assists": 3,
"steals": 0,
"blocks": 1,
"turnovers": 4,
"points": 24
},
"scrapedAt": "2026-10-09T12:00:00.000Z",
"runId": null
}

Who uses NBA Game Log?

  • Betting and prediction-market research: check a player's last 10 games before a line or a Kalshi or Polymarket market closes.
  • Fantasy basketball: track minutes and usage trends to decide start or sit.
  • Analysts and journalists: pull a player's playoff run or a team's last month in one table.

Schedule a run before each game day if you track the same names every week.

Why use NBA Game Log?

FeatureTypical sports scrapersNBA Game Log
InputSite-specific slugs or IDsPlain names, URLs or IDs
Same-name athletesOften picks the wrong personFiltered to NBA only
Output shapeRaw page tablesOne clean row per game, newest first
Several names per runUsually oneUp to 50
AI agent useNot describedShort, predictable rows for MCP tools

How much will NBA Game Log cost?

NBA Game Log uses pay-per-event pricing. At current Free-tier rates, the default 4 GB run-start charge is about $0.004, plus $0.001 per returned game; 10 rows therefore cost about $0.014. Your plan tier and Apify's current rates may change the total. Check the Pricing tab and request only the rows you need.

Run it through the Apify API

curl -X POST "https://api.apify.com/v2/acts/trovevault~nba-game-log/run-sync-get-dataset-items" \
-H "Authorization: Bearer <YOUR_APIFY_TOKEN>" \
-H "Content-Type: application/json" \
-d '{"players": ["LeBron James", "Stephen Curry"], "maxItems": 10}'

Limitations

  • Box score stats are available for players only. Team rows contain results and scores.
  • Data comes from ESPN's public sports data, so coverage and update timing follow ESPN and may lag the end of an event.
  • Only completed games are returned; scheduled ones are skipped.

Troubleshooting

  • No rows returned: check the spelling or use an ESPN URL or ID. Some names are not present in ESPN's database, and upcoming games are not included.
  • Fewer rows than requested: the source may have fewer completed results for that name, season or competition.
  • Some names failed: successful names are still returned. Check the RUN_SUMMARY key-value record for the per-name errors and retry only those names.
  • Rows are missing from your existing dataset: confirm the datasetId belongs to a dataset you can write to. The run's default dataset is still populated separately.

FAQ

Can I use NBA Game Log with MCP and AI agents?

Yes. NBA Game Log works through the Apify MCP server in Claude, ChatGPT, Cursor and other MCP clients. Ask your agent for a NBA player's last 10 games and it can call the Actor directly.

Can I use NBA Game Log with the Apify API?

Yes. Use the run-sync-get-dataset-items endpoint shown above, or the Apify JavaScript and Python clients.

How many games can I get per run?

Up to 200 games per name and up to 50 names per run.

Can I get historical games?

Yes. Set Season to read a past season, or raise Maximum games per name and the Actor goes back across seasons.

Does it work with integrations?

Yes. Send results to Google Sheets, Make, Zapier, n8n, Slack or webhooks with Apify integrations, or append them to an existing dataset with Dataset ID.

NBA Game Log collects factual sports results and statistics that are publicly available. You are responsible for how you use the data, including any terms of the sources and betting rules in your country.

Your feedback

Found a missing game or a wrong name match? Open an issue on the Issues tab and include the name you entered.