StatMuse Scraper avatar

StatMuse Scraper

Pricing

from $3.00 / 1,000 results

Go to Apify Store
StatMuse Scraper

StatMuse Scraper

Scrape StatMuse sports statistics - ask natural language questions about NBA, NFL, MLB, and NHL stats. Get player career stats, game logs, team records, and season leaders via StatMuse's public Q&A and stats API.

Pricing

from $3.00 / 1,000 results

Rating

0.0

(0)

Developer

Crawler Bros

Crawler Bros

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

15 days ago

Last modified

Share

Scrape sports statistics from StatMuse using natural language queries. Ask any sports question in plain English and get structured stat data back for NBA, NFL, MLB, and NHL. Perfect for building sports analytics dashboards, betting research tools, and sports history research.

What this actor does

  • Four modes: queryNBA, queryNFL, queryMLB, queryNHL
  • Natural language queries: ask anything, e.g. "LeBron James career points" or "most touchdowns in 2023"
  • Structured output: player name, team, season, rank, individual stats
  • Fallback: returns the answer sentence if no table data is available
  • Empty fields are omitted — no null values in output

Output per record

FieldDescription
queryTextYour original query
answerStatMuse's natural language answer
sportSport (nba/nfl/mlb/nhl)
playerNamePlayer name
playerIdPlayer identifier
playerUrlStatMuse player page URL
imageUrlPlayer headshot URL
teamTeam name
seasonSeason/year
rankRanking in result list
statsObject with all numeric stat values
queryUrlStatMuse query URL
recordTypeAlways "stat"
scrapedAtISO 8601 timestamp

Input

FieldTypeDefaultDescription
modestringqueryNBAqueryNBA / queryNFL / queryMLB / queryNHL
querystringLeBron James career pointsNatural language sports question
maxItemsinteger10Max records to return (1–200)

Example: NBA player career stats

{
"mode": "queryNBA",
"query": "LeBron James career points",
"maxItems": 10
}

Example: NFL touchdowns leaders 2023

{
"mode": "queryNFL",
"query": "most touchdowns in 2023",
"maxItems": 20
}

Example: MLB batting average leaders

{
"mode": "queryMLB",
"query": "highest batting average 2023 season",
"maxItems": 10
}

Frequently Asked Questions

What kind of questions can I ask? Any natural language sports question: player career stats, single-season leaders, game logs, team records, historical comparisons, etc.

Does this require a StatMuse account or API key? No. This uses StatMuse's public website.

Which sports are supported? NBA, NFL, MLB, and NHL.

What if there's no table in the answer? The actor returns a single record with the StatMuse answer sentence and the query URL.

Can I get game-by-game data? Yes, try queries like "LeBron James game log 2023-24 season".