{
  "openapi": "3.0.1",
  "info": {
    "title": "Sellpy Search & New Listing Alerts",
    "description": "Sellpy scraper: search sellpy.se, sellpy.nl and sellpy.fi and get one row per listing with brand, size, condition, price and price-drop info. Monitor a search or brand and get new-listing, price-below or price-drop alerts in Discord, Slack or Telegram. No login or key; empty searches are free.",
    "version": "1.0",
    "x-build-id": "pRcG1U7Znk6DcxC2J"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/accountable_eel~sellpy-search-lookup/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-accountable_eel-sellpy-search-lookup",
        "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/accountable_eel~sellpy-search-lookup/runs": {
      "post": {
        "operationId": "runs-sync-accountable_eel-sellpy-search-lookup",
        "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/accountable_eel~sellpy-search-lookup/run-sync": {
      "post": {
        "operationId": "run-sync-accountable_eel-sellpy-search-lookup",
        "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": [
          "searches"
        ],
        "properties": {
          "searches": {
            "title": "Sellpy searches",
            "type": "array",
            "description": "One search per line: words such as levis 501, a pasted sellpy.se / .nl / .fi search link (only its search words are used), or * for every item the filters below allow. Each search returns one row per listing. Accepted formats: levis 501, carhartt jacka, https://www.sellpy.se/search?query=levis, *. You're only charged for the ones we actually find — a miss costs nothing.",
            "items": {
              "type": "string"
            }
          },
          "country": {
            "title": "Sellpy site",
            "enum": [
              "se",
              "nl",
              "fi"
            ],
            "type": "string",
            "description": "Which Sellpy to search. Prices are in that country's currency (SEK for Sweden, EUR for the Netherlands and Finland), and product types and conditions come in its language.",
            "default": "se"
          },
          "sort": {
            "title": "Order",
            "enum": [
              "relevance",
              "newest",
              "price-asc",
              "price-desc"
            ],
            "type": "string",
            "description": "Best match stops as soon as enough listings are read. Newest listed, Price low to high and (with search words) Newest listed read up to 2,400 matches, the most Sellpy returns per search, and sort them here. Monitoring always reads newest first.",
            "default": "relevance"
          },
          "maxItems": {
            "title": "Listings per search",
            "type": "integer",
            "description": "Most listings returned for each search line. Sellpy returns at most 2,400 matches per search.",
            "default": 50
          },
          "segment": {
            "title": "Department",
            "enum": [
              "any",
              "women",
              "men",
              "children",
              "unisex"
            ],
            "type": "string",
            "description": "Optional. Keeps women's, men's, children's or unisex items.",
            "default": "any"
          },
          "brand": {
            "title": "Brand (optional)",
            "type": "array",
            "description": "Brand exactly as Sellpy writes it, for example Levi's Premium or Levi Strauss & Co. Several brands are OR. Search with * and a brand to follow a brand.",
            "items": {
              "type": "string"
            }
          },
          "productType": {
            "title": "Product type (optional)",
            "type": "array",
            "description": "Product type in the language of the Sellpy site, for example Jeans, Jeansshorts (se) or Spijkerbroek (nl). Several types are OR.",
            "items": {
              "type": "string"
            }
          },
          "size": {
            "title": "Size code (optional)",
            "type": "array",
            "description": "Sellpy's size code, for example PANTS-INCH-30 or WMN-EU-38 (the Size column shows them). Several sizes are OR.",
            "items": {
              "type": "string"
            }
          },
          "condition": {
            "title": "Condition (optional)",
            "type": "array",
            "description": "Condition in the language of the Sellpy site, for example Nytt, Mycket bra, Bra, Acceptabelt (se) or Nieuw, Zeer goed, Goed, Acceptabel (nl). Several are OR.",
            "items": {
              "type": "string"
            }
          },
          "minPrice": {
            "title": "Lowest price",
            "type": "integer",
            "description": "Optional. Keeps listings priced at or above this, in the site's currency."
          },
          "maxPrice": {
            "title": "Highest price",
            "type": "integer",
            "description": "Optional. Keeps listings priced at or below this, in the site's currency."
          },
          "listedWithinDays": {
            "title": "Listed or lowered in the last (days)",
            "type": "integer",
            "description": "Optional. Keeps listings that went on sale, or had their price lowered, within this many days."
          },
          "deltaMode": {
            "title": "Remember listings between runs",
            "type": "boolean",
            "description": "Turns the actor into a monitor. Each run compares every listing with what the previous run of the same watchlist saw, and fills in the change, previous price and alert columns. Schedule it daily and combine with the options below. Monitoring reads newest first.",
            "default": false
          },
          "deltaName": {
            "title": "Watchlist name (optional)",
            "type": "string",
            "description": "Leave empty and one is derived from the site and filter settings. Type your own name to keep one memory across changes, or to run several independent watchlists.",
            "default": ""
          },
          "alertOn": {
            "title": "Send an alert for",
            "enum": [
              "new-listing",
              "price-below",
              "price-drop",
              "both",
              "all"
            ],
            "type": "string",
            "description": "New listing: an item not seen on the previous run. Price below: an item at or under the limit below that was not already under it. Price drop: an item you saw before that is now cheaper by at least the percentage below. Both: new or below. All: new, below or drop.",
            "default": "new-listing"
          },
          "alertBelowPrice": {
            "title": "Price limit for alerts",
            "type": "integer",
            "description": "In the site's currency. Used by \"Price below my limit\". Leave empty and price-below alerts are off."
          },
          "minDropPercent": {
            "title": "Smallest price drop for alerts (%)",
            "type": "integer",
            "description": "Used by \"Price drop\": an item you saw before alerts when its price fell by at least this percentage since the previous run.",
            "default": 10
          },
          "alertOnChangeOnly": {
            "title": "Only return rows that changed",
            "type": "boolean",
            "description": "With monitoring on, a listing already seen at the same price writes no row and is not billed. New listings, price changes and alerts are returned.",
            "default": false
          },
          "skipFirstRun": {
            "title": "Seed silently (no rows on the first run)",
            "type": "boolean",
            "description": "The first run of a search has nothing to compare with, so every listing is new. Turn this on to remember them without returning or billing them, so alerts start from the second run.",
            "default": false
          },
          "notifyUrl": {
            "title": "Send alerts to (Discord or Slack webhook, Telegram bot link, or any URL)",
            "type": "string",
            "description": "Optional. After a listing is billed, each alert row is posted here as one message with title, price, brand, size and the Sellpy link. Discord or Slack: paste the channel's webhook URL. Telegram: https://api.telegram.org/bot<token>/sendMessage?chat_id=<chat id>. Any other URL receives JSON. Messages are free, and a failed message never fails the run (the row's notifyErrors says why). Stored encrypted, never logged or written to the results."
          },
          "notifyFormat": {
            "title": "Message format",
            "enum": [
              "auto",
              "discord",
              "slack",
              "telegram",
              "json"
            ],
            "type": "string",
            "description": "Leave on 'Detect from the link': discord.com links get Discord messages, hooks.slack.com Slack, api.telegram.org Telegram, anything else JSON. Pick one only to override that.",
            "default": "auto"
          },
          "maxNotificationsPerRun": {
            "title": "Most alert messages per run",
            "type": "integer",
            "description": "Alerts above this are still in the results; one \"more alerts\" message is sent instead. 0 sends only that message.",
            "default": 20
          },
          "testRun": {
            "title": "Try it first — only process the first 5",
            "type": "boolean",
            "description": "Turn this on to test your input on a small sample before running the full list. Turn it off to process everything.",
            "default": false
          },
          "onlyFound": {
            "title": "Hide rows with no result",
            "type": "boolean",
            "description": "Only keep rows where something was actually found. Misses are always free, whether or not you show them here.",
            "default": false
          },
          "includeKeywords": {
            "title": "Only keep listings containing",
            "type": "array",
            "description": "Optional, case-insensitive. Keeps only listings whose title, brand, size, colour or condition contains at least one of these words. Applied after the listings are read, so you can get fewer rows than the limit above.",
            "items": {
              "type": "string"
            }
          },
          "excludeKeywords": {
            "title": "Skip listings containing",
            "type": "array",
            "description": "Optional, case-insensitive. Drops any listing whose title, brand, size, colour or condition contains one of these words. Applied after the listings are read.",
            "items": {
              "type": "string"
            }
          },
          "maxResults": {
            "title": "Stop after this many results",
            "minimum": 1,
            "type": "integer",
            "description": "Optional. Stop the run once this many results have been found — useful for a quick, cheap sample. Leave blank for no limit."
          },
          "columns": {
            "title": "Which columns do you want?",
            "type": "array",
            "description": "Choose which pieces of information to include in each result row. All are included by default.",
            "items": {
              "type": "string",
              "enum": [
                "itemId",
                "url",
                "title",
                "brand",
                "type",
                "size",
                "condition",
                "colour",
                "price",
                "originalPrice",
                "currency",
                "onSale",
                "discountPercent",
                "listedAt",
                "imageUrl",
                "country",
                "checkedAt",
                "changeType",
                "previousPrice",
                "dropPercent",
                "alertType",
                "notifyErrors"
              ],
              "enumTitles": [
                "Item ID",
                "Listing link",
                "Title",
                "Brand",
                "Product type",
                "Size",
                "Condition",
                "Colour",
                "Price",
                "Original price",
                "Currency",
                "On sale",
                "Discount %",
                "Listed or lowered at",
                "Image",
                "Country",
                "Checked at",
                "Change",
                "Previous price",
                "Drop since last run %",
                "Alert",
                "Alert delivery errors"
              ]
            },
            "default": [
              "itemId",
              "url",
              "title",
              "brand",
              "type",
              "size",
              "condition",
              "colour",
              "price",
              "originalPrice",
              "currency",
              "onSale",
              "discountPercent",
              "listedAt",
              "imageUrl",
              "country",
              "checkedAt",
              "changeType",
              "previousPrice",
              "dropPercent",
              "alertType",
              "notifyErrors"
            ]
          },
          "expandRows": {
            "title": "One row per listing",
            "type": "boolean",
            "description": "Always on: every listing is its own row.",
            "default": true
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "maximum": 1,
            "type": "integer",
            "description": "Parallel requests. Keep conservative — this target has no browser fallback, so getting blocked costs more than slow-and-steady.",
            "default": 1
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Apify Proxy config. Residential recommended for anti-bot-sensitive targets.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}