Team Season Stats API

One row per team with its season totals and per-game averages across every stat category, own or opponent side, for the NFL, NBA, WNBA, NHL, MLB and college football or basketball. Built for offence and defence comparisons.

$0.50 per 1,000 records

You pay only for the records you get. Zero records cost zero. 10,000 free records of this API to start (5,000 at the base price of $1 per 1,000), no card.

Try it
Ready-made, maintained by usRecords, 19 fieldsv1.0

Data from site.web.api.espn.com/apis/common/v3/sports/football/nfl/statistics/byteam

Get this data

Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.

Try it

League
League: nfl, nba, wnba, nhl, mlb, college-football or mens-college-basketball.
Seasonoptional
Season year as ESPN labels it (the NBA 2025-26 season is 2026). Defaults to the current season.
Example: 2026
Season typeoptional
Part of the season: regular, postseason or preseason.
Sideoptional
own for the team's own stats, opponent for what its opponents did against it.

Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 10,000 records of this API, no card. Create a free key

For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
Endpoint
POSThttps://pullrow.dev/v1/apis/espn-team-season-stats/run
  • Small runs answer in the same request; longer ones answer 202 with a run to poll.
  • fields returns only the fields you name. The examples send the ones picked on this page.
  • Idempotency-Key is optional. A retry with it is never charged twice.
  • You pay for records returned. Zero records cost zero.

Every run option, explained

Calling it needs a key
10,000 free records of this API to start. No card.
curl
curl -X POST "https://pullrow.dev/v1/apis/espn-team-season-stats/run" \
  -H "Authorization: Bearer $PULLROW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"league":"nfl"},"max_items":50}'

Inputs

Send them as input in the request body. Leave one out to use its default.

leaguetextrequired
League: nfl, nba, wnba, nhl, mlb, college-football or mens-college-basketball.
default: nflexample: nflone of: nfl, nba, wnba, nhl, mlb, college-football, mens-college-basketball
seasonnumber
Season year as ESPN labels it (the NBA 2025-26 season is 2026). Defaults to the current season.
example: 2026
season_typetext
Part of the season: regular, postseason or preseason.
default: regularexample: regularone of: regular, postseason, preseason
sidetext
own for the team's own stats, opponent for what its opponents did against it.
default: ownexample: ownone of: own, opponent

What's in each record

19 fields: 17 here, 2 technical ones under Technical details.

Basics

  • Team display name

    Example Arizona Cardinals

  • Team abbreviation

    Example ARI

  • League

    Example nfl

  • Season year

    Example 2,026

  • Season type

    regular, postseason or preseason.

    Example regular

  • Side

    own or opponent.

    Example own

  • Games played

    Example 12

  • Points per game

    Points scored per game.

    Example 17.33

  • Total yards per game

    Total yards per game (football).

    Example 307.583

  • Passing yards per game

    Passing yards per game (football).

    Example 208.917

  • Rushing yards per game

    Rushing yards per game (football).

    Example 98.7

  • Turnovers

    Giveaways (football).

    Example 16

  • Third down (%)

    Third-down conversion percentage (football).

    Example 37.278%

  • Sacks

    Times sacked (football offence).

    Example 32

  • Total penalties

    Example 78

  • Stats

    Every stat column the source gives for the team, keyed by category and ESPN stat name.

    Example General games played: 12 · General fumbles recovered: 5 · General fumbles lost: 3

Technical detailsField names and types for developers, and the 2 fields hidden above

Hidden by default

These 2 fields come with each record too. They are internal codes, notes about how the record was read or a copy of what was searched for, so the lists above leave them out.

  • ID idTeam id, with the side added for opponent rows.
  • ESPN team ID team_id

Field names and types

The names your code reads in each record. "Filled" counts how many of the 3 sample records carry the field.

Field nameTypeShown on this page asFilled
idtextID (hidden)3 of 3
team_idtextESPN team ID (hidden)3 of 3
teamtextTeam display name3 of 3
abbreviationtextTeam abbreviation3 of 3
leaguetextLeague3 of 3
seasonnumberSeason year3 of 3
season_typetextSeason type3 of 3
sidetextSide3 of 3
urllinkLink3 of 3
games_playednumberGames played3 of 3
points_per_gamenumberPoints per game3 of 3
total_yards_per_gamenumberTotal yards per game3 of 3
passing_yards_per_gamenumberPassing yards per game3 of 3
rushing_yards_per_gamenumberRushing yards per game3 of 3
turnoversnumberTurnovers3 of 3
third_down_pctnumberThird down (%)3 of 3
sacksnumberSacks3 of 3
penaltiesnumberTotal penalties3 of 3
statsgroup of valuesStats3 of 3

How it reads the site

Runs on a reader we built and maintain by hand for this site.

Sample records

Sample records
RecordTeam display nameTeam abbreviationLeagueSeason yearSeason typeSideGames playedPoints per gameTotal yards per gamePassing yards per gameRushing yards per gameTurnoversThird down (%)SacksTotal penaltiesStatsLink
1Arizona CardinalsARInfl2,026regularown1217.33307.583208.91798.71637.278%3278General games played: 12 · General fumbles recovered: 5 · General fumbles lost: 3espn.com/nfl/team/stats/_/id/22
2Atlanta FalconsATLnfl2,026regularown1119.55341.727202.455139.32334.815%2281General games played: 11 · General fumbles recovered: 6 · General fumbles lost: 7espn.com/nfl/team/stats/_/id/1
3Baltimore RavensBALnfl2,026regularown1222.08354.167225.75128.41736.552%2789General games played: 12 · General fumbles recovered: 5 · General fumbles lost: 10espn.com/nfl/team/stats/_/id/33

Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.

Reliability

Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.

Incidents and repairs

How it is kept working What a repair can't do

A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.

  • You pay only for records returned. A run that returns none costs nothing.
Known limits
  • Season-to-date totals only, for the season and season type you ask for; it is not a game-by-game log.
  • The headline columns (points, yards, turnovers, third-down percentage, sacks, penalties) are filled for football; in other sports they are filled only where the source has a matching stat. Every stat the source gives is in stats.
  • Stat names differ by sport; a few appear in more than one category, so the second and later ones carry a category prefix in stats.
  • Teams are returned in the source's own order; college leagues return all listed teams page by page.
  • Updated by the source after each game; no key needed. The data is ESPN's: check its terms before republishing it.

Version history

A run uses the live version unless the request names another one with version.