{
  "openapi": "3.0.1",
  "info": {
    "title": "Fussball.de Scraper: Club Emails, Fixtures & Results",
    "description": "Scrape fussball.de, the DFB portal for German amateur football: club email, website and contact person, fixtures and results with lineups and goal scorers, league tables and top scorers. One club, any link, or a whole association. No login.",
    "version": "0.0",
    "x-build-id": "yqTKdAhqsqWfRswzh"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/epicscrapers~fussball-de-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-epicscrapers-fussball-de-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/epicscrapers~fussball-de-scraper/runs": {
      "post": {
        "operationId": "runs-sync-epicscrapers-fussball-de-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/epicscrapers~fussball-de-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-epicscrapers-fussball-de-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": {
          "dataType": {
            "title": "What to scrape",
            "enum": [
              "clubs",
              "matches",
              "standings",
              "topScorers"
            ],
            "type": "string",
            "description": "<b>Clubs</b>: club directory with email, website, contact person, address, colours and teams. <b>Matches</b>: fixtures and results with kickoff, score, venue and referees. <b>Standings</b>: league tables. <b>Top scorers</b>: scorer lists (published mostly for higher leagues).",
            "default": "clubs"
          },
          "searchTerms": {
            "title": "Club names or towns",
            "type": "array",
            "description": "Searches the fussball.de club search, which matches club names and towns (e.g. <code>München</code>, <code>TSV Buchbach</code>, <code>Eintracht</code>). At least 3 characters. Postal codes are not supported by this search.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "fussball.de URLs",
            "type": "array",
            "description": "Club (<code>/verein/…/-/id/…</code>), team (<code>/mannschaft/…/team-id/…</code>), league (any page with <code>/staffel/…</code>) or match (<code>/spiel/…</code>) URLs. Bare 32-character IDs work too.",
            "items": {
              "type": "string"
            }
          },
          "associations": {
            "title": "Whole regional associations",
            "type": "array",
            "description": "Crawls every league of these associations in the season (championship leagues of all levels, from Regionalliga down to Kreisklasse, men, women and youth). With <b>Clubs</b> this lists every club playing there. Combine with <b>Team types</b> to narrow it down. 'Deutschland' holds the national leagues (Bundesliga to Regionalliga).",
            "items": {
              "type": "string",
              "enum": [
                "89",
                "32",
                "31",
                "66",
                "61",
                "02",
                "03",
                "34",
                "62",
                "23",
                "22",
                "01",
                "41",
                "43",
                "63",
                "64",
                "04",
                "33",
                "42",
                "65",
                "21",
                "35"
              ],
              "enumTitles": [
                "Deutschland (national leagues)",
                "Baden",
                "Bayern",
                "Berlin",
                "Brandenburg",
                "Bremen",
                "Hamburg",
                "Hessen",
                "Mecklenburg-Vorpommern",
                "Mittelrhein",
                "Niederrhein",
                "Niedersachsen",
                "Rheinland",
                "Saarland",
                "Sachsen",
                "Sachsen-Anhalt",
                "Schleswig-Holstein",
                "Südbaden",
                "Südwest",
                "Thüringen",
                "Westfalen",
                "Württemberg"
              ]
            }
          },
          "teamTypes": {
            "title": "Team types",
            "type": "array",
            "description": "Only these age groups / team types (for association crawls, the teams of a club, and match rows). Empty = all.",
            "items": {
              "type": "string",
              "enum": [
                "Herren",
                "Herren-Reserve",
                "Frauen",
                "A-Junioren",
                "B-Junioren",
                "C-Junioren",
                "D-Junioren",
                "E-Junioren",
                "F-Junioren",
                "G-Junioren",
                "A-Juniorinnen",
                "B-Juniorinnen",
                "C-Juniorinnen",
                "D-Juniorinnen",
                "E-Juniorinnen",
                "Herren Ü32",
                "Herren Ü40",
                "Herren Ü50",
                "Herren Ü60",
                "Herren Freizeitsport",
                "Frauen Freizeitsport"
              ],
              "enumTitles": [
                "Herren (men)",
                "Herren-Reserve (men's reserves)",
                "Frauen (women)",
                "A-Junioren (U19)",
                "B-Junioren (U17)",
                "C-Junioren (U15)",
                "D-Junioren (U13)",
                "E-Junioren (U11)",
                "F-Junioren (U9)",
                "G-Junioren (U7)",
                "A-Juniorinnen (girls U19)",
                "B-Juniorinnen (girls U17)",
                "C-Juniorinnen (girls U15)",
                "D-Juniorinnen (girls U13)",
                "E-Juniorinnen (girls U11)",
                "Herren Ü32",
                "Herren Ü40",
                "Herren Ü50",
                "Herren Ü60",
                "Herren Freizeitsport",
                "Frauen Freizeitsport"
              ]
            }
          },
          "includeContactDetails": {
            "title": "Clubs: include email and contact person",
            "type": "boolean",
            "description": "Adds the club's email address and contact person (charged as an extra <b>Club email</b> event, only for clubs that have one). Turn off to get the club directory (website, address, colours, teams) at the base price.",
            "default": true
          },
          "season": {
            "title": "Season",
            "type": "string",
            "description": "e.g. <code>2026/27</code> or <code>2025/26</code>. Empty = current season. League and match URLs always use their own season."
          },
          "matchStatus": {
            "title": "Matches: played or upcoming",
            "enum": [
              "all",
              "played",
              "upcoming"
            ],
            "type": "string",
            "description": "For <b>Matches</b>: keep all, only played matches with a result, or only upcoming fixtures.",
            "default": "all"
          },
          "dateFrom": {
            "title": "Matches from date",
            "type": "string",
            "description": "For <b>Matches</b>: only matches on or after this day (German local date)."
          },
          "dateTo": {
            "title": "Matches until date",
            "type": "string",
            "description": "For <b>Matches</b>: only matches on or before this day."
          },
          "includeMatchDetails": {
            "title": "Matches: add lineups and events",
            "type": "boolean",
            "description": "Adds starting lineups, substitutes and the event timeline (goals with scorer, cards, substitutions) where the club published a match report. One extra request per match, slower.",
            "default": false
          },
          "maxItems": {
            "title": "Max results",
            "minimum": 1,
            "type": "integer",
            "description": "Stop after this many rows. Empty = no limit."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}