Skip to main content
Version: 2.0.0

Player Stats & Results API Documentation

Description

This endpoint returns all the live & completed player stats and results for player prop betting markets across NFL, NBA, MLB, NHL & more.

REQUIREMENT

You'll need a license key to use OpticOdds' API. You can get one by contacting us at www.opticodds.com.

API Endpoint

https://api.opticodds.com/api/v2/player-results

Supported Leagues

MLB, NFL, NBA, NHL, UFC, Soccer

Parameters

key (required)

Your OpticOdds API license key.

sport

NOTE

You can pass in multiple of this parameter.

The sport you want to receive player results for. We support the following:

  • football
  • basketball
  • baseball
  • mma
  • boxing
  • hockey
  • soccer
  • tennis
  • golf
  • motorsports
  • esports
  • wrestling
  • aussie-rules
  • rugby
  • lacrosse
  • cricket
  • volleyball

league

NOTE

You can pass in multiple of this parameter.

The league you want to receive player results for (e.g. NBA)

game_id

NOTE

You can pass in multiple of this parameter.

The OpticOdds game ID you want to receive player results for (e.g. 39341-78014-2022-01-17)

team_id

NOTE

You can pass in multiple of this parameter.

The OpticOdds team ID you want to receive player results for (e.g. 112C03EAE774)

player_id

NOTE

You can pass in multiple of this parameter.

The OpticOdds player ID you want to receive player results for (e.g. 16A6137DB0CB)

player_name

NOTE

You can pass in multiple of this parameter.

The OpticOdds player names you want to receive player results for (e.g. Bam Adebayo)

status

Get player results by status, possible statuses are Live|Completed|Unplayed.

page

The page number of the request.

Example Response

{
"data": [
{
"player_id": "16A6137DB0CB",
"player_name": "Bam Adebayo",
"stat_points": 18,
"stat_rebounds": 10,
"stat_assists": 1,
"stat_blocks": 1,
"stat_steals": 0,
"stat_turnovers": 2,
"stat_made_threes": 0,
"sport": "Basketball",
"league": "NBA",
"game_id": "17844-19370-2022-03-07"
},
{
"player_id": "F6DF3704DD8E",
"player_name": "Carmelo Anthony",
"stat_points": 17,
"stat_rebounds": 7,
"stat_assists": 1,
"stat_blocks": 2,
"stat_steals": 0,
"stat_turnovers": 4,
"stat_made_threes": 1,
"sport": "Basketball",
"league": "NBA",
"game_id": "16903-32634-2022-03-07"
},
{
"player_id": "A0BD0C7A5685",
"player_name": "Ryan Arcidiacono",
"stat_points": 0,
"stat_rebounds": 0,
"stat_assists": 0,
"stat_blocks": 0,
"stat_steals": 0,
"stat_turnovers": 0,
"stat_made_threes": 0,
"sport": "Basketball",
"league": "NBA",
"game_id": "40294-31342-2022-03-07"
},
...
],
"page": 1,
"total_pages": 4
}