{
  "openapi": "3.0.1",
  "info": {
    "title": "Outpost.be Scraper — TCG Card Prices & Stock",
    "description": "Scrape the Outpost game-center webshop (web.outpost.be): card singles and sealed product for Magic, Pokémon, Yu-Gi-Oh!, Riftbound, Lorcana, One Piece and 11 more games, plus board games. Price and stock per condition, language, finish, card text, change tracking.",
    "version": "0.0",
    "x-build-id": "x0jq7YSgVeFcrZ1bS"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/unfenced-group~outpost-be-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-unfenced-group-outpost-be-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~outpost-be-scraper/runs": {
      "post": {
        "operationId": "runs-sync-unfenced-group-outpost-be-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~outpost-be-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-unfenced-group-outpost-be-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": {
          "catalogs": {
            "title": "Catalogs",
            "type": "array",
            "description": "Which parts of the Outpost shop to scrape: a card game (its sets, newest first) or a product category such as board games or accessories. Example: [\"pokemon\"]. Leave empty when you only use Start URLs.",
            "items": {
              "type": "string",
              "enum": [
                "magic",
                "pokemon",
                "yugioh",
                "riftbound",
                "lorcana",
                "onepiece",
                "starwars",
                "fleshandblood",
                "digimon",
                "dragonball",
                "gundam",
                "vanguard",
                "altered",
                "grandarchive",
                "finalfantasy",
                "sorcery",
                "shadowverse",
                "boardgames",
                "accessories",
                "roleplaying",
                "other"
              ],
              "enumTitles": [
                "Magic: The Gathering",
                "Pokémon",
                "Yu-Gi-Oh!",
                "Riftbound",
                "Disney Lorcana",
                "One Piece",
                "Star Wars Unlimited",
                "Flesh and Blood",
                "Digimon",
                "Dragon Ball Super",
                "Gundam",
                "Cardfight!! Vanguard",
                "Altered",
                "Grand Archive",
                "Final Fantasy",
                "Sorcery: Contested Realm",
                "Shadowverse: Evolve",
                "Board & card games",
                "Accessories",
                "Roleplaying games",
                "Other"
              ]
            },
            "default": []
          },
          "maxCollectionsPerCatalog": {
            "title": "Sets per card game",
            "minimum": 0,
            "type": "integer",
            "description": "For card games: how many sets to read, newest first. Only sets with matching products count. Set to 0 to read the whole game catalog in one pass. Ignored for board games, accessories, roleplaying and other. Example: 3.",
            "default": 3
          },
          "collectionFilter": {
            "title": "Set name filter",
            "type": "array",
            "description": "Only read card sets whose name contains one of these words (case-insensitive), for example \"Mega Evolution\", \"Commander\" or \"Destined Rivals\". Leave empty for all sets.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "searchQueries": {
            "title": "Product name filter",
            "type": "array",
            "description": "Only return products whose name contains one of these words (case-insensitive), for example \"Charizard\" or \"Booster Display\". Applied inside the chosen catalogs; without a catalog every catalog is scanned, which is slow. The shop's own search page is not used.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "Start URLs",
            "type": "array",
            "description": "web.outpost.be pages to scrape directly: a product page (https://web.outpost.be/products/...), a set page (https://web.outpost.be/pokemon/sets/delta-reign) or a shelf page (https://web.outpost.be/pokemon/singles). Product pages are billed as products with details.",
            "default": [],
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "inStockOnly": {
            "title": "Only products in stock",
            "type": "boolean",
            "description": "Skip products with no condition currently in stock. Pre-orders without stock count as not in stock.",
            "default": false
          },
          "rarities": {
            "title": "Rarities",
            "type": "array",
            "description": "Only return products with one of these rarities, matched on the full name or the site's code (case-insensitive). Examples: \"Mythic\", \"Rare\", \"Ultra Rare\", \"M\". Leave empty for all.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "languages": {
            "title": "Languages",
            "type": "array",
            "description": "Only return products in these languages, by name or ISO code, for example \"English\", \"Japanese\" or \"ja\". Leave empty for all.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "minPrice": {
            "title": "Minimum price (EUR)",
            "minimum": 0,
            "type": "integer",
            "description": "Only return products whose lowest listed price (lowest in-stock price when 'Only products in stock' is on) is at least this many euros. Example: 5."
          },
          "maxPrice": {
            "title": "Maximum price (EUR)",
            "minimum": 0,
            "type": "integer",
            "description": "Only return products whose lowest listed price is at most this many euros. Example: 100."
          },
          "fetchDetails": {
            "title": "Fetch product details",
            "type": "boolean",
            "description": "Also read the full product record: card text, flavor text, artist, power/toughness, Yu-Gi-Oh! level and attribute, set release date, product description and the full image gallery. Billed as a product with details.",
            "default": false
          },
          "onlyChanges": {
            "title": "Only new or changed products",
            "type": "boolean",
            "description": "Return only products that are new since your previous runs, or whose price or stock changed (price drop, price increase, back in stock, sold out). Useful for scheduled monitoring.",
            "default": false
          },
          "maxItems": {
            "title": "Max products",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum number of products to return. Set to 0 for no limit. Example: 50.",
            "default": 50
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}