{
  "openapi": "3.0.1",
  "info": {
    "title": "Liquipedia Scraper: Esports Teams, Players & Tournaments",
    "description": "Scrape Liquipedia esports wikis (Dota 2, CS, Valorant, LoL + 14 more): full-text search, category listings and page details with parsed infobox fields for teams, players and tournaments. Export CSV, Excel, JSON, XML. No login or API key. 18 game wikis from one input.",
    "version": "0.3",
    "x-build-id": "PXYBeoFfIhNN5WkST"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/recordsdata~liquipedia-esports-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-recordsdata-liquipedia-esports-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/recordsdata~liquipedia-esports-scraper/runs": {
      "post": {
        "operationId": "runs-sync-recordsdata-liquipedia-esports-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/recordsdata~liquipedia-esports-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-recordsdata-liquipedia-esports-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": {
          "wiki": {
            "title": "Game wiki",
            "enum": [
              "dota2",
              "counterstrike",
              "valorant",
              "leagueoflegends",
              "rocketleague",
              "mobilelegends",
              "overwatch",
              "starcraft2",
              "pubg",
              "apexlegends",
              "rainbowsix",
              "fortnite",
              "ageofempires",
              "smash",
              "fifa",
              "tft",
              "deadlock",
              "marvelrivals",
              "arenafps",
              "artifact",
              "autochess",
              "battlerite",
              "brawlhalla",
              "brawlstars",
              "callofduty",
              "chess",
              "clashofclans",
              "clashroyale",
              "criticalops",
              "crossfire",
              "easportsfc",
              "fighters",
              "freefire",
              "geoguessr",
              "halo",
              "hearthstone",
              "heroes",
              "honorofkings",
              "magic",
              "naraka",
              "omegastrikers",
              "osu",
              "paladins",
              "pokemon",
              "pubgmobile",
              "rematch",
              "runeterra",
              "simracing",
              "smite",
              "splitgate",
              "squadrons",
              "starcraft",
              "stormgate",
              "teamfortress",
              "thefinals",
              "trackmania",
              "underlords",
              "warcraft",
              "warthunder",
              "wildrift",
              "worldoftanks",
              "worldofwarcraft",
              "zula"
            ],
            "type": "string",
            "description": "Which Liquipedia wiki to read. Example: Dota 2, Counter-Strike, Valorant or League of Legends. 63 wikis are listed.",
            "default": "dota2"
          },
          "searchQuery": {
            "title": "Search text (optional)",
            "type": "string",
            "description": "Full-text search on the wiki. Example: The International 2025. Returns one row per matching page (title, snippet, size, last edit). Clear it to skip search.",
            "default": "The International"
          },
          "category": {
            "title": "Wiki category (optional)",
            "type": "string",
            "description": "List every page in a category. Example: Tournaments, Players or Teams (the Category: prefix is optional). Leave empty to skip.",
            "default": ""
          },
          "pageTitles": {
            "title": "Exact page titles (optional, one per line)",
            "maxItems": 5000,
            "type": "array",
            "description": "Pages to fetch in full with parsed infobox. Example: Team Spirit or The International/2025. One row per title; up to 5,000 titles. Leave empty to skip.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "fetchPageDetails": {
            "title": "Open every hit as a full page record",
            "type": "boolean",
            "description": "Off: search and category return one light row per hit. On: each hit is opened and returned with parsed infobox and typed fields.",
            "default": false
          },
          "entityTypes": {
            "title": "Only these page types",
            "type": "array",
            "description": "Keep only tournaments, teams, players or other pages, decided by each page infobox. Skipped pages are never charged. Empty means all types.",
            "items": {
              "type": "string",
              "enum": [
                "tournament",
                "team",
                "player",
                "other"
              ],
              "enumTitles": [
                "Tournaments",
                "Teams",
                "Players and staff",
                "Other pages"
              ]
            },
            "default": []
          },
          "extractRecords": {
            "title": "Extra rows to extract (one row each)",
            "type": "array",
            "description": "Prizes, participants, matches, rosters, team history, transfers or brackets, read from the page source. Pick the ones that fit your page type (shown in each option). Empty means page rows only.",
            "items": {
              "type": "string",
              "enum": [
                "prizes",
                "participants",
                "matches",
                "roster",
                "teamHistory",
                "transfers",
                "brackets"
              ],
              "enumTitles": [
                "Prizes and placements (tournament pages)",
                "Participants with players (tournament pages)",
                "Matches with scores (tournament pages)",
                "Roster with join and leave dates (team pages)",
                "Team history (player pages)",
                "Transfers (transfer archive pages)",
                "Brackets with rounds and matches (tournament pages)"
              ]
            },
            "default": []
          },
          "includeWikitext": {
            "title": "Attach raw wikitext (large)",
            "type": "boolean",
            "description": "Adds the raw wikitext source, up to 30,000 characters, to each page row. Makes rows much bigger.",
            "default": false
          },
          "includeSubpages": {
            "title": "Also fetch sub-pages of each page title",
            "type": "boolean",
            "description": "For every exact page title, also fetch its sub-pages. Each sub-page row counts toward Max rows.",
            "default": false
          },
          "maxSubpages": {
            "title": "Max sub-pages per page title",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "Upper limit when sub-pages are included. Between 1 and 200.",
            "default": 25
          },
          "maxItems": {
            "title": "Max rows (billed)",
            "minimum": 1,
            "maximum": 1000000,
            "type": "integer",
            "description": "Total rows across search hits, category members, pages and typed records. Example: 10 for a test, 5000 for a full tournament. Free users are capped at 10 rows per run; paid users can go up to 1,000,000.",
            "default": 10
          },
          "onlyNew": {
            "title": "Only new or changed pages",
            "type": "boolean",
            "description": "Remember what earlier runs with the same input delivered and return only new pages or new revisions. Skipped pages are not charged. Each row gets changeType new or updated.",
            "default": false
          },
          "stateKey": {
            "title": "Monitor name (optional)",
            "type": "string",
            "description": "Label that keeps this monitor apart from another one with the same input. Example: daily-ti. Only used with Only new or changed pages.",
            "default": ""
          },
          "resetSeen": {
            "title": "Forget previous results",
            "type": "boolean",
            "description": "Reset the monitor memory so the next run returns every page as new. Only used with Only new or changed pages.",
            "default": false
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}