{
  "openapi": "3.0.1",
  "info": {
    "title": "Allegro Scraper | $1 per 1k Offers | Price Monitoring",
    "description": "Scrape Allegro.pl offers by phrase, EAN, category, seller or URL: price, price with delivery, condition, seller rating, Super Seller, Smart!, buyers count, photos. All sellers per product, new-offer and price-change monitoring, optional details. Never a silent empty run.",
    "version": "0.1",
    "x-build-id": "YXipyhlw927GbaBtA"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/solidrows~allegro-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-solidrows-allegro-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/solidrows~allegro-scraper/runs": {
      "post": {
        "operationId": "runs-sync-solidrows-allegro-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/solidrows~allegro-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-solidrows-allegro-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": {
          "searchQueries": {
            "title": "Search phrases",
            "type": "array",
            "description": "Phrases to search on Allegro.pl, exactly as you would type them in the Allegro search box, e.g. \"iphone 15\" or \"rower elektryczny\". Each phrase is searched separately. All filters below apply.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "eans": {
            "title": "EAN / GTIN codes",
            "type": "array",
            "description": "Barcodes (8-14 digits) to look up, one per line. Each code is searched on Allegro and the matching offers are saved with the code in the \"searchedEan\" field. Turn on \"All sellers' offers of each product\" to get every seller selling that barcode.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "category": {
            "title": "Category",
            "type": "string",
            "description": "Optional. Limits the search phrases to one Allegro category, or scrapes the whole category when no phrase is given. Paste the category URL or its last part, e.g. \"smartfony-i-telefony-komorkowe-165\" from https://allegro.pl/kategoria/smartfony-i-telefony-komorkowe-165.",
            "default": ""
          },
          "sellers": {
            "title": "Sellers",
            "type": "array",
            "description": "Seller logins (e.g. \"x-kom_pl\") or seller URLs (https://allegro.pl/uzytkownik/x-kom_pl). The scraper saves the seller's offers; filters and sorting below apply.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "Allegro listing URLs",
            "type": "array",
            "description": "Any Allegro.pl search, category, seller or product-offers URL with your own filters. Open allegro.pl, set the filters and copy the URL from the address bar. Filters below are added only where the URL does not set them already. A page number in the URL (p=5) is respected: scraping starts from that page. A product page URL (allegro.pl/produkt/…) gives the offers of all sellers of that product. Offer URLs (allegro.pl/oferta/…) are accepted here too and are charged as one offer plus one offer-details page.",
            "default": [],
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "offerUrls": {
            "title": "Offer URLs or offer numbers",
            "type": "array",
            "description": "Track specific offers: paste offer URLs (https://allegro.pl/oferta/…-18929681065) or just the offer numbers. Each offer page is opened, so every offer here is charged as one offer plus one offer-details page.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "maxItems": {
            "title": "Max offers in total",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum number of offers to save across all phrases, codes, sellers and URLs. A results page holds about 60-70 offers. Use 0 for no limit (Allegro shows at most 100 pages per search).",
            "default": 100
          },
          "maxItemsPerQuery": {
            "title": "Max offers per phrase / URL",
            "minimum": 0,
            "type": "integer",
            "description": "Optional cap for each search phrase, EAN, seller or listing URL separately. 0 means no separate cap (only the total limit applies).",
            "default": 0
          },
          "minPrice": {
            "title": "Min price (PLN)",
            "minimum": 0,
            "type": "integer",
            "description": "Only offers priced at or above this amount. Applied by Allegro itself (the \"Cena od\" filter). 0 = no minimum.",
            "default": 0
          },
          "maxPrice": {
            "title": "Max price (PLN)",
            "minimum": 0,
            "type": "integer",
            "description": "Only offers priced at or below this amount (the \"Cena do\" filter). 0 = no maximum.",
            "default": 0
          },
          "condition": {
            "title": "Condition",
            "enum": [
              "all",
              "new",
              "used",
              "like-new",
              "refurbished",
              "damaged"
            ],
            "type": "string",
            "description": "Item condition (Allegro's \"Stan\" filter): all, new, used, like-new, refurbished or damaged. Default: all.",
            "default": "all"
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "relevance",
              "price-asc",
              "price-desc",
              "price-with-delivery-asc",
              "price-with-delivery-desc",
              "popularity",
              "newest",
              "ending-soonest"
            ],
            "type": "string",
            "description": "Order of results. Use \"Newest\" together with monitoring to catch new offers first, or \"Price with delivery: lowest first\" to find the cheapest landed price.",
            "default": "relevance"
          },
          "offerType": {
            "title": "Offer type",
            "enum": [
              "all",
              "buy-now",
              "auction"
            ],
            "type": "string",
            "description": "Buy now offers, auctions (licytacje) or both.",
            "default": "all"
          },
          "smartOnly": {
            "title": "Allegro Smart! only",
            "type": "boolean",
            "description": "Only offers with free Allegro Smart! delivery.",
            "default": false
          },
          "superSellerOnly": {
            "title": "Super Seller only",
            "type": "boolean",
            "description": "Only offers from sellers with the Super Sprzedawca badge.",
            "default": false
          },
          "freeDeliveryOnly": {
            "title": "Free delivery only",
            "type": "boolean",
            "description": "Only offers with free delivery (darmowa dostawa).",
            "default": false
          },
          "freeReturnOnly": {
            "title": "Free return only",
            "type": "boolean",
            "description": "Only offers with free return (darmowy zwrot).",
            "default": false
          },
          "vatInvoiceOnly": {
            "title": "VAT invoice only",
            "type": "boolean",
            "description": "Only offers where the seller issues a VAT invoice (faktura VAT). Useful for B2B purchasing.",
            "default": false
          },
          "shipsFromPolandOnly": {
            "title": "Ships from Poland only",
            "type": "boolean",
            "description": "Only offers dispatched from Poland (hides offers shipped from other countries).",
            "default": false
          },
          "dealsOnly": {
            "title": "Deals only",
            "type": "boolean",
            "description": "Only offers in Allegro's deals zone (Strefa Okazji).",
            "default": false
          },
          "bestPriceGuaranteeOnly": {
            "title": "Best Price Guarantee only",
            "type": "boolean",
            "description": "Only offers in Allegro's \"Gwarancja najniższej ceny\" programme.",
            "default": false
          },
          "minProductRating": {
            "title": "Min product rating",
            "enum": [
              "any",
              "4.6",
              "4.8",
              "5.0"
            ],
            "type": "string",
            "description": "Allegro's \"Ocena produktu\" filter.",
            "default": "any"
          },
          "excludeSponsored": {
            "title": "Skip sponsored offers",
            "type": "boolean",
            "description": "Do not save offers marked \"Sponsorowane\" (paid ads). They are skipped before saving, so you do not pay for them.",
            "default": false
          },
          "includeDetails": {
            "title": "Include offer details",
            "type": "boolean",
            "description": "Open every offer page to add the full description, all parameters, brand, EAN/GTIN, stock quantity, how many people bought this exact offer, dispatch country, category path, the rating breakdown and up to 20 product reviews shown on the page. Slower: one extra page per offer, charged as the offer-details event ($4.00 per 1,000 on top of $1.00 per 1,000 offers). Off by default: the search page already gives price, seller, delivery and card parameters.",
            "default": false
          },
          "allSellerOffers": {
            "title": "All sellers' offers of each product",
            "type": "boolean",
            "description": "Allegro groups offers of the same catalogue product into one card. Turn this on to also open the product's \"all offers\" list and save every seller's offer (cheapest with delivery first): seller, price, delivery, stock. Ideal for price monitoring by EAN. Every offer saved counts as one offer. Your Min price, Max price and Condition are applied to these seller lists too.",
            "default": false
          },
          "maxOffersPerProduct": {
            "title": "Max seller offers per product",
            "minimum": 0,
            "type": "integer",
            "description": "Used with \"All sellers' offers of each product\": how many offers to take from each product's list, cheapest first. 0 means all.",
            "default": 30
          },
          "monitorMode": {
            "title": "Monitoring mode",
            "enum": [
              "off",
              "new",
              "new-and-price-changes"
            ],
            "type": "string",
            "description": "For scheduled runs. The scraper remembers the offers it already delivered (and their prices) in a named key-value store in your account and saves only what changed, so you pay only for new rows. The first run saves everything.",
            "default": "off"
          },
          "monitorName": {
            "title": "Monitoring name",
            "type": "string",
            "description": "Optional name of the memory used by the monitoring mode, e.g. \"iphone-watch\". Runs with the same name share one memory. Leave empty to keep a separate memory for each distinct set of phrases, URLs and filters.",
            "default": ""
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}