SportsDataIO · Schema

Goal

Sports DataStatisticsLive ScoresFantasy SportsOddsNFLNBAMLBNHLSoccer

Properties

Name Type Description
GoalId integer The unique ID of the goal
GameId integer The unique ID of the game tied to this goal
TeamId integer The unique ID of the team associated with this goal
PlayerId integernull The player's unique PlayerID as assigned by SportsDataIO. Note: this ID stays with the player their entire career.
Name stringnull The full name of the player who scored the goal
Type stringnull The type of goal scored
AssistedByPlayerId1 integernull The unique ID of the first assisted player
AssistedByPlayerName1 stringnull The player's name of the first assisted player
AssistedByPlayerId2 integernull The unique ID of the second assisted player
AssistedByPlayerName2 stringnull The player's name of the second assisted player
GameMinute integernull The minute in the game in which the goal was scored
GameMinuteExtra integernull The extra minute in the game in which the goal was scored
View JSON Schema on GitHub

JSON Schema

sportsdataio-goal-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Goal",
  "title": "Goal",
  "properties": {
    "GoalId": {
      "type": "integer",
      "description": "The unique ID of the goal"
    },
    "GameId": {
      "type": "integer",
      "description": "The unique ID of the game tied to this goal"
    },
    "TeamId": {
      "type": "integer",
      "description": "The unique ID of the team associated with this goal"
    },
    "PlayerId": {
      "type": [
        "integer",
        "null"
      ],
      "description": "The player's unique PlayerID as assigned by SportsDataIO. Note: this ID stays with the player their entire career."
    },
    "Name": {
      "type": [
        "string",
        "null"
      ],
      "description": "The full name of the player who scored the goal"
    },
    "Type": {
      "type": [
        "string",
        "null"
      ],
      "description": "The type of goal scored"
    },
    "AssistedByPlayerId1": {
      "type": [
        "integer",
        "null"
      ],
      "description": "The unique ID of the first assisted player"
    },
    "AssistedByPlayerName1": {
      "type": [
        "string",
        "null"
      ],
      "description": "The player's name of the first assisted player"
    },
    "AssistedByPlayerId2": {
      "type": [
        "integer",
        "null"
      ],
      "description": "The unique ID of the second assisted player"
    },
    "AssistedByPlayerName2": {
      "type": [
        "string",
        "null"
      ],
      "description": "The player's name of the second assisted player"
    },
    "GameMinute": {
      "type": [
        "integer",
        "null"
      ],
      "description": "The minute in the game in which the goal was scored"
    },
    "GameMinuteExtra": {
      "type": [
        "integer",
        "null"
      ],
      "description": "The extra minute in the game in which the goal was scored"
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/sportsdataio-goal"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.