{
  "openapi": "3.0.1",
  "info": {
    "title": "Epic Games Store Scraper - Free Games, Deals & Charts",
    "description": "Scrape the Epic Games Store: weekly free games, the full catalog with prices in any country, deals, upcoming releases, top sellers & most played charts, and product details with system requirements, ratings and achievements. No login.",
    "version": "0.1",
    "x-build-id": "jTMsVorV9tFeZbxFO"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/fanndev~epic-games-store-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-fanndev-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/fanndev~epic-games-store-scraper/runs": {
      "post": {
        "operationId": "runs-sync-fanndev-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/fanndev~epic-games-store-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-fanndev-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",
        "required": [
          "mode"
        ],
        "properties": {
          "mode": {
            "title": "What to scrape",
            "enum": [
              "freeGames",
              "search",
              "charts",
              "product",
              "tags"
            ],
            "type": "string",
            "description": "freeGames: weekly giveaways. search: reads 'Search keywords' and the filters below. charts: reads 'Charts'. product: reads 'Product URLs or slugs'. tags: lists tag IDs to use in 'Tag IDs'.",
            "default": "freeGames"
          },
          "countries": {
            "title": "Countries",
            "type": "array",
            "description": "2-letter country codes for prices and availability (e.g. US, GB, DE, ID, JP). Each country is scraped separately. Empty = US.",
            "items": {
              "type": "string"
            }
          },
          "locale": {
            "title": "Language",
            "type": "string",
            "description": "Store language for titles and descriptions, e.g. en-US, de, fr, ja, ko, pt-BR, zh-CN.",
            "default": "en-US"
          },
          "keywords": {
            "title": "Search keywords",
            "type": "array",
            "description": "Search mode. One search per keyword. Leave empty to browse the whole catalog with the filters below.",
            "items": {
              "type": "string"
            }
          },
          "category": {
            "title": "Category",
            "enum": [
              "all",
              "games",
              "bundles",
              "editions",
              "addons",
              "demos",
              "software",
              "editors"
            ],
            "type": "string",
            "description": "Search mode. Which part of the store to browse.",
            "default": "all"
          },
          "onSaleOnly": {
            "title": "On sale only",
            "type": "boolean",
            "description": "Search mode. Only discounted offers.",
            "default": false
          },
          "freeToPlayOnly": {
            "title": "Free-to-play only",
            "type": "boolean",
            "description": "Search mode. Only permanently free games (for giveaways use mode 'Free games').",
            "default": false
          },
          "releaseWindow": {
            "title": "Release window",
            "enum": [
              "any",
              "upcoming",
              "last30days"
            ],
            "type": "string",
            "description": "Search mode. Shortcut for the release date filter. Combine with sort 'Release date' ascending for a coming-soon calendar.",
            "default": "any"
          },
          "releasedFrom": {
            "title": "Released from (YYYY-MM-DD)",
            "type": "string",
            "description": "Search mode. Optional exact start of the release date range."
          },
          "releasedTo": {
            "title": "Released to (YYYY-MM-DD)",
            "type": "string",
            "description": "Search mode. Optional exact end of the release date range."
          },
          "priceMin": {
            "title": "Min price",
            "minimum": 0,
            "type": "number",
            "description": "Search mode. In the country's currency, e.g. 5 = $5.00."
          },
          "priceMax": {
            "title": "Max price",
            "minimum": 0,
            "type": "number",
            "description": "Search mode. In the country's currency, e.g. 20 = $20.00."
          },
          "tagIds": {
            "title": "Tag IDs (genres / features)",
            "type": "array",
            "description": "Search mode. Epic tag IDs, all must match (e.g. 1216 = Action). Run mode 'List genre & feature tags' for the full list.",
            "items": {
              "type": "string"
            }
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "releaseDate",
              "relevancy",
              "title",
              "currentPrice",
              "pcReleaseDate",
              "effectiveDate"
            ],
            "type": "string",
            "description": "Search mode. Relevance is used automatically for keyword searches unless you pick something else.",
            "default": "releaseDate"
          },
          "sortDir": {
            "title": "Sort direction",
            "enum": [
              "DESC",
              "ASC"
            ],
            "type": "string",
            "description": "Search mode.",
            "default": "DESC"
          },
          "charts": {
            "title": "Charts",
            "type": "array",
            "description": "Charts mode. Empty = all six charts.",
            "items": {
              "type": "string",
              "enum": [
                "top-sellers",
                "most-played",
                "top-wishlisted",
                "top-player-reviewed",
                "top-new-releases",
                "most-popular"
              ],
              "enumTitles": [
                "Top Sellers",
                "Most Played",
                "Top Wishlisted",
                "Top Player Rated",
                "Top New Releases",
                "Most Popular"
              ]
            }
          },
          "productUrls": {
            "title": "Product URLs or slugs",
            "type": "array",
            "description": "Product mode. Store page URLs (store.epicgames.com/.../p/<slug>) or just the slug, e.g. 'hades'.",
            "items": {
              "type": "string"
            }
          },
          "includeAchievements": {
            "title": "Include full achievement list",
            "type": "boolean",
            "description": "Product mode. Adds every achievement with its XP and unlock rarity.",
            "default": true
          },
          "includeNonFreePromotions": {
            "title": "Include other promo entries",
            "type": "boolean",
            "description": "Free games mode. Also output the paid titles Epic lists next to the giveaways.",
            "default": false
          },
          "maxItemsPerInput": {
            "title": "Max results per keyword / chart",
            "minimum": 0,
            "type": "integer",
            "description": "0 = all. The full US catalog is about 7,500 offers.",
            "default": 0
          },
          "maxItems": {
            "title": "Max records in total",
            "minimum": 0,
            "type": "integer",
            "description": "Hard cap for the whole run. 0 = no cap.",
            "default": 0
          },
          "maxConcurrency": {
            "title": "Parallel requests",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "How many result pages (search) or products (product mode) are fetched at once.",
            "default": 4
          },
          "requestDelaySecs": {
            "title": "Delay between requests (seconds)",
            "minimum": 0,
            "type": "number",
            "description": "Polite pause between calls.",
            "default": 0.2
          },
          "maxRetries": {
            "title": "Max retries",
            "minimum": 0,
            "maximum": 10,
            "type": "integer",
            "description": "Retries per request, each with a fresh connection and browser fingerprint.",
            "default": 5
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Apify Proxy (automatic) is recommended. If Epic starts blocking, the actor switches to Apify Residential proxy by itself. Pick Residential here to use it from the start.",
            "default": {
              "useApifyProxy": true
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}