{
  "openapi": "3.0.1",
  "info": {
    "title": "Live Sports Scores & Betting Odds API + MCP (No Key)",
    "description": "Keyless live scores, fixtures, results and DraftKings betting odds across soccer, NBA, NFL, NHL, MLB and more — Apify Actor and MCP server for AI agents. One cross-sport schema with derived status, freshness age, an odds object (spread, over/under, moneyline) and team records. Billed per result.",
    "version": "0.3",
    "x-build-id": "vNqNOTDC6IZKRrz08"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/greyridge-signals~live-sports-scores/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-greyridge-signals-live-sports-scores",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/greyridge-signals~live-sports-scores/runs": {
      "post": {
        "operationId": "runs-sync-greyridge-signals-live-sports-scores",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/greyridge-signals~live-sports-scores/run-sync": {
      "post": {
        "operationId": "run-sync-greyridge-signals-live-sports-scores",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "queries": {
            "title": "Queries",
            "type": "array",
            "description": "Use this when an agent needs live scores, fixtures, results or betting odds for a game or league, keyless and billed per result, returned in one cross-sport schema (home_team/away_team/home_score/away_score, derived status, start_time_utc, and data_age_seconds leading every row). One or more sport/league queries, run in a single call. Each query is an object: {mode:\"live\"|\"day\"|\"league\"|\"espn\", sport (e.g. \"soccer\",\"nba\",\"nfl\", or \"all\"), date:\"YYYY-MM-DD\" (mode=day), leagueIds:[\"4328\"] (mode=league), leagueWhen:\"next\"|\"past\", status:\"all\"|\"in_progress\"|\"scheduled\"|\"final\"}. mode=\"espn\" adds betting ODDS (DraftKings spread, over/under, moneyline, favorite) + team records: set espnLeague to \"nfl\",\"nba\",\"nhl\",\"mlb\",\"la liga\",\"epl\" or a raw path like \"soccer/esp.1\"; includeOdds/includeDepth default true. Omit the array entirely to get every live (in-progress) game across all sports."
          },
          "mode": {
            "title": "Mode (single-query shortcut)",
            "enum": [
              "live",
              "day",
              "league",
              "espn"
            ],
            "type": "string",
            "description": "Shortcut when you only need one query and prefer not to build the queries array. live = games in progress now; day = every game on a date; league = upcoming or recent games for specific leagues; espn = scores + betting odds (DraftKings) + team records for one league. Ignored if queries is provided."
          },
          "espnLeague": {
            "title": "ESPN league (mode = espn)",
            "type": "string",
            "description": "Which league to pull scores + DraftKings odds + team records for. Accepts an alias (nfl, nba, nhl, mlb, wnba, ncaaf, ncaam, ufc, epl, \"la liga\", bundesliga, \"serie a\", ligue1, ucl, mls) or a raw ESPN path like \"soccer/esp.1\". Used with mode = espn. Ignored if queries is provided."
          },
          "includeOdds": {
            "title": "Include betting odds (mode = espn)",
            "type": "boolean",
            "description": "mode = espn only. When true (default), each game carries an odds object: DraftKings point spread, over/under total, home/away moneyline and the favorite. Facts sourced from ESPN's public scoreboard, attributed per row.",
            "default": true
          },
          "includeDepth": {
            "title": "Include team records (mode = espn)",
            "type": "boolean",
            "description": "mode = espn only. When true (default), each game carries home_record / away_record (overall W-L) and the venue, from the same payload.",
            "default": true
          },
          "sport": {
            "title": "Sport (single-query shortcut)",
            "type": "string",
            "description": "Sport to return, or 'all'. Accepts aliases: nfl, nba, nhl, mlb, soccer, football, hockey, baseball, tennis, cricket, rugby, mma... Ignored if queries is provided."
          },
          "date": {
            "title": "Date (single-query shortcut, mode = day)",
            "type": "string",
            "description": "UTC calendar date in YYYY-MM-DD. Used with the mode shortcut when mode = day. Ignored if queries is provided."
          },
          "leagueIds": {
            "title": "League IDs (single-query shortcut, mode = league)",
            "type": "array",
            "description": "TheSportsDB numeric league ids. Examples: 4328 English Premier League, 4387 NBA, 4391 NFL, 4380 NHL, 4424 MLB. Ignored if queries is provided.",
            "items": {
              "type": "string"
            }
          },
          "leagueWhen": {
            "title": "League window (single-query shortcut)",
            "enum": [
              "next",
              "past"
            ],
            "type": "string",
            "description": "next = upcoming fixtures; past = most recent results. Ignored if queries is provided."
          },
          "status": {
            "title": "Status filter (single-query shortcut)",
            "enum": [
              "all",
              "in_progress",
              "scheduled",
              "final"
            ],
            "type": "string",
            "description": "Return only rows with this lifecycle status. Applied before billing, so you pay only for rows you keep. Ignored if queries is provided."
          },
          "maxResults": {
            "title": "Max results",
            "minimum": 1,
            "maximum": 2000,
            "type": "integer",
            "description": "Hard cap on total rows returned (and billed) this run, across all queries."
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}