{
  "openapi": "3.0.1",
  "info": {
    "title": "Epic Games Store Scraper",
    "description": "Scrape Epic Games Store games, prices, sales and free games across 50+ country storefronts.",
    "version": "0.0",
    "x-build-id": "VcwhYVYor2YlHLZpd"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/unfenced-group~epic-games-store-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-unfenced-group-epic-games-store-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/unfenced-group~epic-games-store-scraper/runs": {
      "post": {
        "operationId": "runs-sync-unfenced-group-epic-games-store-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/unfenced-group~epic-games-store-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-unfenced-group-epic-games-store-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": {
          "searchQuery": {
            "title": "Search keywords",
            "type": "string",
            "description": "Keywords to search the Epic Games Store catalogue (e.g. \"witcher\", \"racing\"). Leave empty to browse the full catalogue by the chosen sort order.",
            "default": ""
          },
          "countries": {
            "title": "Storefronts (countries)",
            "type": "array",
            "description": "One or more Epic storefronts to price each game in. Pick multiple to compare regional prices in a single run, or choose \"All storefronts\". Each currency is read live from Epic — no hardcoded conversion.",
            "items": {
              "type": "string",
              "enum": [
                "all",
                "US",
                "CA",
                "MX",
                "BR",
                "AR",
                "CL",
                "CO",
                "PE",
                "UY",
                "GB",
                "IE",
                "DE",
                "FR",
                "IT",
                "ES",
                "PT",
                "NL",
                "BE",
                "AT",
                "LU",
                "GR",
                "FI",
                "CH",
                "SE",
                "NO",
                "DK",
                "PL",
                "CZ",
                "HU",
                "RO",
                "BG",
                "HR",
                "SI",
                "SK",
                "TR",
                "UA",
                "AE",
                "SA",
                "IL",
                "ZA",
                "AU",
                "NZ",
                "JP",
                "KR",
                "SG",
                "TH",
                "MY",
                "ID",
                "PH",
                "VN",
                "IN",
                "TW",
                "HK"
              ],
              "enumTitles": [
                "All storefronts",
                "🇺🇸 United States (USD)",
                "🇨🇦 Canada (CAD)",
                "🇲🇽 Mexico (MXN)",
                "🇧🇷 Brazil (BRL)",
                "🇦🇷 Argentina (USD)",
                "🇨🇱 Chile (CLP)",
                "🇨🇴 Colombia (COP)",
                "🇵🇪 Peru (PEN)",
                "🇺🇾 Uruguay (USD)",
                "🇬🇧 United Kingdom (GBP)",
                "🇮🇪 Ireland (EUR)",
                "🇩🇪 Germany (EUR)",
                "🇫🇷 France (EUR)",
                "🇮🇹 Italy (EUR)",
                "🇪🇸 Spain (EUR)",
                "🇵🇹 Portugal (EUR)",
                "🇳🇱 Netherlands (EUR)",
                "🇧🇪 Belgium (EUR)",
                "🇦🇹 Austria (EUR)",
                "🇱🇺 Luxembourg (EUR)",
                "🇬🇷 Greece (EUR)",
                "🇫🇮 Finland (EUR)",
                "🇨🇭 Switzerland (CHF)",
                "🇸🇪 Sweden (SEK)",
                "🇳🇴 Norway (NOK)",
                "🇩🇰 Denmark (DKK)",
                "🇵🇱 Poland (PLN)",
                "🇨🇿 Czechia (CZK)",
                "🇭🇺 Hungary (HUF)",
                "🇷🇴 Romania (RON)",
                "🇧🇬 Bulgaria (BGN)",
                "🇭🇷 Croatia (EUR)",
                "🇸🇮 Slovenia (EUR)",
                "🇸🇰 Slovakia (EUR)",
                "🇹🇷 Türkiye (TRY)",
                "🇺🇦 Ukraine (USD)",
                "🇦🇪 United Arab Emirates (USD)",
                "🇸🇦 Saudi Arabia (SAR)",
                "🇮🇱 Israel (USD)",
                "🇿🇦 South Africa (ZAR)",
                "🇦🇺 Australia (AUD)",
                "🇳🇿 New Zealand (NZD)",
                "🇯🇵 Japan (JPY)",
                "🇰🇷 South Korea (KRW)",
                "🇸🇬 Singapore (SGD)",
                "🇹🇭 Thailand (THB)",
                "🇲🇾 Malaysia (MYR)",
                "🇮🇩 Indonesia (IDR)",
                "🇵🇭 Philippines (PHP)",
                "🇻🇳 Vietnam (VND)",
                "🇮🇳 India (INR)",
                "🇹🇼 Taiwan (TWD)",
                "🇭🇰 Hong Kong (HKD)"
              ]
            },
            "default": [
              "US"
            ]
          },
          "maxResults": {
            "title": "Max results",
            "minimum": 1,
            "type": "integer",
            "description": "Maximum number of records to return. With multiple storefronts, each game-country pair counts as one record.",
            "default": 5
          },
          "freeGamesOnly": {
            "title": "Free games this week only",
            "type": "boolean",
            "description": "Return only the games Epic is currently giving away for free (the weekly free-games promotion). Ignores the search keywords.",
            "default": false
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "relevancy",
              "releaseDate",
              "title",
              "currentPrice"
            ],
            "type": "string",
            "description": "Catalogue sort order when browsing.",
            "default": "relevancy"
          },
          "sortDir": {
            "title": "Sort direction",
            "enum": [
              "ASC",
              "DESC"
            ],
            "type": "string",
            "description": "Ascending or descending.",
            "default": "DESC"
          },
          "priceFilter": {
            "title": "Price filter",
            "enum": [
              "all",
              "free",
              "paid",
              "onSale"
            ],
            "type": "string",
            "description": "Restrict results by price status.",
            "default": "all"
          },
          "minPrice": {
            "title": "Minimum price",
            "type": "integer",
            "description": "Only return games at or above this final price, in the first storefront's currency."
          },
          "maxPrice": {
            "title": "Maximum price",
            "type": "integer",
            "description": "Only return games at or below this final price, in the first storefront's currency."
          },
          "minDiscount": {
            "title": "Minimum discount (%)",
            "type": "integer",
            "description": "Only return games discounted by at least this percentage."
          },
          "genres": {
            "title": "Genres",
            "type": "array",
            "description": "Filter to games whose genre tags match any of these (e.g. \"Action\", \"RPG\", \"Strategy\"). Case-insensitive partial match.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "platforms": {
            "title": "Platforms",
            "type": "array",
            "description": "Filter by platform tag (e.g. \"Windows\", \"Mac\"). Case-insensitive partial match.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "releasedAfter": {
            "title": "Released after",
            "type": "string",
            "description": "Only games released on or after this date (YYYY-MM-DD)."
          },
          "releasedBefore": {
            "title": "Released before",
            "type": "string",
            "description": "Only games released on or before this date (YYYY-MM-DD)."
          },
          "fetchDetails": {
            "title": "Fetch detail pages",
            "type": "boolean",
            "description": "Fetch each game's detail content for age ratings, developer/publisher and full description. Slower but richer.",
            "default": false
          },
          "includeDescription": {
            "title": "Include description",
            "type": "boolean",
            "description": "Include the short and full game descriptions in the output.",
            "default": true
          },
          "includeRequirements": {
            "title": "Include system requirements",
            "type": "boolean",
            "description": "Include minimum and recommended PC system requirements per OS. Forces detail fetch.",
            "default": false
          },
          "includeMedia": {
            "title": "Include media & editions",
            "type": "boolean",
            "description": "Include all images and the list of available editions. Forces detail fetch.",
            "default": false
          },
          "startUrls": {
            "title": "Start URLs",
            "type": "array",
            "description": "Optional list of specific Epic Games Store product URLs to scrape instead of searching.",
            "default": [],
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Proxy settings. Defaults to Apify datacenter proxy with automatic session rotation, which clears Epic's bot protection and keeps runs free of residential proxy cost.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "BUYPROXIES94952"
              ]
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}