{
  "openapi": "3.0.1",
  "info": {
    "title": "NFL Contracts & Salary Cap - Over the Cap Data",
    "description": "NFL contracts and salary cap data from Over the Cap: every active contract with APY and guarantees, cap tables by team and season to 2035 with dead money and cap savings, team cap space and releases. Filter by team, position or player. No proxy. Export to Excel, CSV or API.",
    "version": "0.1",
    "x-build-id": "AjqkMfGgFwNX7PYw8"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/pshivam~overthecap-contracts-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-pshivam-overthecap-contracts-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/pshivam~overthecap-contracts-scraper/runs": {
      "post": {
        "operationId": "runs-sync-pshivam-overthecap-contracts-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/pshivam~overthecap-contracts-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-pshivam-overthecap-contracts-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": {
          "dataTypes": {
            "title": "What to get",
            "type": "array",
            "description": "Contracts: every active NFL contract with APY and guarantees. Cap tables: every player's cap number, bonuses, guarantees and dead money for each team and season. Team cap space: cap space and dead money of the 32 teams. Releases: released players with what they earned. Leave empty for contracts.",
            "items": {
              "type": "string",
              "enum": [
                "contracts",
                "capTables",
                "teamCapSpace",
                "releases"
              ],
              "enumTitles": [
                "Contracts",
                "Cap tables (every player, by team and season)",
                "Team cap space",
                "Releases"
              ]
            }
          },
          "teams": {
            "title": "Teams",
            "type": "array",
            "description": "Only these teams: the abbreviation (KC), the nickname (Chiefs), the city or the full name (Kansas City Chiefs). Cap tables read only the teams you list. Leave empty for all 32.",
            "items": {
              "type": "string"
            }
          },
          "positions": {
            "title": "Positions",
            "type": "array",
            "description": "Only these positions: QB, RB, WR, TE, LT, LG, C, RG, RT, EDGE, IDL, LB, CB, S, K, P, LS, FB (or the long name, such as quarterback). Leave empty for all.",
            "items": {
              "type": "string"
            }
          },
          "players": {
            "title": "Players",
            "type": "array",
            "description": "Only these players: a name or a piece of it (Mahomes, Chris Jones) or Over the Cap's player ID. Leave empty for all.",
            "items": {
              "type": "string"
            }
          },
          "seasons": {
            "title": "Seasons (cap tables and team cap space)",
            "type": "array",
            "description": "Years such as 2027, or the word all. Cap tables go to 2035 and team cap space to 2028. Leave empty for the current season.",
            "items": {
              "type": "string"
            }
          },
          "minApy": {
            "title": "Minimum APY (US dollars)",
            "minimum": 0,
            "type": "integer",
            "description": "Contracts and releases with an average per year of at least this much, for example 20000000."
          },
          "minTotalValue": {
            "title": "Minimum total value (US dollars)",
            "minimum": 0,
            "type": "integer",
            "description": "Contracts and releases worth at least this much in total."
          },
          "minGuaranteed": {
            "title": "Minimum guaranteed money (US dollars)",
            "minimum": 0,
            "type": "integer",
            "description": "Contracts with at least this much guaranteed (releases: the new full guarantee)."
          },
          "includeAgeAndFreeAgency": {
            "title": "Add age, fully guaranteed money and free agency year",
            "type": "boolean",
            "description": "Contracts only. Reads the position pages too (up to 18 small extra requests). Turn off for the fastest run.",
            "default": true
          },
          "onlyNew": {
            "title": "Only new or changed records",
            "type": "boolean",
            "description": "Skip records that earlier runs of this same search already returned, so you pay only for new contracts, restructures, cuts and releases. The first run works as usual and remembers what it returned, in your key-value store 'overthecap-contracts-scraper-only-new'.",
            "default": false
          },
          "maxItems": {
            "title": "Maximum records",
            "minimum": 1,
            "maximum": 200000,
            "type": "integer",
            "description": "Stop after this many records. You are charged per record.",
            "default": 5000
          },
          "maxConcurrency": {
            "title": "Max parallel requests",
            "minimum": 1,
            "maximum": 4,
            "type": "integer",
            "description": "Team pages fetched at the same time. 1 is polite and fast enough.",
            "default": 1
          },
          "secondsBetweenRequests": {
            "title": "Seconds between requests",
            "minimum": 1,
            "maximum": 60,
            "type": "integer",
            "description": "Pause between requests to Over the Cap. After a 'too many requests' answer the Actor doubles the pause for the rest of the run.",
            "default": 1
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}