{
  "openapi": "3.0.1",
  "info": {
    "title": "Liquipedia Esports Wiki Page Directory",
    "description": "List tournament, team, or player pages from a chosen Liquipedia game wiki, with page name, ID, and direct URL, optionally filtered by a title search term.",
    "version": "2.0",
    "x-build-id": "c2h4G40KsH9JwcEE5"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/dataspryva~liquipedia-esports-wiki-page-directory/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-dataspryva-liquipedia-esports-wiki-page-directory",
        "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/dataspryva~liquipedia-esports-wiki-page-directory/runs": {
      "post": {
        "operationId": "runs-sync-dataspryva-liquipedia-esports-wiki-page-directory",
        "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/dataspryva~liquipedia-esports-wiki-page-directory/run-sync": {
      "post": {
        "operationId": "run-sync-dataspryva-liquipedia-esports-wiki-page-directory",
        "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",
        "required": [
          "mode"
        ],
        "properties": {
          "mode": {
            "title": "What to do",
            "enum": [
              "category",
              "search",
              "pages",
              "transfers",
              "tournaments",
              "teams",
              "players"
            ],
            "type": "string",
            "description": "Browse a category, run a full-text search, fetch exact pages, or collect player transfers.",
            "default": "category"
          },
          "category": {
            "title": "Category",
            "enum": [
              "tournaments",
              "teams",
              "players",
              "tournamentSeries",
              "upcomingTournaments",
              "casters",
              "custom"
            ],
            "type": "string",
            "description": "Which category to browse when mode is Browse a category. Custom category text overrides this when provided.",
            "default": "tournaments"
          },
          "customCategory": {
            "title": "Custom category name",
            "type": "string",
            "description": "Advanced: any category name on the wiki, with or without the Category: prefix, e.g. Heroes or Category:Patches. Overrides the Category field when set."
          },
          "searchQuery": {
            "title": "Search text",
            "type": "string",
            "description": "In Search mode: full-text query, e.g. The International 2025. In Browse a category mode: only keep page titles containing this text (case-insensitive)."
          },
          "pageUrls": {
            "title": "Page URLs or exact titles",
            "type": "array",
            "description": "Used when mode is Fetch exact pages. Paste Liquipedia page URLs (any game wiki) or exact page titles, one per line. Plain titles use the selected game wiki.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "yearFrom": {
            "title": "Transfers: from year",
            "minimum": 1990,
            "maximum": 2100,
            "type": "integer",
            "description": "Only keep transfers dated in or after this year. Leave empty for all years."
          },
          "yearTo": {
            "title": "Transfers: to year",
            "minimum": 1990,
            "maximum": 2100,
            "type": "integer",
            "description": "Only keep transfers dated in or before this year. Leave empty for all years."
          },
          "game": {
            "title": "Game wiki",
            "enum": [
              "dota2",
              "counterstrike",
              "leagueoflegends",
              "valorant",
              "rocketleague",
              "mobilelegends",
              "overwatch",
              "rainbowsix",
              "apexlegends",
              "starcraft2",
              "pubgmobile",
              "smash",
              "fighters",
              "ageofempires",
              "pubg",
              "warcraft",
              "arenafps",
              "artifact",
              "autochess",
              "battalion",
              "battlerite",
              "brawlstars",
              "brawlhalla",
              "callofduty",
              "chess",
              "clashofclans",
              "clashroyale",
              "criticalops",
              "crossfire",
              "deadlock",
              "underlords",
              "easportsfc",
              "tarkovarena",
              "esports",
              "formula1",
              "fortnite",
              "freefire",
              "geoguessr",
              "goals",
              "halo",
              "hearthstone",
              "heroes",
              "honorofkings",
              "runeterra",
              "magic",
              "marvelrivals",
              "naraka",
              "omegastrikers",
              "osu",
              "paladins",
              "pokemon",
              "sideswipe",
              "simracing",
              "smite",
              "splatoon",
              "splitgate",
              "squadrons",
              "starcraft",
              "stormgate",
              "teamfortress",
              "tft",
              "tetris",
              "trackmania",
              "warthunder",
              "wildrift",
              "wildcard",
              "worldoftanks",
              "worldofwarcraft",
              "zula",
              "cs2",
              "csgo",
              "lol",
              "sc2",
              "rl"
            ],
            "type": "string",
            "description": "Liquipedia wiki to read. Each game has its own wiki, roster and tournament categories.",
            "default": "dota2"
          },
          "customWiki": {
            "title": "Custom wiki slug",
            "type": "string",
            "description": "Advanced: use any Liquipedia wiki slug that is not in the dropdown, e.g. deltaforce or eva. Overrides the game wiki when set."
          },
          "maxItems": {
            "title": "Maximum records",
            "minimum": 1,
            "maximum": 20000,
            "type": "integer",
            "description": "Cap on records pushed. Category and search modes stop after this many; transfers counts one record per player move. Maximum 20,000.",
            "default": 20
          },
          "includeDetails": {
            "title": "Parse page details",
            "type": "boolean",
            "description": "Fetch page source and add parsed infobox fields, categories and sections. Turn off for the fastest catalogue of names, IDs and URLs.",
            "default": true
          },
          "includeImages": {
            "title": "Include image URLs",
            "type": "boolean",
            "description": "Add the page's lead image URL when Liquipedia provides one. No extra API requests.",
            "default": true
          },
          "includeInfobox": {
            "title": "Include raw infobox",
            "type": "boolean",
            "description": "Add the cleaned source infobox as an object beside the normalised fields. Useful for non-standard keys.",
            "default": false
          },
          "includeWikitext": {
            "title": "Include raw wikitext",
            "type": "boolean",
            "description": "Add the page's raw wikitext. Large field: use only when you need to parse something yourself.",
            "default": false
          },
          "includeMatches": {
            "title": "Include match lists",
            "type": "boolean",
            "description": "On tournament pages, add matches that are written in the page source. Matches imported only from Liquipedia's database cannot be read and are omitted.",
            "default": false
          },
          "includePrizes": {
            "title": "Include prize rows",
            "type": "boolean",
            "description": "On tournament pages, add placement and prize rows that are written in the page source. Prize distributions imported from Liquipedia's database are omitted.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}