ESPN athlete game log API
Use the ESPN athlete game log API to retrieve filter and option values, grouped competition tables, published summaries and record identities and titles as structured JSON from ESPN. Supply league and player identifier in the query; optionally select sport and season to set the requested scope. Use these results to compare positions within the selected table and follow reported standings for the relevant competitors. The detail page includes parameter definitions, paired request and response examples, and usage pricing for this operation.
- Selected price
- $0.002 / billing creditPublished pricing
- Sellers / APIs
- 1 / 1
- Requests · 30d
- —Loading...
- Success rate · 30d
- —Loading...
ESPN athlete game log API
Prepare your request, then continue with your agent.
Pricing
$0.002 / billing credit
Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.
- Provider
- Pricing
On this page
Overview
ESPN athlete game log API
Use the ESPN athlete game log API to retrieve filter and option values, grouped competition tables, published summaries and record identities and titles as structured JSON from ESPN. Supply league and player identifier in the query; optionally select sport and season to set the requested scope. Use these results to compare positions within the selected table and follow reported standings for the relevant competitors. The detail page includes parameter definitions, paired request and response examples, and usage pricing for this operation.
ESPN athlete game log API
Game-by-game stats of an athlete for a season: each game's date, opponent, home/away, result and score with every stat column, grouped by season type and month/round, with totals and averages.
Inputs and results
Send the listed inputs as GET query parameters. Required inputs: league, athlete_id. Supported values, filters and optional identifiers are listed below.
| Parameter | Type | Required | Meaning |
|---|---|---|---|
league | string | Required | League slug: nfl, college-football, nba, wnba, mens-college-basketball, womens-college-basketball, mlb, nhl, soccer competitions (eng.1 Premier League, esp.1 LaLiga, ita.1, ger.1, fra.1, usa.1 MLS, uefa.champions, uefa.europa, fifa.world ...), f1, irl, nascar-premier, pga, lpga, atp, wta, ufc. Other ESPN leagues work with `sport`. |
sport | string | Optional | Only needed for a league not listed under `league` (it is inferred for those). Allowed values: football, basketball, baseball, hockey, soccer, racing, golf, tennis, mma, lacrosse, volleyball, rugby, field-hockey, water-polo, australian-football, rugby-league, cricket, boxing. |
athlete_id | string | Required | ESPN athlete id (from rosters, box scores or `/espn/v1/search`; 1966 = LeBron James). |
season | integer | Optional | Season year (e.g. 2024; for NBA/NHL the year the season ends). |
seasontype | integer | Optional | 1 preseason, 2 regular season, 3 postseason, 4 off-season. Allowed values: 1, 2, 3, 4. |
raw | string | Optional | Use 0 to leave out the source raw blocks. This controls raw source payloads, not the normalized result records. Allowed values: 0, 1. |
fields | string | Optional | Optional comma-separated output fields; nested paths follow the source field-selection syntax. Call metadata is retained. |
fresh | string | Optional | Use 1 to bypass the source response cache. Cache hits are also billed according to reported credits. Allowed values: 1. |
output | string | Optional | Response format for this product: json. Omit this parameter to use JSON. Allowed values: json. |
records | string | Optional | Source export selector for CSV or NDJSON. It has no effect on this JSON-only product. |
Using OpenAny
Send this request to the OpenAny gateway with your OpenAny API key in the Authorization header. The query values below match the paired request example.
OpenAny request example
curl "https://api.openany.si/v1/agent-apis/apish/espn/v1/athlete-gamelog?league=nba&athlete_id=1966&output=json&raw=0" \
-H "Authorization: Bearer <OPENANY_API_KEY>"This command illustrates the OpenAny request format. The response example below retains its stated provenance; it is not evidence that this gateway request was executed.
Response example
Recorded source response for the exact request shown above. Filters, field selectors and page choices in that request define the returned scope.
The complete response is available in the request and response examples panel. The source payload is preserved there without local shortening.
Usage and price
The price is USD 0.002 per actual credit reported in credits_used, with no fixed per-call fee. A response reporting zero credits has zero usage cost. Up to USD 0.002 is reserved for this request; the final price follows reported usage within the configured upper limit. A valid empty result or an unsuccessful lookup can still consume source credits. Cache hits also consume credits.
Coverage and limits
Coverage and update times follow the source. Use the documented field definitions when interpreting the selected result. Requests have a 120-second time budget and a 8 MiB response limit.
Playground
Run sends a real API request. Charges follow the published API contract.
Response structure
athlete_idstringcachedbooleancredits_usedintegerfetched_atstringfiltersobject[]displayNamestringnamestringoptionsobject[]displayValuestringshortDisplayNamestringvaluestring
valuestring
glossaryobject[]abbreviationstringdisplayNamestring
labelsstring[]leaguestringnamesstring[]season_typesobject[]groupsobject[]gamesobject[]datestringevent_idstringhome_awaystringleaguestringopponentobjectabbreviationstringidstringlogostringnamestring
resultstringscorestringstatsobjectassistsstringblocksstringfieldGoalPctstringfieldGoalsMade-fieldGoalsAttemptedstringfoulsstringfreeThrowPctstringfreeThrowsMade-freeThrowsAttemptedstringminutesstringpointsstringstealsstringthreePointFieldGoalsMade-threePointFieldGoalsAttemptedstringthreePointPctstringtotalReboundsstringturnoversstring
team_idstring
namestringtotalsobject | nullassistsstringblocksstringfieldGoalPctstringfieldGoalsMade-fieldGoalsAttemptedstringfoulsstringfreeThrowPctstringfreeThrowsMade-freeThrowsAttemptedstringminutesstringpointsstringstealsstringthreePointFieldGoalsMade-threePointFieldGoalsAttemptedstringthreePointPctstringtotalReboundsstringturnoversstring
typestring
namestringsummaryobject | nulldisplayNamestringstatsobject[]displayNamestringstatsstring[]typestring
sportstring
// Inferred from response examples. Fields are optional and other fields may be returned.
export type ApiResponse = {
athlete_id?: string;
cached?: boolean;
credits_used?: number;
fetched_at?: string;
filters?: Array<{
displayName?: string;
name?: string;
options?: Array<{
displayValue?: string;
shortDisplayName?: string;
value?: string;
}>;
value?: string;
}>;
glossary?: Array<{
abbreviation?: string;
displayName?: string;
}>;
labels?: Array<string>;
league?: string;
names?: Array<string>;
season_types?: Array<{
groups?: Array<{
games?: Array<{
date?: string;
event_id?: string;
home_away?: string;
league?: string;
opponent?: {
abbreviation?: string;
id?: string;
logo?: string;
name?: string;
};
result?: string;
score?: string;
stats?: {
assists?: string;
blocks?: string;
fieldGoalPct?: string;
"fieldGoalsMade-fieldGoalsAttempted"?: string;
fouls?: string;
freeThrowPct?: string;
"freeThrowsMade-freeThrowsAttempted"?: string;
minutes?: string;
points?: string;
steals?: string;
"threePointFieldGoalsMade-threePointFieldGoalsAttempted"?: string;
threePointPct?: string;
totalRebounds?: string;
turnovers?: string;
};
team_id?: string;
}>;
name?: string;
totals?: {
assists?: string;
blocks?: string;
fieldGoalPct?: string;
"fieldGoalsMade-fieldGoalsAttempted"?: string;
fouls?: string;
freeThrowPct?: string;
"freeThrowsMade-freeThrowsAttempted"?: string;
minutes?: string;
points?: string;
steals?: string;
"threePointFieldGoalsMade-threePointFieldGoalsAttempted"?: string;
threePointPct?: string;
totalRebounds?: string;
turnovers?: string;
} | null;
type?: string;
}>;
name?: string;
summary?: {
displayName?: string;
stats?: Array<{
displayName?: string;
stats?: Array<string>;
type?: string;
}>;
} | null;
}>;
sport?: string;
};Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
apishCurrent ESPN athlete game log API · GET · View API reference | $0.002 / billing credit | — | —successP50— |
- Pricing
- $0.002
Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.
Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 2. Price update time: not supplied.
API
- Method
- GET
- Endpoint
https://api.openany.si/v1/agent-apis/apish/espn/v1/athlete-gamelog- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
curl \
'https://api.openany.si/v1/agent-apis/apish/espn/v1/athlete-gamelog?athlete_id=1966&league=nba&output=json&raw=0' \
-X GET \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json'Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
league | URL query parametersquery | string | Yes | League slug: nfl, college-football, nba, wnba, mens-college-basketball, womens-college-basketball, mlb, nhl, soccer competitions (eng.1 Premier League, esp.1 LaLiga, ita.1, ger.1, fra.1, usa.1 MLS, uefa.champions, uefa.europa, fifa.world ...), f1, irl, nascar-premier, pga, lpga, atp, wta, ufc. Other ESPN leagues work with `sport`. |
sport | URL query parametersquery | string | No | Only needed for a league not listed under `league` (it is inferred for those). enum: "football", "basketball", "baseball", "hockey", "soccer", "racing", "golf", "tennis", "mma", "lacrosse", "volleyball", "rugby", "field-hockey", "water-polo", "australian-football", "rugby-league", "cricket", "boxing" |
athlete_id | URL query parametersquery | string | Yes | ESPN athlete id (from rosters, box scores or `/espn/v1/search`; 1966 = LeBron James). |
season | URL query parametersquery | integer | No | Season year (e.g. 2024; for NBA/NHL the year the season ends). |
seasontype | URL query parametersquery | integer | No | 1 preseason, 2 regular season, 3 postseason, 4 off-season. enum: 1, 2, 3, 4 |
raw | URL query parametersquery | string | No | 0 leaves out the bulky `raw` source blocks (often 10-30x smaller). enum: "0", "1" |
fields | URL query parametersquery | string | No | Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included. |
fresh | URL query parametersquery | string | No | 1 skips the 24-hour cache and fetches live. enum: "1" |
output | URL query parametersquery | string | No | JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON are not supported. enum: "json" |
records | URL query parametersquery | string | No | With output=csv|ndjson: the top-level list to turn into rows (e.g. `reviews`), or `.` for the whole object as one row. |
Required markers inside a nested object or variant apply when that object or variant is used.
Sample response
Sample response · Documented HTTP 200 Example from the provider's documentation. Field values in your results will differ.
{
"athlete_id": "1966",
"cached": false,
"credits_used": 1,
"fetched_at": "2026-11-19T12:21:09.356Z",
"filters": [
{
"displayName": "League",
"name": "league",
"options": [
{
"displayValue": "National Basketball Association",
"shortDisplayName": "NBA",
"value": "nba"
}
],
"value": "nba"
},
{
"displayName": "Season",
"name": "season",
"options": [
{
"displayValue": "2026-27",
"value": "2027"
},
{
"displayValue": "2025-26",
"value": "2026"
},
{
"displayValue": "2024-25",
"value": "2025"
},
{
"displayValue": "2023-24",
"value": "2024"
},
{
"displayValue": "2022-23",
"value": "2023"
},
{
"displayValue": "2021-22",
"value": "2022"
},
{
"displayValue": "2020-21",
"value": "2021"
},
{
"displayValue": "2019-20",
"value": "2020"
},
{
"displayValue": "2018-19",
"value": "2019"
},
{
"displayValue": "2017-18",
"value": "2018"
},
{
"displayValue": "2016-17",
"value": "2017"
},
{
"displayValue": "2015-16",
"value": "2016"
},
{
"displayValue": "2014-15",
"value": "2015"
},
{
"displayValue": "2013-14",
"value": "2014"
},
{
"displayValue": "2012-13",
"value": "2013"
},
{
"displayValue": "2011-12",
"value": "2012"
},
{
"displayValue": "2010-11",
"value": "2011"
},
{
"displayValue": "2009-10",
"value": "2010"
},
{
"displayValue": "2008-09",
"value": "2009"
},
{
"displayValue": "2007-08",
"value": "2008"
},
{
"displayValue": "2006-07",
"value": "2007"
},
{
"displayValue": "2005-06",
"value": "2006"
},
{
"displayValue": "2004-05",
"value": "2005"
},
{
"displayValue": "2003-04",
"value": "2004"
}
],
"value": "2027"
}
],
"glossary": [
{
"abbreviation": "3P%",
"displayName": "3-Point Field Goal Percentage"
},
{
"abbreviation": "3PT",
"displayName": "3-Point Field Goals Made-Attempted"
},
{
"abbreviation": "AST",
"displayName": "Assists"
},
{
"abbreviation": "BLK",
"displayName": "Blocks"
},
{
"abbreviation": "FG",
"displayName": "Field Goals Made-Attempted"
},
{
"abbreviation": "FG%",
"displayName": "Field Goal Percentage"
},
{
"abbreviation": "FT",
"displayName": "Free Throws Made-Attempted"
},
{
"abbreviation": "FT%",
"displayName": "Free Throw Percentage"
},
{
"abbreviation": "MIN",
"displayName": "Minutes"
},
{
"abbreviation": "PF",
"displayName": "Fouls"
},
{
"abbreviation": "PTS",
"displayName": "Points"
},
{
"abbreviation": "REB",
"displayName": "Rebounds"
},
{
"abbreviation": "STL",
"displayName": "Steals"
},
{
"abbreviation": "TO",
"displayName": "Turnovers"
}
],
"labels": [
"MIN",
"FG",
"FG%",
"3PT",
"3P%",
"FT",
"FT%",
"REB",
"AST",
"BLK",
"STL",
"PF",
"TO",
"PTS"
],
"league": "nba",
"names": [
"minutes",
"fieldGoalsMade-fieldGoalsAttempted",
"fieldGoalPct",
"threePointFieldGoalsMade-threePointFieldGoalsAttempted",
"threePointPct",
"freeThrowsMade-freeThrowsAttempted",
"freeThrowPct",
"totalRebounds",
"assists",
"blocks",
"steals",
"fouls",
"turnovers",
"points"
],
"season_types": [
{
"groups": [
{
"games": [
{
"date": "2026-11-19T00:00:00.000+00:00",
"event_id": "401910010",
"home_away": "@",
"league": "NBA",
"opponent": {
"abbreviation": "ORL",
"id": "19",
"logo": "https://a.espncdn.com/i/teamlogos/nba/500/orl.png",
"name": "Orlando Magic"
},
"result": "W",
"score": "121-116",
"stats": {
"assists": "6",
"blocks": "0",
"fieldGoalPct": "50.0",
"fieldGoalsMade-fieldGoalsAttempted": "8-16",
"fouls": "3",
"freeThrowPct": "83.3",
"freeThrowsMade-freeThrowsAttempted": "5-6",
"minutes": "31",
"points": "22",
"steals": "0",
"threePointFieldGoalsMade-threePointFieldGoalsAttempted": "1-5",
"threePointPct": "20.0",
"totalRebounds": "3",
"turnovers": "1"
},
"team_id": "20"
},
{
"date": "2026-11-15T18:00:00.000+00:00",
"event_id": "401909985",
"home_away": "vs",
"league": "NBA",
"opponent": {
"abbreviation": "IND",
"id": "11",
"logo": "https://a.espncdn.com/i/teamlogos/nba/500/ind.png",
"name": "Indiana Pacers"
},
"result": "W",
"score": "131-124",
"stats": {
"assists": "11",
"blocks": "1",
"fieldGoalPct": "62.5",
"fieldGoalsMade-fieldGoalsAttempted": "5-8",
"fouls": "3",
"freeThrowPct": "83.3",
"freeThrowsMade-freeThrowsAttempted": "5-6",
"minutes": "33",
"points": "15",
"steals": "0",
"threePointFieldGoalsMade-threePointFieldGoalsAttempted": "0-2",
"threePointPct": "0.0",
"totalRebounds": "7",
"turnovers": "2"
},
"team_id": "20"
},
{
"date": "2026-11-11T01:00:00.000+00:00",
"event_id": "401909961",
"home_away": "vs",
"league": "NBA",
"opponent": {
"abbreviation": "BOS",
"id": "2",
"logo": "https://a.espncdn.com/i/teamlogos/nba/500/bos.png",
"name": "Boston Celtics"
},
"result": "L",
"score": "123-101",
"stats": {
"assists": "5",
"blocks": "0",
"fieldGoalPct": "33.3",
"fieldGoalsMade-fieldGoalsAttempted": "4-12",
"fouls": "2",
"freeThrowPct": "100.0",
"freeThrowsMade-freeThrowsAttempted": "2-2",
"minutes": "29",
"points": "11",
"steals": "0",
"threePointFieldGoalsMade-threePointFieldGoalsAttempted": "1-6",
"threePointPct": "16.7",
"totalRebounds": "8",
"turnovers": "1"
},
"team_id": "20"
},
{
"date": "2026-11-08T20:30:00.000+00:00",
"event_id": "401909945",
"home_away": "@",
"league": "NBA",
"opponent": {
"abbreviation": "CHI",
"id": "4",
"logo": "https://a.espncdn.com/i/teamlogos/nba/500/chi.png",
"name": "Chicago Bulls"
},
"result": "W",
"score": "127-121",
"stats": {
"assists": "5",
"blocks": "0",
"fieldGoalPct": "50.0",
"fieldGoalsMade-fieldGoalsAttempted": "8-16",
"fouls": "1",
"freeThrowPct": "80.0",
"freeThrowsMade-freeThrowsAttempted": "4-5",
"minutes": "33",
"points": "22",
"steals": "1",
"threePointFieldGoalsMade-threePointFieldGoalsAttempted": "2-5",
"threePointPct": "40.0",
"totalRebounds": "5",
"turnovers": "3"
},
"team_id": "20"
},
{
"date": "2026-11-07T00:30:00.000+00:00",
"event_id": "401909289",
"home_away": "@",
"league": "NBA",
"opponent": {
"abbreviation": "CLE",
"id": "5",
"logo": "https://a.espncdn.com/i/teamlogos/nba/500/cle.png",
"name": "Cleveland Cavaliers"
},
"result": "L",
"score": "119-95",
"stats": {
"assists": "3",
"blocks": "1",
"fieldGoalPct": "25.0",
"fieldGoalsMade-fieldGoalsAttempted": "3-12",
"fouls": "2",
"freeThrowPct": "100.0",
"freeThrowsMade-freeThrowsAttempted": "2-2",
"minutes": "32",
"points": "8",
"steals": "2",
"threePointFieldGoalsMade-threePointFieldGoalsAttempted": "0-4",
"threePointPct": "0.0",
"totalRebounds": "7",
"turnovers": "6"
},
"team_id": "20"
},
{
"date": "2026-11-05T00:00:00.000+00:00",
"event_id": "401909922",
"home_away": "@",
"league": "NBA",
"opponent": {
"abbreviation": "DET",
"id": "8",
"logo": "https://a.espncdn.com/i/teamlogos/nba/500/det.png",
"name": "Detroit Pistons"
},
"result": "W",
"score": "112-106",
"stats": {
"assists": "8",
"blocks": "1",
"fieldGoalPct": "50.0",
"fieldGoalsMade-fieldGoalsAttempted": "5-10",
"fouls": "0",
"freeThrowPct": "100.0",
"freeThrowsMade-freeThrowsAttempted": "2-2",
"minutes": "33",
"points": "13",
"steals": "1",
"threePointFieldGoalsMade-threePointFieldGoalsAttempted": "1-2",
"threePointPct": "50.0",
"totalRebounds": "10",
"turnovers": "3"
},
"team_id": "20"
},
{
"date": "2026-11-03T00:30:00.000+00:00",
"event_id": "401909912",
"home_away": "vs",
"league": "NBA",
"opponent": {
"abbreviation": "CHI",
"id": "4",
"logo": "https://a.espncdn.com/i/teamlogos/nba/500/chi.png",
"name": "Chicago Bulls"
},
"result": "W",
"score": "126-107",
"stats": {
"assists": "9",
"blocks": "0",
"fieldGoalPct": "46.2",
"fieldGoalsMade-fieldGoalsAttempted": "6-13",
"fouls": "1",
"freeThrowPct": "60.0",
"freeThrowsMade-freeThrowsAttempted": "3-5",
"minutes": "31",
"points": "15",
"steals": "1",
"threePointFieldGoalsMade-threePointFieldGoalsAttempted": "0-2",
"threePointPct": "0.0",
"totalRebounds": "7",
"turnovers": "3"
},
"team_id": "20"
}
],
"name": "november",
"totals": {
"assists": "6.7",
"blocks": "0.4",
"fieldGoalPct": "44.8",
"fieldGoalsMade-fieldGoalsAttempted": "5.6-12.4",
"fouls": "1.7",
"freeThrowPct": "82.1",
"freeThrowsMade-freeThrowsAttempted": "3.3-4.0",
"minutes": "31.7",
"points": "15.1",
"steals": "0.7",
"threePointFieldGoalsMade-threePointFieldGoalsAttempted": "0.7-3.7",
"threePointPct": "19.2",
"totalRebounds": "6.7",
"turnovers": "2.7"
},
"type": "event"
},
{
"games": [
{
"date": "2026-10-30T23:30:00.000+00:00",
"event_id": "401909280",
"home_away": "vs",
"league": "NBA",
"opponent": {
"abbreviation": "NY",
"id": "18",
"logo": "https://a.espncdn.com/i/teamlogos/nba/500/ny.png",
"name": "New York Knicks"
},
"result": "W",
"score": "98-93",
"stats": {
"assists": "8",
"blocks": "1",
"fieldGoalPct": "53.3",
"fieldGoalsMade-fieldGoalsAttempted": "8-15",
"fouls": "2",
"freeThrowPct": "66.7",
"freeThrowsMade-freeThrowsAttempted": "2-3",
"minutes": "34",
"points": "20",
"steals": "1",
"threePointFieldGoalsMade-threePointFieldGoalsAttempted": "2-6",
"threePointPct": "33.3",
"totalRebounds": "9",
"turnovers": "2"
},
"team_id": "20"
},
{
"date": "2026-10-28T23:00:00.000+00:00",
"event_id": "401909884",
"home_away": "@",
"league": "NBA",
"opponent": {
"abbreviation": "IND",
"id": "11",
"logo": "https://a.espncdn.com/i/teamlogos/nba/500/ind.png",
"name": "Indiana Pacers"
},
"result": "W",
"score": "114-109",
"stats": {
"assists": "10",
"blocks": "2",
"fieldGoalPct": "41.7",
"fieldGoalsMade-fieldGoalsAttempted": "5-12",
"fouls": "4",
"freeThrowPct": "50.0",
"freeThrowsMade-freeThrowsAttempted": "1-2",
"minutes": "33",
"points": "13",
"steals": "1",
"threePointFieldGoalsMade-threePointFieldGoalsAttempted": "2-3",
"threePointPct": "66.7",
"totalRebounds": "5",
"turnovers": "0"
},
"team_id": "20"
},
{
"date": "2026-10-25T23:30:00.000+00:00",
"event_id": "401909866",
"home_away": "vs",
"league": "NBA",
"opponent": {
"abbreviation": "DET",
"id": "8",
"logo": "https://a.espncdn.com/i/teamlogos/nba/500/det.png",
"name": "Detroit Pistons"
},
"result": "L",
"score": "106-93",
"stats": {
"assists": "5",
"blocks": "0",
"fieldGoalPct": "53.3",
"fieldGoalsMade-fieldGoalsAttempted": "8-15",
"fouls": "1",
"freeThrowPct": "33.3",
"freeThrowsMade-freeThrowsAttempted": "2-6",
"minutes": "33",
"points": "18",
"steals": "2",
"threePointFieldGoalsMade-threePointFieldGoalsAttempted": "0-3",
"threePointPct": "0.0",
"totalRebounds": "2",
"turnovers": "3"
},
"team_id": "20"
},
{
"date": "2026-10-22T23:00:00.000+00:00",
"event_id": "401909093",
"home_away": "vs",
"league": "NBA",
"opponent": {
"abbreviation": "CLE",
"id": "5",
"logo": "https://a.espncdn.com/i/teamlogos/nba/500/cle.png",
"name": "Cleveland Cavaliers"
},
"result": "W",
"score": "114-106",
"stats": {
"assists": "5",
"blocks": "1",
"fieldGoalPct": "35.7",
"fieldGoalsMade-fieldGoalsAttempted": "5-14",
"fouls": "3",
"freeThrowPct": "85.7",
"freeThrowsMade-freeThrowsAttempted": "6-7",
"minutes": "33",
"points": "17",
"steals": "3",
"threePointFieldGoalsMade-threePointFieldGoalsAttempted": "1-4",
"threePointPct": "25.0",
"totalRebounds": "10",
"turnovers": "5"
},
"team_id": "20"
},
{
"date": "2026-10-20T23:00:00.000+00:00",
"event_id": "401909089",
"home_away": "@",
"league": "NBA",
"opponent": {
"abbreviation": "NY",
"id": "18",
"logo": "https://a.espncdn.com/i/teamlogos/nba/500/ny.png",
"name": "New York Knicks"
},
"result": "W",
"score": "106-100",
"stats": {
"assists": "7",
"blocks": "1",
"fieldGoalPct": "38.5",
"fieldGoalsMade-fieldGoalsAttempted": "5-13",
"fouls": "4",
"freeThrowPct": "66.7",
"freeThrowsMade-freeThrowsAttempted": "4-6",
"minutes": "34",
"points": "14",
"steals": "1",
"threePointFieldGoalsMade-threePointFieldGoalsAttempted": "0-3",
"threePointPct": "0.0",
"totalRebounds": "9",
"turnovers": "1"
},
"team_id": "20"
}
],
"name": "october",
"totals": {
"assists": "7.0",
"blocks": "1.0",
"fieldGoalPct": "44.9",
"fieldGoalsMade-fieldGoalsAttempted": "6.2-13.8",
"fouls": "2.8",
"freeThrowPct": "62.5",
"freeThrowsMade-freeThrowsAttempted": "3.0-4.8",
"minutes": "33.4",
"points": "16.4",
"steals": "1.6",
"threePointFieldGoalsMade-threePointFieldGoalsAttempted": "1.0-3.8",
"threePointPct": "26.3",
"totalRebounds": "7.0",
"turnovers": "2.2"
},
"type": "event"
}
],
"name": "2026-27 Regular Season",
"summary": {
"displayName": "Regular Season Stats",
"stats": [
{
"displayName": "Averages",
"stats": [
"32.5",
"5.8-13.0",
"44.9",
"0.8-3.8",
"22.2",
"3.2-4.3",
"73.1",
"6.8",
"6.8",
"0.7",
"1.1",
"2.2",
"2.5",
"15.7"
],
"type": "avg"
},
{
"displayName": "Totals",
"stats": [
"390",
"70-156",
"44.9",
"10-45",
"22.2",
"38-52",
"73.1",
"82",
"82",
"8",
"13",
"26",
"30",
"188"
],
"type": "total"
}
]
}
},
{
"groups": [
{
"games": [
{
"date": "2026-10-16T23:00:00.000+00:00",
"event_id": "401898407",
"home_away": "vs",
"league": "NBA",
"opponent": {
"abbreviation": "BOS",
"id": "2",
"logo": "https://a.espncdn.com/i/teamlogos/nba/500/bos.png",
"name": "Boston Celtics"
},
"result": "L",
"score": "125-120 OT",
"stats": {
"assists": "7",
"blocks": "0",
"fieldGoalPct": "44.4",
"fieldGoalsMade-fieldGoalsAttempted": "4-9",
"fouls": "1",
"freeThrowPct": "0.0",
"freeThrowsMade-freeThrowsAttempted": "0-3",
"minutes": "25",
"points": "8",
"steals": "1",
"threePointFieldGoalsMade-threePointFieldGoalsAttempted": "0-2",
"threePointPct": "0.0",
"totalRebounds": "8",
"turnovers": "4"
},
"team_id": "20"
},
{
"date": "2026-10-08T23:30:00.000+00:00",
"event_id": "401901823",
"home_away": "@",
"league": "NBA",
"opponent": {
"abbreviation": "BKN",
"id": "17",
"logo": "https://a.espncdn.com/i/teamlogos/nba/500/bkn.png",
"name": "Brooklyn Nets"
},
"result": "L",
"score": "114-108",
"stats": {
"assists": "5",
"blocks": "0",
"fieldGoalPct": "100.0",
"fieldGoalsMade-fieldGoalsAttempted": "1-1",
"fouls": "1",
"freeThrowPct": "100.0",
"freeThrowsMade-freeThrowsAttempted": "8-8",
"minutes": "18",
"points": "10",
"steals": "1",
"threePointFieldGoalsMade-threePointFieldGoalsAttempted": "0-0",
"threePointPct": "0.0",
"totalRebounds": "4",
"turnovers": "2"
},
"team_id": "20"
}
],
"name": "Preseason",
"totals": null,
"type": "event"
}
],
"name": "2026-27 Preseason",
"summary": null
}
],
"sport": "basketball"
}Composite rule pricing
Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.
Base fee: $0.000000. One matching variant replaces the base fee. Matching add-ons and quantity charges are added.
| Fee item | Price | Metering source | When | Quantity limit |
|---|---|---|---|---|
| Actual API.SH credits consumed | $0.002000 / billing credit | Response · /credits_used · Numeric value | Always | 1 billing credit · Decimal places: 0 |
Each quantity charge is rounded before summing: ceil. Requests exceeding this cost limit are rejected; it is not a price cap: $0.002000.
Response quantities settle after the response. Before execution, the maximum quantity determines the reservation; unused reservation is released. Missing or invalid quantities are not treated as zero.
Pricing parameters and defaults
[]
Agent integration
Copy the resource contract without sharing an API key.
View API Markdown
# ESPN athlete game log API
Use the ESPN athlete game log API to retrieve filter and option values, grouped competition tables, published summaries and record identities and titles as structured JSON from ESPN. Supply league and player identifier in the query; optionally select sport and season to set the requested scope. Use these results to compare positions within the selected table and follow reported standings for the relevant competitors. The detail page includes parameter definitions, paired request and response examples, and usage pricing for this operation.
## Available implementations
apish · ESPN athlete game log API: https://openany.si/markets/apis/capabilities/espn-athlete-game-log-api?offering=6bbc7b42-36ca-4b0f-984f-e460f90bdc71 · $0.002 / billing credit
## Selected API contract
Documentation: https://openany.si/apis/6bbc7b42-36ca-4b0f-984f-e460f90bdc71
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/apish/espn/v1/athlete-gamelog
Price: $0.002 / billing credit
Provider: apish
Contract revision: 2
Price source: OpenAny public API contract and documented provider unit rates. Price update time: not supplied.
Use OPENANY_API_KEY from the environment. API Key calls use your shared balance.
## Prepared request
```bash
curl \
'https://api.openany.si/v1/agent-apis/apish/espn/v1/athlete-gamelog?athlete_id=1966&league=nba&output=json&raw=0' \
-X GET \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json'
```
## API contract
```json
{
"resource_type": "api",
"name": "ESPN athlete game log API",
"endpoint": "https://api.openany.si/v1/agent-apis/apish/espn/v1/athlete-gamelog",
"method": "GET",
"content_type": "none",
"execution_mode": "sync",
"authentication": {
"type": "bearer",
"environment_variable": "OPENANY_API_KEY"
},
"inputs": [
{
"description": "League slug: nfl, college-football, nba, wnba, mens-college-basketball, womens-college-basketball, mlb, nhl, soccer competitions (eng.1 Premier League, esp.1 LaLiga, ita.1, ger.1, fra.1, usa.1 MLS, uefa.champions, uefa.europa, fifa.world ...), f1, irl, nascar-premier, pga, lpga, atp, wta, ufc. Other ESPN leagues work with `sport`.",
"location": "query",
"name": "league",
"nullable": false,
"required": true,
"type": "string"
},
{
"description": "Only needed for a league not listed under `league` (it is inferred for those).",
"enum_values": [
"football",
"basketball",
"baseball",
"hockey",
"soccer",
"racing",
"golf",
"tennis",
"mma",
"lacrosse",
"volleyball",
"rugby",
"field-hockey",
"water-polo",
"australian-football",
"rugby-league",
"cricket",
"boxing"
],
"location": "query",
"name": "sport",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "ESPN athlete id (from rosters, box scores or `/espn/v1/search`; 1966 = LeBron James).",
"location": "query",
"name": "athlete_id",
"nullable": false,
"required": true,
"type": "string"
},
{
"description": "Season year (e.g. 2024; for NBA/NHL the year the season ends).",
"location": "query",
"name": "season",
"nullable": false,
"required": false,
"type": "integer"
},
{
"description": "1 preseason, 2 regular season, 3 postseason, 4 off-season.",
"enum_values": [
1,
2,
3,
4
],
"location": "query",
"name": "seasontype",
"nullable": false,
"required": false,
"type": "integer"
},
{
"description": "0 leaves out the bulky `raw` source blocks (often 10-30x smaller).",
"enum_values": [
"0",
"1"
],
"location": "query",
"name": "raw",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.",
"location": "query",
"name": "fields",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "1 skips the 24-hour cache and fetches live.",
"enum_values": [
"1"
],
"location": "query",
"name": "fresh",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON are not supported.",
"enum_values": [
"json"
],
"location": "query",
"name": "output",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "With output=csv|ndjson: the top-level list to turn into rows (e.g. `reviews`), or `.` for the whole object as one row.",
"location": "query",
"name": "records",
"nullable": false,
"required": false,
"type": "string"
}
],
"billing": {
"currency": "USD",
"mode": "rules",
"parameters": [],
"policy_version": 2,
"sale": {
"addons": [],
"base_price_micro_usd": "0",
"max_cost_micro_usd": "2000",
"quantities": [
{
"id": "upstream_credits",
"label": "Actual API.SH credits consumed",
"max_quantity": "1",
"measure": "value",
"pointer": "/credits_used",
"price_micro_usd": "2000",
"quantity_scale": 0,
"source": "response",
"unit": "credit",
"unit_quantity": "1"
}
],
"rounding": "ceil",
"variants": []
}
},
"examples": [
{
"http_status": 200,
"name": "Official example · Live API.SH response · Minimal request",
"request": {
"body": null,
"headers": {},
"path": {},
"query": {
"athlete_id": "1966",
"league": "nba",
"output": "json",
"raw": "0"
}
},
"response_body": {
"athlete_id": "1966",
"cached": false,
"credits_used": 1,
"fetched_at": "2026-11-19T12:21:09.356Z",
"filters": [
{
"displayName": "League",
"name": "league",
"options": [
{
"displayValue": "National Basketball Association",
"shortDisplayName": "NBA",
"value": "nba"
}
],
"value": "nba"
},
{
"displayName": "Season",
"name": "season",
"options": [
{
"displayValue": "2026-27",
"value": "2027"
},
{
"displayValue": "2025-26",
"value": "2026"
},
{
"displayValue": "2024-25",
"value": "2025"
},
{
"displayValue": "2023-24",
"value": "2024"
},
{
"displayValue": "2022-23",
"value": "2023"
},
{
"displayValue": "2021-22",
"value": "2022"
},
{
"displayValue": "2020-21",
"value": "2021"
},
{
"displayValue": "2019-20",
"value": "2020"
},
{
"displayValue": "2018-19",
"value": "2019"
},
{
"displayValue": "2017-18",
"value": "2018"
},
{
"displayValue": "2016-17",
"value": "2017"
},
{
"displayValue": "2015-16",
"value": "2016"
},
{
"displayValue": "2014-15",
"value": "2015"
},
{
"displayValue": "2013-14",
"value": "2014"
},
{
"displayValue": "2012-13",
"value": "2013"
},
{
"displayValue": "2011-12",
"value": "2012"
},
{
"displayValue": "2010-11",
"value": "2011"
},
{
"displayValue": "2009-10",
"value": "2010"
},
{
"displayValue": "2008-09",
"value": "2009"
},
{
"displayValue": "2007-08",
"value": "2008"
},
{
"displayValue": "2006-07",
"value": "2007"
},
{
"displayValue": "2005-06",
"value": "2006"
},
{
"displayValue": "2004-05",
"value": "2005"
},
{
"displayValue": "2003-04",
"value": "2004"
}
],
"value": "2027"
}
],
"glossary": [
{
"abbreviation": "3P%",
"displayName": "3-Point Field Goal Percentage"
},
{
"abbreviation": "3PT",
"displayName": "3-Point Field Goals Made-Attempted"
},
{
"abbreviation": "AST",
"displayName": "Assists"
},
{
"abbreviation": "BLK",
"displayName": "Blocks"
},
{
"abbreviation": "FG",
"displayName": "Field Goals Made-Attempted"
},
{
"abbreviation": "FG%",
"displayName": "Field Goal Percentage"
},
{
"abbreviation": "FT",
"displayName": "Free Throws Made-Attempted"
},
{
"abbreviation": "FT%",
"displayName": "Free Throw Percentage"
},
{
"abbreviation": "MIN",
"displayName": "Minutes"
},
{
"abbreviation": "PF",
"displayName": "Fouls"
},
{
"abbreviation": "PTS",
"displayName": "Points"
},
{
"abbreviation": "REB",
"displayName": "Rebounds"
},
{
"abbreviation": "STL",
"displayName": "Steals"
},
{
"abbreviation": "TO",
"displayName": "Turnovers"
}
],
"labels": [
"MIN",
"FG",
"FG%",
"3PT",
"3P%",
"FT",
"FT%",
"REB",
"AST",
"BLK",
"STL",
"PF",
"TO",
"PTS"
],
"league": "nba",
"names": [
"minutes",
"fieldGoalsMade-fieldGoalsAttempted",
"fieldGoalPct",
"threePointFieldGoalsMade-threePointFieldGoalsAttempted",
"threePointPct",
"freeThrowsMade-freeThrowsAttempted",
"freeThrowPct",
"totalRebounds",
"assists",
"blocks",
"steals",
"fouls",
"turnovers",
"points"
],
"season_types": [
{
"groups": [
{
"games": [
{
"date": "2026-11-19T00:00:00.000+00:00",
"event_id": "401910010",
"home_away": "@",
"league": "NBA",
"opponent": {
"abbreviation": "ORL",
"id": "19",
"logo": "https://a.espncdn.com/i/teamlogos/nba/500/orl.png",
"name": "Orlando Magic"
},
"result": "W",
"score": "121-116",
"stats": {
"assists": "6",
"blocks": "0",
"fieldGoalPct": "50.0",
"fieldGoalsMade-fieldGoalsAttempted": "8-16",
"fouls": "3",
"freeThrowPct": "83.3",
"freeThrowsMade-freeThrowsAttempted": "5-6",
"minutes": "31",
"points": "22",
"steals": "0",
"threePointFieldGoalsMade-threePointFieldGoalsAttempted": "1-5",
"threePointPct": "20.0",
"totalRebounds": "3",
"turnovers": "1"
},
"team_id": "20"
},
{
"date": "2026-11-15T18:00:00.000+00:00",
"event_id": "401909985",
"home_away": "vs",
"league": "NBA",
"opponent": {
"abbreviation": "IND",
"id": "11",
"logo": "https://a.espncdn.com/i/teamlogos/nba/500/ind.png",
"name": "Indiana Pacers"
},
"result": "W",
"score": "131-124",
"stats": {
"assists": "11",
"blocks": "1",
"fieldGoalPct": "62.5",
"fieldGoalsMade-fieldGoalsAttempted": "5-8",
"fouls": "3",
"freeThrowPct": "83.3",
"freeThrowsMade-freeThrowsAttempted": "5-6",
"minutes": "33",
"points": "15",
"steals": "0",
"threePointFieldGoalsMade-threePointFieldGoalsAttempted": "0-2",
"threePointPct": "0.0",
"totalRebounds": "7",
"turnovers": "2"
},
"team_id": "20"
},
{
"date": "2026-11-11T01:00:00.000+00:00",
"event_id": "401909961",
"home_away": "vs",
"league": "NBA",
"opponent": {
"abbreviation": "BOS",
"id": "2",
"logo": "https://a.espncdn.com/i/teamlogos/nba/500/bos.png",
"name": "Boston Celtics"
},
"result": "L",
"score": "123-101",
"stats": {
"assists": "5",
"blocks": "0",
"fieldGoalPct": "33.3",
"fieldGoalsMade-fieldGoalsAttempted": "4-12",
"fouls": "2",
"freeThrowPct": "100.0",
"freeThrowsMade-freeThrowsAttempted": "2-2",
"minutes": "29",
"points": "11",
"steals": "0",
"threePointFieldGoalsMade-threePointFieldGoalsAttempted": "1-6",
"threePointPct": "16.7",
"totalRebounds": "8",
"turnovers": "1"
},
"team_id": "20"
},
{
"date": "2026-11-08T20:30:00.000+00:00",
"event_id": "401909945",
"home_away": "@",
"league": "NBA",
"opponent": {
"abbreviation": "CHI",
"id": "4",
"logo": "https://a.espncdn.com/i/teamlogos/nba/500/chi.png",
"name": "Chicago Bulls"
},
"result": "W",
"score": "127-121",
"stats": {
"assists": "5",
"blocks": "0",
"fieldGoalPct": "50.0",
"fieldGoalsMade-fieldGoalsAttempted": "8-16",
"fouls": "1",
"freeThrowPct": "80.0",
"freeThrowsMade-freeThrowsAttempted": "4-5",
"minutes": "33",
"points": "22",
"steals": "1",
"threePointFieldGoalsMade-threePointFieldGoalsAttempted": "2-5",
"threePointPct": "40.0",
"totalRebounds": "5",
"turnovers": "3"
},
"team_id": "20"
},
{
"date": "2026-11-07T00:30:00.000+00:00",
"event_id": "401909289",
"home_away": "@",
"league": "NBA",
"opponent": {
"abbreviation": "CLE",
"id": "5",
"logo": "https://a.espncdn.com/i/teamlogos/nba/500/cle.png",
"name": "Cleveland Cavaliers"
},
"result": "L",
"score": "119-95",
"stats": {
"assists": "3",
"blocks": "1",
"fieldGoalPct": "25.0",
"fieldGoalsMade-fieldGoalsAttempted": "3-12",
"fouls": "2",
"freeThrowPct": "100.0",
"freeThrowsMade-freeThrowsAttempted": "2-2",
"minutes": "32",
"points": "8",
"steals": "2",
"threePointFieldGoalsMade-threePointFieldGoalsAttempted": "0-4",
"threePointPct": "0.0",
"totalRebounds": "7",
"turnovers": "6"
},
"team_id": "20"
},
{
"date": "2026-11-05T00:00:00.000+00:00",
"event_id": "401909922",
"home_away": "@",
"league": "NBA",
"opponent": {
"abbreviation": "DET",
"id": "8",
"logo": "https://a.espncdn.com/i/teamlogos/nba/500/det.png",
"name": "Detroit Pistons"
},
"result": "W",
"score": "112-106",
"stats": {
"assists": "8",
"blocks": "1",
"fieldGoalPct": "50.0",
"fieldGoalsMade-fieldGoalsAttempted": "5-10",
"fouls": "0",
"freeThrowPct": "100.0",
"freeThrowsMade-freeThrowsAttempted": "2-2",
"minutes": "33",
"points": "13",
"steals": "1",
"threePointFieldGoalsMade-threePointFieldGoalsAttempted": "1-2",
"threePointPct": "50.0",
"totalRebounds": "10",
"turnovers": "3"
},
"team_id": "20"
},
{
"date": "2026-11-03T00:30:00.000+00:00",
"event_id": "401909912",
"home_away": "vs",
"league": "NBA",
"opponent": {
"abbreviation": "CHI",
"id": "4",
"logo": "https://a.espncdn.com/i/teamlogos/nba/500/chi.png",
"name": "Chicago Bulls"
},
"result": "W",
"score": "126-107",
"stats": {
"assists": "9",
"blocks": "0",
"fieldGoalPct": "46.2",
"fieldGoalsMade-fieldGoalsAttempted": "6-13",
"fouls": "1",
"freeThrowPct": "60.0",
"freeThrowsMade-freeThrowsAttempted": "3-5",
"minutes": "31",
"points": "15",
"steals": "1",
"threePointFieldGoalsMade-threePointFieldGoalsAttempted": "0-2",
"threePointPct": "0.0",
"totalRebounds": "7",
"turnovers": "3"
},
"team_id": "20"
}
],
"name": "november",
"totals": {
"assists": "6.7",
"blocks": "0.4",
"fieldGoalPct": "44.8",
"fieldGoalsMade-fieldGoalsAttempted": "5.6-12.4",
"fouls": "1.7",
"freeThrowPct": "82.1",
"freeThrowsMade-freeThrowsAttempted": "3.3-4.0",
"minutes": "31.7",
"points": "15.1",
"steals": "0.7",
"threePointFieldGoalsMade-threePointFieldGoalsAttempted": "0.7-3.7",
"threePointPct": "19.2",
"totalRebounds": "6.7",
"turnovers": "2.7"
},
"type": "event"
},
{
"games": [
{
"date": "2026-10-30T23:30:00.000+00:00",
"event_id": "401909280",
"home_away": "vs",
"league": "NBA",
"opponent": {
"abbreviation": "NY",
"id": "18",
"logo": "https://a.espncdn.com/i/teamlogos/nba/500/ny.png",
"name": "New York Knicks"
},
"result": "W",
"score": "98-93",
"stats": {
"assists": "8",
"blocks": "1",
"fieldGoalPct": "53.3",
"fieldGoalsMade-fieldGoalsAttempted": "8-15",
"fouls": "2",
"freeThrowPct": "66.7",
"freeThrowsMade-freeThrowsAttempted": "2-3",
"minutes": "34",
"points": "20",
"steals": "1",
"threePointFieldGoalsMade-threePointFieldGoalsAttempted": "2-6",
"threePointPct": "33.3",
"totalRebounds": "9",
"turnovers": "2"
},
"team_id": "20"
},
{
"date": "2026-10-28T23:00:00.000+00:00",
"event_id": "401909884",
"home_away": "@",
"league": "NBA",
"opponent": {
"abbreviation": "IND",
"id": "11",
"logo": "https://a.espncdn.com/i/teamlogos/nba/500/ind.png",
"name": "Indiana Pacers"
},
"result": "W",
"score": "114-109",
"stats": {
"assists": "10",
"blocks": "2",
"fieldGoalPct": "41.7",
"fieldGoalsMade-fieldGoalsAttempted": "5-12",
"fouls": "4",
"freeThrowPct": "50.0",
"freeThrowsMade-freeThrowsAttempted": "1-2",
"minutes": "33",
"points": "13",
"steals": "1",
"threePointFieldGoalsMade-threePointFieldGoalsAttempted": "2-3",
"threePointPct": "66.7",
"totalRebounds": "5",
"turnovers": "0"
},
"team_id": "20"
},
{
"date": "2026-10-25T23:30:00.000+00:00",
"event_id": "401909866",
"home_away": "vs",
"league": "NBA",
"opponent": {
"abbreviation": "DET",
"id": "8",
"logo": "https://a.espncdn.com/i/teamlogos/nba/500/det.png",
"name": "Detroit Pistons"
},
"result": "L",
"score": "106-93",
"stats": {
"assists": "5",
"blocks": "0",
"fieldGoalPct": "53.3",
"fieldGoalsMade-fieldGoalsAttempted": "8-15",
"fouls": "1",
"freeThrowPct": "33.3",
"freeThrowsMade-freeThrowsAttempted": "2-6",
"minutes": "33",
"points": "18",
"steals": "2",
"threePointFieldGoalsMade-threePointFieldGoalsAttempted": "0-3",
"threePointPct": "0.0",
"totalRebounds": "2",
"turnovers": "3"
},
"team_id": "20"
},
{
"date": "2026-10-22T23:00:00.000+00:00",
"event_id": "401909093",
"home_away": "vs",
"league": "NBA",
"opponent": {
"abbreviation": "CLE",
"id": "5",
"logo": "https://a.espncdn.com/i/teamlogos/nba/500/cle.png",
"name": "Cleveland Cavaliers"
},
"result": "W",
"score": "114-106",
"stats": {
"assists": "5",
"blocks": "1",
"fieldGoalPct": "35.7",
"fieldGoalsMade-fieldGoalsAttempted": "5-14",
"fouls": "3",
"freeThrowPct": "85.7",
"freeThrowsMade-freeThrowsAttempted": "6-7",
"minutes": "33",
"points": "17",
"steals": "3",
"threePointFieldGoalsMade-threePointFieldGoalsAttempted": "1-4",
"threePointPct": "25.0",
"totalRebounds": "10",
"turnovers": "5"
},
"team_id": "20"
},
{
"date": "2026-10-20T23:00:00.000+00:00",
"event_id": "401909089",
"home_away": "@",
"league": "NBA",
"opponent": {
"abbreviation": "NY",
"id": "18",
"logo": "https://a.espncdn.com/i/teamlogos/nba/500/ny.png",
"name": "New York Knicks"
},
"result": "W",
"score": "106-100",
"stats": {
"assists": "7",
"blocks": "1",
"fieldGoalPct": "38.5",
"fieldGoalsMade-fieldGoalsAttempted": "5-13",
"fouls": "4",
"freeThrowPct": "66.7",
"freeThrowsMade-freeThrowsAttempted": "4-6",
"minutes": "34",
"points": "14",
"steals": "1",
"threePointFieldGoalsMade-threePointFieldGoalsAttempted": "0-3",
"threePointPct": "0.0",
"totalRebounds": "9",
"turnovers": "1"
},
"team_id": "20"
}
],
"name": "october",
"totals": {
"assists": "7.0",
"blocks": "1.0",
"fieldGoalPct": "44.9",
"fieldGoalsMade-fieldGoalsAttempted": "6.2-13.8",
"fouls": "2.8",
"freeThrowPct": "62.5",
"freeThrowsMade-freeThrowsAttempted": "3.0-4.8",
"minutes": "33.4",
"points": "16.4",
"steals": "1.6",
"threePointFieldGoalsMade-threePointFieldGoalsAttempted": "1.0-3.8",
"threePointPct": "26.3",
"totalRebounds": "7.0",
"turnovers": "2.2"
},
"type": "event"
}
],
"name": "2026-27 Regular Season",
"summary": {
"displayName": "Regular Season Stats",
"stats": [
{
"displayName": "Averages",
"stats": [
"32.5",
"5.8-13.0",
"44.9",
"0.8-3.8",
"22.2",
"3.2-4.3",
"73.1",
"6.8",
"6.8",
"0.7",
"1.1",
"2.2",
"2.5",
"15.7"
],
"type": "avg"
},
{
"displayName": "Totals",
"stats": [
"390",
"70-156",
"44.9",
"10-45",
"22.2",
"38-52",
"73.1",
"82",
"82",
"8",
"13",
"26",
"30",
"188"
],
"type": "total"
}
]
}
},
{
"groups": [
{
"games": [
{
"date": "2026-10-16T23:00:00.000+00:00",
"event_id": "401898407",
"home_away": "vs",
"league": "NBA",
"opponent": {
"abbreviation": "BOS",
"id": "2",
"logo": "https://a.espncdn.com/i/teamlogos/nba/500/bos.png",
"name": "Boston Celtics"
},
"result": "L",
"score": "125-120 OT",
"stats": {
"assists": "7",
"blocks": "0",
"fieldGoalPct": "44.4",
"fieldGoalsMade-fieldGoalsAttempted": "4-9",
"fouls": "1",
"freeThrowPct": "0.0",
"freeThrowsMade-freeThrowsAttempted": "0-3",
"minutes": "25",
"points": "8",
"steals": "1",
"threePointFieldGoalsMade-threePointFieldGoalsAttempted": "0-2",
"threePointPct": "0.0",
"totalRebounds": "8",
"turnovers": "4"
},
"team_id": "20"
},
{
"date": "2026-10-08T23:30:00.000+00:00",
"event_id": "401901823",
"home_away": "@",
"league": "NBA",
"opponent": {
"abbreviation": "BKN",
"id": "17",
"logo": "https://a.espncdn.com/i/teamlogos/nba/500/bkn.png",
"name": "Brooklyn Nets"
},
"result": "L",
"score": "114-108",
"stats": {
"assists": "5",
"blocks": "0",
"fieldGoalPct": "100.0",
"fieldGoalsMade-fieldGoalsAttempted": "1-1",
"fouls": "1",
"freeThrowPct": "100.0",
"freeThrowsMade-freeThrowsAttempted": "8-8",
"minutes": "18",
"points": "10",
"steals": "1",
"threePointFieldGoalsMade-threePointFieldGoalsAttempted": "0-0",
"threePointPct": "0.0",
"totalRebounds": "4",
"turnovers": "2"
},
"team_id": "20"
}
],
"name": "Preseason",
"totals": null,
"type": "event"
}
],
"name": "2026-27 Preseason",
"summary": null
}
],
"sport": "basketball"
}
}
]
}
```Error handling
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect the error and usage record before retrying a paid operation. |
Examples
Official example · Live API.SH response · Minimal request
Example from the provider's documentation. Field values in your results will differ.
Prepare your environment
Use a terminal with cURL installed.
Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.
Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.
Terminal · macOS / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'Run the request
Paste the complete command below into your terminal.
Values to replace before running 10
Review these request fields before running. Keep the published provider and request method unchanged.
league- League slug: nfl, college-football, nba, wnba, mens-college-basketball, womens-college-basketball, mlb, nhl, soccer competitions (eng.1 Premier League, esp.1 LaLiga, ita.1, ger.1, fra.1, usa.1 MLS, uefa.champions, uefa.europa, fifa.world ...), f1, irl, nascar-premier, pga, lpga, atp, wta, ufc. Other ESPN leagues work with `sport`.
sport- Only needed for a league not listed under `league` (it is inferred for those).
athlete_id- ESPN athlete id (from rosters, box scores or `/espn/v1/search`; 1966 = LeBron James).
season- Season year (e.g. 2024; for NBA/NHL the year the season ends).
seasontype- 1 preseason, 2 regular season, 3 postseason, 4 off-season.
raw- 0 leaves out the bulky `raw` source blocks (often 10-30x smaller).
fields- Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.
fresh- 1 skips the 24-hour cache and fetches live.
output- JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON are not supported.
records- With output=csv|ndjson: the top-level list to turn into rows (e.g. `reviews`), or `.` for the whole object as one row.
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/apish/espn/v1/athlete-gamelog?athlete_id=1966&league=nba&output=json&raw=0' \ -X GET \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json'Check the response
Sample response · Documented HTTP 200
Sample response{ "athlete_id": "1966", "cached": false, "credits_used": 1, "fetched_at": "2026-11-19T12:21:09.356Z", "filters": [ { "displayName": "League", "name": "league", "options": [ { "displayValue": "National Basketball Association", "shortDisplayName": "NBA", "value": "nba" } ], "value": "nba" }, { "displayName": "Season", "name": "season", "options": [ { "displayValue": "2026-27", "value": "2027" }, { "displayValue": "2025-26", "value": "2026" }, { "displayValue": "2024-25", "value": "2025" }, { "displayValue": "2023-24", "value": "2024" }, { "displayValue": "2022-23", "value": "2023" }, { "displayValue": "2021-22", "value": "2022" }, { "displayValue": "2020-21", "value": "2021" }, { "displayValue": "2019-20", "value": "2020" }, { "displayValue": "2018-19", "value": "2019" }, { "displayValue": "2017-18", "value": "2018" }, { "displayValue": "2016-17", "value": "2017" }, { "displayValue": "2015-16", "value": "2016" }, { "displayValue": "2014-15", "value": "2015" }, { "displayValue": "2013-14", "value": "2014" }, { "displayValue": "2012-13", "value": "2013" }, { "displayValue": "2011-12", "value": "2012" }, { "displayValue": "2010-11", "value": "2011" }, { "displayValue": "2009-10", "value": "2010" }, { "displayValue": "2008-09", "value": "2009" }, { "displayValue": "2007-08", "value": "2008" }, { "displayValue": "2006-07", "value": "2007" }, { "displayValue": "2005-06", "value": "2006" }, { "displayValue": "2004-05", "value": "2005" }, { "displayValue": "2003-04", "value": "2004" } ], "value": "2027" } ], "glossary": [ { "abbreviation": "3P%", "displayName": "3-Point Field Goal Percentage" }, { "abbreviation": "3PT", "displayName": "3-Point Field Goals Made-Attempted" }, { "abbreviation": "AST", "displayName": "Assists" }, { "abbreviation": "BLK", "displayName": "Blocks" }, { "abbreviation": "FG", "displayName": "Field Goals Made-Attempted" }, { "abbreviation": "FG%", "displayName": "Field Goal Percentage" }, { "abbreviation": "FT", "displayName": "Free Throws Made-Attempted" }, { "abbreviation": "FT%", "displayName": "Free Throw Percentage" }, { "abbreviation": "MIN", "displayName": "Minutes" }, { "abbreviation": "PF", "displayName": "Fouls" }, { "abbreviation": "PTS", "displayName": "Points" }, { "abbreviation": "REB", "displayName": "Rebounds" }, { "abbreviation": "STL", "displayName": "Steals" }, { "abbreviation": "TO", "displayName": "Turnovers" } ], "labels": [ "MIN", "FG", "FG%", "3PT", "3P%", "FT", "FT%", "REB", "AST", "BLK", "STL", "PF", "TO", "PTS" ], "league": "nba", "names": [ "minutes", "fieldGoalsMade-fieldGoalsAttempted", "fieldGoalPct", "threePointFieldGoalsMade-threePointFieldGoalsAttempted", "threePointPct", "freeThrowsMade-freeThrowsAttempted", "freeThrowPct", "totalRebounds", "assists", "blocks", "steals", "fouls", "turnovers", "points" ], "season_types": [ { "groups": [ { "games": [ { "date": "2026-11-19T00:00:00.000+00:00", "event_id": "401910010", "home_away": "@", "league": "NBA", "opponent": { "abbreviation": "ORL", "id": "19", "logo": "https://a.espncdn.com/i/teamlogos/nba/500/orl.png", "name": "Orlando Magic" }, "result": "W", "score": "121-116", "stats": { "assists": "6", "blocks": "0", "fieldGoalPct": "50.0", "fieldGoalsMade-fieldGoalsAttempted": "8-16", "fouls": "3", "freeThrowPct": "83.3", "freeThrowsMade-freeThrowsAttempted": "5-6", "minutes": "31", "points": "22", "steals": "0", "threePointFieldGoalsMade-threePointFieldGoalsAttempted": "1-5", "threePointPct": "20.0", "totalRebounds": "3", "turnovers": "1" }, "team_id": "20" }, { "date": "2026-11-15T18:00:00.000+00:00", "event_id": "401909985", "home_away": "vs", "league": "NBA", "opponent": { "abbreviation": "IND", "id": "11", "logo": "https://a.espncdn.com/i/teamlogos/nba/500/ind.png", "name": "Indiana Pacers" }, "result": "W", "score": "131-124", "stats": { "assists": "11", "blocks": "1", "fieldGoalPct": "62.5", "fieldGoalsMade-fieldGoalsAttempted": "5-8", "fouls": "3", "freeThrowPct": "83.3", "freeThrowsMade-freeThrowsAttempted": "5-6", "minutes": "33", "points": "15", "steals": "0", "threePointFieldGoalsMade-threePointFieldGoalsAttempted": "0-2", "threePointPct": "0.0", "totalRebounds": "7", "turnovers": "2" }, "team_id": "20" }, { "date": "2026-11-11T01:00:00.000+00:00", "event_id": "401909961", "home_away": "vs", "league": "NBA", "opponent": { "abbreviation": "BOS", "id": "2", "logo": "https://a.espncdn.com/i/teamlogos/nba/500/bos.png", "name": "Boston Celtics" }, "result": "L", "score": "123-101", "stats": { "assists": "5", "blocks": "0", "fieldGoalPct": "33.3", "fieldGoalsMade-fieldGoalsAttempted": "4-12", "fouls": "2", "freeThrowPct": "100.0", "freeThrowsMade-freeThrowsAttempted": "2-2", "minutes": "29", "points": "11", "steals": "0", "threePointFieldGoalsMade-threePointFieldGoalsAttempted": "1-6", "threePointPct": "16.7", "totalRebounds": "8", "turnovers": "1" }, "team_id": "20" }, { "date": "2026-11-08T20:30:00.000+00:00", "event_id": "401909945", "home_away": "@", "league": "NBA", "opponent": { "abbreviation": "CHI", "id": "4", "logo": "https://a.espncdn.com/i/teamlogos/nba/500/chi.png", "name": "Chicago Bulls" }, "result": "W", "score": "127-121", "stats": { "assists": "5", "blocks": "0", "fieldGoalPct": "50.0", "fieldGoalsMade-fieldGoalsAttempted": "8-16", "fouls": "1", "freeThrowPct": "80.0", "freeThrowsMade-freeThrowsAttempted": "4-5", "minutes": "33", "points": "22", "steals": "1", "threePointFieldGoalsMade-threePointFieldGoalsAttempted": "2-5", "threePointPct": "40.0", "totalRebounds": "5", "turnovers": "3" }, "team_id": "20" }, { "date": "2026-11-07T00:30:00.000+00:00", "event_id": "401909289", "home_away": "@", "league": "NBA", "opponent": { "abbreviation": "CLE", "id": "5", "logo": "https://a.espncdn.com/i/teamlogos/nba/500/cle.png", "name": "Cleveland Cavaliers" }, "result": "L", "score": "119-95", "stats": { "assists": "3", "blocks": "1", "fieldGoalPct": "25.0", "fieldGoalsMade-fieldGoalsAttempted": "3-12", "fouls": "2", "freeThrowPct": "100.0", "freeThrowsMade-freeThrowsAttempted": "2-2", "minutes": "32", "points": "8", "steals": "2", "threePointFieldGoalsMade-threePointFieldGoalsAttempted": "0-4", "threePointPct": "0.0", "totalRebounds": "7", "turnovers": "6" }, "team_id": "20" }, { "date": "2026-11-05T00:00:00.000+00:00", "event_id": "401909922", "home_away": "@", "league": "NBA", "opponent": { "abbreviation": "DET", "id": "8", "logo": "https://a.espncdn.com/i/teamlogos/nba/500/det.png", "name": "Detroit Pistons" }, "result": "W", "score": "112-106", "stats": { "assists": "8", "blocks": "1", "fieldGoalPct": "50.0", "fieldGoalsMade-fieldGoalsAttempted": "5-10", "fouls": "0", "freeThrowPct": "100.0", "freeThrowsMade-freeThrowsAttempted": "2-2", "minutes": "33", "points": "13", "steals": "1", "threePointFieldGoalsMade-threePointFieldGoalsAttempted": "1-2", "threePointPct": "50.0", "totalRebounds": "10", "turnovers": "3" }, "team_id": "20" }, { "date": "2026-11-03T00:30:00.000+00:00", "event_id": "401909912", "home_away": "vs", "league": "NBA", "opponent": { "abbreviation": "CHI", "id": "4", "logo": "https://a.espncdn.com/i/teamlogos/nba/500/chi.png", "name": "Chicago Bulls" }, "result": "W", "score": "126-107", "stats": { "assists": "9", "blocks": "0", "fieldGoalPct": "46.2", "fieldGoalsMade-fieldGoalsAttempted": "6-13", "fouls": "1", "freeThrowPct": "60.0", "freeThrowsMade-freeThrowsAttempted": "3-5", "minutes": "31", "points": "15", "steals": "1", "threePointFieldGoalsMade-threePointFieldGoalsAttempted": "0-2", "threePointPct": "0.0", "totalRebounds": "7", "turnovers": "3" }, "team_id": "20" } ], "name": "november", "totals": { "assists": "6.7", "blocks": "0.4", "fieldGoalPct": "44.8", "fieldGoalsMade-fieldGoalsAttempted": "5.6-12.4", "fouls": "1.7", "freeThrowPct": "82.1", "freeThrowsMade-freeThrowsAttempted": "3.3-4.0", "minutes": "31.7", "points": "15.1", "steals": "0.7", "threePointFieldGoalsMade-threePointFieldGoalsAttempted": "0.7-3.7", "threePointPct": "19.2", "totalRebounds": "6.7", "turnovers": "2.7" }, "type": "event" }, { "games": [ { "date": "2026-10-30T23:30:00.000+00:00", "event_id": "401909280", "home_away": "vs", "league": "NBA", "opponent": { "abbreviation": "NY", "id": "18", "logo": "https://a.espncdn.com/i/teamlogos/nba/500/ny.png", "name": "New York Knicks" }, "result": "W", "score": "98-93", "stats": { "assists": "8", "blocks": "1", "fieldGoalPct": "53.3", "fieldGoalsMade-fieldGoalsAttempted": "8-15", "fouls": "2", "freeThrowPct": "66.7", "freeThrowsMade-freeThrowsAttempted": "2-3", "minutes": "34", "points": "20", "steals": "1", "threePointFieldGoalsMade-threePointFieldGoalsAttempted": "2-6", "threePointPct": "33.3", "totalRebounds": "9", "turnovers": "2" }, "team_id": "20" }, { "date": "2026-10-28T23:00:00.000+00:00", "event_id": "401909884", "home_away": "@", "league": "NBA", "opponent": { "abbreviation": "IND", "id": "11", "logo": "https://a.espncdn.com/i/teamlogos/nba/500/ind.png", "name": "Indiana Pacers" }, "result": "W", "score": "114-109", "stats": { "assists": "10", "blocks": "2", "fieldGoalPct": "41.7", "fieldGoalsMade-fieldGoalsAttempted": "5-12", "fouls": "4", "freeThrowPct": "50.0", "freeThrowsMade-freeThrowsAttempted": "1-2", "minutes": "33", "points": "13", "steals": "1", "threePointFieldGoalsMade-threePointFieldGoalsAttempted": "2-3", "threePointPct": "66.7", "totalRebounds": "5", "turnovers": "0" }, "team_id": "20" }, { "date": "2026-10-25T23:30:00.000+00:00", "event_id": "401909866", "home_away": "vs", "league": "NBA", "opponent": { "abbreviation": "DET", "id": "8", "logo": "https://a.espncdn.com/i/teamlogos/nba/500/det.png", "name": "Detroit Pistons" }, "result": "L", "score": "106-93", "stats": { "assists": "5", "blocks": "0", "fieldGoalPct": "53.3", "fieldGoalsMade-fieldGoalsAttempted": "8-15", "fouls": "1", "freeThrowPct": "33.3", "freeThrowsMade-freeThrowsAttempted": "2-6", "minutes": "33", "points": "18", "steals": "2", "threePointFieldGoalsMade-threePointFieldGoalsAttempted": "0-3", "threePointPct": "0.0", "totalRebounds": "2", "turnovers": "3" }, "team_id": "20" }, { "date": "2026-10-22T23:00:00.000+00:00", "event_id": "401909093", "home_away": "vs", "league": "NBA", "opponent": { "abbreviation": "CLE", "id": "5", "logo": "https://a.espncdn.com/i/teamlogos/nba/500/cle.png", "name": "Cleveland Cavaliers" }, "result": "W", "score": "114-106", "stats": { "assists": "5", "blocks": "1", "fieldGoalPct": "35.7", "fieldGoalsMade-fieldGoalsAttempted": "5-14", "fouls": "3", "freeThrowPct": "85.7", "freeThrowsMade-freeThrowsAttempted": "6-7", "minutes": "33", "points": "17", "steals": "3", "threePointFieldGoalsMade-threePointFieldGoalsAttempted": "1-4", "threePointPct": "25.0", "totalRebounds": "10", "turnovers": "5" }, "team_id": "20" }, { "date": "2026-10-20T23:00:00.000+00:00", "event_id": "401909089", "home_away": "@", "league": "NBA", "opponent": { "abbreviation": "NY", "id": "18", "logo": "https://a.espncdn.com/i/teamlogos/nba/500/ny.png", "name": "New York Knicks" }, "result": "W", "score": "106-100", "stats": { "assists": "7", "blocks": "1", "fieldGoalPct": "38.5", "fieldGoalsMade-fieldGoalsAttempted": "5-13", "fouls": "4", "freeThrowPct": "66.7", "freeThrowsMade-freeThrowsAttempted": "4-6", "minutes": "34", "points": "14", "steals": "1", "threePointFieldGoalsMade-threePointFieldGoalsAttempted": "0-3", "threePointPct": "0.0", "totalRebounds": "9", "turnovers": "1" }, "team_id": "20" } ], "name": "october", "totals": { "assists": "7.0", "blocks": "1.0", "fieldGoalPct": "44.9", "fieldGoalsMade-fieldGoalsAttempted": "6.2-13.8", "fouls": "2.8", "freeThrowPct": "62.5", "freeThrowsMade-freeThrowsAttempted": "3.0-4.8", "minutes": "33.4", "points": "16.4", "steals": "1.6", "threePointFieldGoalsMade-threePointFieldGoalsAttempted": "1.0-3.8", "threePointPct": "26.3", "totalRebounds": "7.0", "turnovers": "2.2" }, "type": "event" } ], "name": "2026-27 Regular Season", "summary": { "displayName": "Regular Season Stats", "stats": [ { "displayName": "Averages", "stats": [ "32.5", "5.8-13.0", "44.9", "0.8-3.8", "22.2", "3.2-4.3", "73.1", "6.8", "6.8", "0.7", "1.1", "2.2", "2.5", "15.7" ], "type": "avg" }, { "displayName": "Totals", "stats": [ "390", "70-156", "44.9", "10-45", "22.2", "38-52", "73.1", "82", "82", "8", "13", "26", "30", "188" ], "type": "total" } ] } }, { "groups": [ { "games": [ { "date": "2026-10-16T23:00:00.000+00:00", "event_id": "401898407", "home_away": "vs", "league": "NBA", "opponent": { "abbreviation": "BOS", "id": "2", "logo": "https://a.espncdn.com/i/teamlogos/nba/500/bos.png", "name": "Boston Celtics" }, "result": "L", "score": "125-120 OT", "stats": { "assists": "7", "blocks": "0", "fieldGoalPct": "44.4", "fieldGoalsMade-fieldGoalsAttempted": "4-9", "fouls": "1", "freeThrowPct": "0.0", "freeThrowsMade-freeThrowsAttempted": "0-3", "minutes": "25", "points": "8", "steals": "1", "threePointFieldGoalsMade-threePointFieldGoalsAttempted": "0-2", "threePointPct": "0.0", "totalRebounds": "8", "turnovers": "4" }, "team_id": "20" }, { "date": "2026-10-08T23:30:00.000+00:00", "event_id": "401901823", "home_away": "@", "league": "NBA", "opponent": { "abbreviation": "BKN", "id": "17", "logo": "https://a.espncdn.com/i/teamlogos/nba/500/bkn.png", "name": "Brooklyn Nets" }, "result": "L", "score": "114-108", "stats": { "assists": "5", "blocks": "0", "fieldGoalPct": "100.0", "fieldGoalsMade-fieldGoalsAttempted": "1-1", "fouls": "1", "freeThrowPct": "100.0", "freeThrowsMade-freeThrowsAttempted": "8-8", "minutes": "18", "points": "10", "steals": "1", "threePointFieldGoalsMade-threePointFieldGoalsAttempted": "0-0", "threePointPct": "0.0", "totalRebounds": "4", "turnovers": "2" }, "team_id": "20" } ], "name": "Preseason", "totals": null, "type": "event" } ], "name": "2026-27 Preseason", "summary": null } ], "sport": "basketball" }