NFL player stat leaders
Season player statistics for one category, sorted like nfl.com's stats pages: each player's name, slug, url and every column of the table in stats (e.g. passing yards, yards per attempt, completions, touchdowns, interceptions, rating, sacks). sort_keys lists the sortable columns and their keys. Pass next_cursor back as cursor; null on the last page.
Every response includes credits_used: the credits this call cost.
Part of the NFL API: 12 endpoints with prices, use cases and example responses.
Parameters
| name | type | description |
|---|---|---|
category | passing | rushing | receiving | fumbles | tackles | interceptions | field-goals | kickoffs | kickoff-returns | punts | punt-returns | Stat category. Example: passing |
season | integer | Season year (the season that starts that September), e.g. 2026; the current season by default. |
season_type | PRE | REG | POST | REG (default), POST or PRE. |
sort | string | A sort key from sort_keys (e.g. passingtouchdowns); the category's main stat by default. |
order | desc | asc | desc (default) or asc. |
cursor | string | next_cursor from the previous page. |
Every endpoint also takes fresh, raw, fields (see lean responses and caching).
Example
curl "https://api.api.sh/nfl/v1/stats/players?category=passing&season=2026" \
-H "x-api-key: $APISH_KEY" import os, requests
res = requests.get(
"https://api.api.sh/nfl/v1/stats/players",
params={"category": "passing", "season": "2026"},
headers={"x-api-key": os.environ["APISH_KEY"]},
timeout=120,
)
res.raise_for_status()
data = res.json() const url = new URL("https://api.api.sh/nfl/v1/stats/players");
url.searchParams.set("category", "passing");
url.searchParams.set("season", "2026");
const res = await fetch(url, { headers: { "x-api-key": process.env.APISH_KEY } });
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
const data = await res.json(); Response
A JSON object with the fields described above, plus raw (the source's own data), cached, fetched_at and credits_used. Errors return {"success": false, "error": "…"} with the HTTP status (see errors). A lookup that ran but found nothing (404) costs the price above; refused calls and errors on our side are free (what's charged).