{
  "openapi": "3.0.1",
  "info": {
    "title": "Pepper Deals Scraper - Discounts, Prices & Community Reviews",
    "description": "Scrape deals from dealabs (FR), mydealz (DE), hotukdeals (UK), chollometro (ES) and pepper.pl (PL). Extract prices, discounts, community temperatures, comments and deal details. Supports hot and newest feeds, categories, keyword searches and URLs.",
    "version": "0.1",
    "x-build-id": "dvM2Z0wYXH1s7UMME"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/abotapi~pepper-deals-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-abotapi-pepper-deals-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/abotapi~pepper-deals-scraper/runs": {
      "post": {
        "operationId": "runs-sync-abotapi-pepper-deals-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/abotapi~pepper-deals-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-abotapi-pepper-deals-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": "Mode",
            "enum": [
              "hot",
              "new",
              "category",
              "search",
              "urls"
            ],
            "type": "string",
            "description": "Hot = the community's trending feed. New = the newest feed. Category = one category per market. Search = keyword across markets. Links = paste deal, feed or category pages.",
            "default": "hot"
          },
          "markets": {
            "title": "Markets",
            "uniqueItems": true,
            "type": "array",
            "description": "Which country communities to read. Feeds are walked market by market so the item cap is shared fairly. Each market reports in its own currency (EUR, GBP, PLN).",
            "items": {
              "type": "string",
              "enum": [
                "FR",
                "DE",
                "UK",
                "ES",
                "PL"
              ],
              "enumTitles": [
                "France (dealabs)",
                "Germany (mydealz)",
                "United Kingdom (hotukdeals)",
                "Spain (chollometro)",
                "Poland (pepper.pl)"
              ]
            },
            "default": [
              "FR",
              "DE",
              "UK",
              "ES",
              "PL"
            ]
          },
          "keywords": {
            "title": "Keywords",
            "type": "array",
            "description": "Search mode: one or more keywords, searched on every selected market. Plain words work - the site's own search is used. Each keyword gets a fair share of the item cap.",
            "items": {
              "type": "string"
            }
          },
          "categories": {
            "title": "Categories",
            "type": "array",
            "description": "Category mode: a category NAME or address slug. Names are matched against the market's own category list where one exists (electronics, moda, elektronika...); a market without that category is skipped with a note. Or paste full category links in Links mode.",
            "items": {
              "type": "string"
            }
          },
          "links": {
            "title": "Deal, feed or category links",
            "type": "array",
            "description": "Links mode: single deal pages (one row per deal, always read in full), feed pages (/tendance, /new, /deals...), or category pages. One example of every accepted shape is pre-filled.",
            "default": [
              {
                "url": "https://www.dealabs.com/bons-plans/myprotein-selection-de-produits-a-1eur-gelules-collagene-barre-6-couches-whey-hydrate-3463480"
              },
              {
                "url": "https://www.mydealz.de/deals/amazon-black-friday-week-15-rabatt-auf-ausgewahlte-artikel-im-retourenkauf-2871410"
              },
              {
                "url": "https://www.hotukdeals.com/deals/6-x-fairy-scent-booster-almond-milk-manuka-honey-137g-5041101"
              },
              {
                "url": "https://www.chollometro.com/ofertas/monitor-gaming-oled-samsung-odyssey-g6-g60sf-27-qhd-500hz-003ms-2081331"
              },
              {
                "url": "https://www.pepper.pl/promocje/przyrzad-do-pomoowania-opon-kol-z-cyfrowym-manometrem-uraqt-1395949"
              },
              {
                "url": "https://www.dealabs.com/groupe/high-tech"
              },
              {
                "url": "https://www.dealabs.com/tendance"
              }
            ],
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "fetchDetails": {
            "title": "Fetch deal details",
            "type": "boolean",
            "description": "Read each new or changed deal's own page for the full description and image gallery (billed once per enriched deal; unchanged rows are never re-read).",
            "default": true
          },
          "fetchComments": {
            "title": "Fetch comment threads",
            "type": "boolean",
            "description": "Read each new or changed deal's comment thread (nested in the row; also visible one-per-row in the Comments output tab).",
            "default": true
          },
          "maxComments": {
            "title": "Comments per deal",
            "minimum": 0,
            "maximum": 1000,
            "type": "integer",
            "description": "How many comments to collect per deal (newest thread order, replies folded in). 0 turns comment collection off.",
            "default": 20
          },
          "minTemperature": {
            "title": "Minimum temperature",
            "type": "integer",
            "description": "Keep only deals at or above this temperature. Search mode applies it at the source; feed modes apply it after collection."
          },
          "hideExpired": {
            "title": "Hide expired deals",
            "type": "boolean",
            "description": "Drop deals the community has marked expired. Applied after collection.",
            "default": false
          },
          "sortBy": {
            "title": "Sort search results by",
            "enum": [
              "relevance",
              "recent",
              "hot"
            ],
            "type": "string",
            "description": "Search mode: order the results the source's own way (best match, newest first, hottest first). Applied at the source before collection.",
            "default": "relevance"
          },
          "timeFrame": {
            "title": "Search period",
            "type": "integer",
            "description": "Search mode: keep deals published within this period of days before collection (7 / 30 / 365; 0 = all time). Applied at the source.",
            "default": 365
          },
          "publishedAfter": {
            "title": "Published after",
            "type": "string",
            "description": "Keep only deals published on or after this date, YYYY-MM-DD. Applied after collection."
          },
          "minPrice": {
            "title": "Minimum price",
            "type": "number",
            "description": "Price floor in the market currency. Search mode applies it at the source; feed modes apply it after collection."
          },
          "maxPrice": {
            "title": "Maximum price",
            "type": "number",
            "description": "Price ceiling in the market currency. Search mode applies it at the source; feed modes apply it after collection."
          },
          "maxItems": {
            "title": "Max items",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum deals to deliver this run. 0 means no limit.",
            "default": 20
          },
          "maxPages": {
            "title": "Max pages per feed",
            "minimum": 0,
            "type": "integer",
            "description": "Optional page cap per feed or keyword. 0 (default) means this never caps - Max items is the only limit that stops a run early.",
            "default": 0
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "The community sites are open, so the standard datacenter connection works on most runs. Residential proxies are the more reliable upgrade when a datacenter exit is refused. This run cannot use residential proxies on Apify free plans."
          },
          "resumeFromRunId": {
            "title": "Resume from run ID",
            "type": "string",
            "description": "Re-walk a finished run's scope and skip deals it already delivered (paste the run ID; works on scheduled or interrupted runs). Not combinable with incremental mode."
          },
          "incrementalMode": {
            "title": "Incremental mode",
            "type": "boolean",
            "description": "Track a baseline per scope: unchanged deals are suppressed (and never re-read or re-charged); new and changed deals ship with a changeType. First run is a bootstrap.",
            "default": false
          },
          "stateKey": {
            "title": "State key",
            "type": "string",
            "description": "Name your own baseline store. Leave empty to derive one automatically from the scope (mode, markets, keywords/links)."
          },
          "emitUnchanged": {
            "title": "Emit unchanged deals",
            "type": "boolean",
            "description": "Incremental mode: also push rows classified UNCHANGED (handy for diffing in the Changes output tab).",
            "default": false
          },
          "emitExpired": {
            "title": "Emit expired deals",
            "type": "boolean",
            "description": "Incremental mode: after a complete scan, also push tombstone rows for tracked deals that disappeared from the feed.",
            "default": false
          },
          "ignoreFieldsForChanges": {
            "title": "Ignore fields when detecting changes (incremental mode only)",
            "type": "array",
            "description": "Extra field names that must never mark a deal UPDATED (in addition to the built-in noise set: temperature decay flags, bump bookkeeping, last-comment time).",
            "items": {
              "type": "string"
            }
          },
          "mcpConnectors": {
            "title": "MCP connectors",
            "type": "array",
            "description": "Optional. Deliver pushed deals to an MCP connector (for example Notion). Each item: {\"channelId\": \"...\"}."
          },
          "notionParentPageUrl": {
            "title": "Notion parent page URL",
            "type": "string",
            "description": "Optional Notion parent page for connector exports."
          },
          "maxNotifyListings": {
            "title": "Max rows to connectors",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Cap on rows delivered to connectors per run.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}