{
  "openapi": "3.0.1",
  "info": {
    "title": "FanDuel Scraper | Odds, Spreads and Player Props",
    "description": "FanDuel scraper for sportsbook odds: moneyline, spread and total in American and decimal odds, no-vig win probabilities, teams, logos and start times. NFL, NBA, MLB, NHL, soccer, UFC, player props and futures. 29 NFL games in 1 second, 39 fields each. Search by team or paste links. No account.",
    "version": "1.0",
    "x-build-id": "8f0t1eLd9xDibQg7Z"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/silentflow~fanduel-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-silentflow-fanduel-scraper",
        "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/silentflow~fanduel-scraper/runs": {
      "post": {
        "operationId": "runs-sync-silentflow-fanduel-scraper",
        "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/silentflow~fanduel-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-silentflow-fanduel-scraper",
        "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": {
          "sports": {
            "title": "🏈 Sports and leagues",
            "type": "array",
            "description": "The leagues to read, soonest games first. <code>NFL</code> returns the full slate in about a second. The US leagues also carry their futures (Super Bowl, MVP, season wins). Leave empty when you search by team or paste links.",
            "items": {
              "type": "string",
              "enum": [
                "nfl",
                "ncaaf",
                "nba",
                "ncaab",
                "wnba",
                "mlb",
                "nhl",
                "soccer",
                "tennis",
                "mma",
                "boxing",
                "cricket",
                "american-football",
                "basketball",
                "baseball",
                "ice-hockey"
              ],
              "enumTitles": [
                "NFL",
                "College Football",
                "NBA",
                "College Basketball",
                "WNBA",
                "MLB",
                "NHL",
                "Soccer",
                "Tennis",
                "MMA / UFC",
                "Boxing",
                "Cricket",
                "American football (all leagues)",
                "Basketball (all leagues)",
                "Baseball (all leagues)",
                "Ice hockey (all leagues)"
              ]
            }
          },
          "keywords": {
            "title": "🔎 Teams or players",
            "type": "array",
            "description": "Keep only the games and markets that name one of these: <code>Cowboys</code>, <code>Lakers</code>, <code>Liverpool</code>, <code>Mahomes</code>. With no sport picked, every sport is searched: one team usually gives one to five rows.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "🔗 FanDuel links",
            "type": "array",
            "description": "Paste FanDuel Sportsbook pages: a game (<code>sportsbook.fanduel.com/football/nfl/arizona-cardinals-@-los-angeles-rams-36160495</code>), a league (<code>/navigation/nba</code>), a sport (<code>/soccer</code>) or a league inside a sport (<code>/soccer/english-premier-league</code>).",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "state": {
            "title": "📍 State",
            "type": "string",
            "description": "FanDuel prices each state on its own feed: lines and the markets on offer differ slightly. Pick a state, or type its code (<code>pa</code>) or its name (<code>Pennsylvania</code>).",
            "default": "nj"
          },
          "maxItems": {
            "title": "🔢 Max rows",
            "minimum": 1,
            "type": "integer",
            "description": "Stop after this many rows, games and futures markets together. A full NFL week is about 30 games; every league of a sport can reach a few hundred.",
            "default": 100
          },
          "includeAllMarkets": {
            "title": "📚 Full betting board",
            "type": "boolean",
            "description": "Add every market FanDuel prices for each game in a <code>markets</code> list: player props, touchdown scorers, quarters and halves, alternate lines, specials, each selection in American, decimal and fractional odds with its previous price. An NFL game holds about 270 markets. Adds about one second per game. A board missing a tab FanDuel did not serve keeps every market read and leaves <code>marketsCount</code> empty.",
            "default": false
          },
          "includeFutures": {
            "title": "🏆 Futures",
            "type": "boolean",
            "description": "Also deliver long-term markets as rows: champion, conference winners, MVP and awards, season wins, top goalscorer, each with every contender's price and the favorite. Read from the league and sport pages, at no extra wait.",
            "default": false
          },
          "eventIds": {
            "title": "🆔 Game IDs",
            "type": "array",
            "description": "FanDuel game ids, the number at the end of a game link: <code>36160495</code>. Each id gives one row with that game's current lines; a finished game gives none.",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}