{
  "openapi": "3.0.1",
  "info": {
    "title": "Nfl Dfs Intelligence Monitor",
    "description": "Comprehensive NFL player injury tracker and Daily Fantasy Sports (DFS) intelligence tool that monitors official injury reports, practice participation, and player news from ESPN, CBS Sports, and Yahoo Sports.",
    "version": "1.0",
    "x-build-id": "fv2ax9EFdjyRncyZz"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/scionicdev~nfl-dfs-intelligence-monitor/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-scionicdev-nfl-dfs-intelligence-monitor",
        "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/scionicdev~nfl-dfs-intelligence-monitor/runs": {
      "post": {
        "operationId": "runs-sync-scionicdev-nfl-dfs-intelligence-monitor",
        "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/scionicdev~nfl-dfs-intelligence-monitor/run-sync": {
      "post": {
        "operationId": "run-sync-scionicdev-nfl-dfs-intelligence-monitor",
        "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": {
          "teams": {
            "title": "NFL Teams to Monitor",
            "type": "array",
            "description": "Select which NFL teams to track. Leave empty to monitor all 32 teams.",
            "items": {
              "type": "string",
              "enum": [
                "Arizona Cardinals",
                "Atlanta Falcons",
                "Baltimore Ravens",
                "Buffalo Bills",
                "Carolina Panthers",
                "Chicago Bears",
                "Cincinnati Bengals",
                "Cleveland Browns",
                "Dallas Cowboys",
                "Denver Broncos",
                "Detroit Lions",
                "Green Bay Packers",
                "Houston Texans",
                "Indianapolis Colts",
                "Jacksonville Jaguars",
                "Kansas City Chiefs",
                "Las Vegas Raiders",
                "Los Angeles Chargers",
                "Los Angeles Rams",
                "Miami Dolphins",
                "Minnesota Vikings",
                "New England Patriots",
                "New Orleans Saints",
                "New York Giants",
                "New York Jets",
                "Philadelphia Eagles",
                "Pittsburgh Steelers",
                "San Francisco 49ers",
                "Seattle Seahawks",
                "Tampa Bay Buccaneers",
                "Tennessee Titans",
                "Washington Commanders"
              ]
            },
            "default": []
          },
          "positions": {
            "title": "Positions to Track",
            "type": "array",
            "description": "Filter by position. Leave empty to track all positions.",
            "items": {
              "type": "string",
              "enum": [
                "QB",
                "RB",
                "WR",
                "TE",
                "K",
                "DST"
              ]
            },
            "default": []
          },
          "data_sources": {
            "title": "Data Sources",
            "type": "object",
            "description": "Configure which injury data sources to scrape",
            "properties": {
              "espn": {
                "title": "ESPN Injury Page",
                "type": "boolean",
                "description": "Scrape ESPN NFL injury tracker (Primary source - 446 players, 32 teams)"
              },
              "cbs_sports": {
                "title": "CBS Sports",
                "type": "boolean",
                "description": "Scrape CBS Sports injury reports (Backup source - 32 teams)"
              },
              "yahoo_sports": {
                "title": "Yahoo Sports",
                "type": "boolean",
                "description": "Scrape Yahoo Sports injury data (Backup source - fastest load time)"
              }
            },
            "default": {
              "espn": true,
              "cbs_sports": false,
              "yahoo_sports": false
            }
          },
          "change_detection": {
            "title": "Enable Change Detection",
            "type": "boolean",
            "description": "Track changes in player status between runs",
            "default": true
          },
          "minimum_confidence": {
            "title": "Minimum Confidence Score",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Only include data with confidence score above this threshold (0-100)",
            "default": 70
          },
          "include_weather": {
            "title": "Include Weather Data",
            "type": "boolean",
            "description": "Add weather forecasts for outdoor stadiums",
            "default": false
          },
          "max_request_retries": {
            "title": "Max Request Retries",
            "minimum": 0,
            "maximum": 5,
            "type": "integer",
            "description": "Number of retry attempts for failed requests",
            "default": 2
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}