{
  "openapi": "3.0.1",
  "info": {
    "title": "Allegro Products Scraper (Poland) - No Login",
    "description": "Scrape Allegro offers by keyword, category, seller or link to track prices: price, delivery cost, seller, rating, photos. No login. Only-new mode to monitor.",
    "version": "0.2",
    "x-build-id": "3BpGKz3v9BosUfNbp"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/cliqtomedia~allegro-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-cliqtomedia-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/cliqtomedia~allegro-scraper/runs": {
      "post": {
        "operationId": "runs-sync-cliqtomedia-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/cliqtomedia~allegro-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-cliqtomedia-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": {
          "queries": {
            "title": "Keywords",
            "maxItems": 20,
            "type": "array",
            "description": "Words to search for, one per line, as you would type them on Allegro. Up to 20.",
            "items": {
              "type": "string"
            }
          },
          "searchUrls": {
            "title": "List links",
            "maxItems": 20,
            "type": "array",
            "description": "Links to an Allegro search result, category, seller or product offers page, for example https://allegro.pl/kategoria/sluchawki-122642. Filters already in the link are kept. Up to 20.",
            "items": {
              "type": "string"
            }
          },
          "productUrls": {
            "title": "Offer links",
            "maxItems": 100,
            "type": "array",
            "description": "Links to single offers, for example https://allegro.pl/oferta/12345678901, or just the offer number 12345678901. Each link opens the offer page, so the row has the full details. A product offers link (/oferty-produktu/) is read as a search of all offers of that product. Up to 100.",
            "items": {
              "type": "string"
            }
          },
          "maxItems": {
            "title": "Maximum offers",
            "minimum": 1,
            "maximum": 3000,
            "type": "integer",
            "description": "The run stops after saving this many offers in total, across all keywords and links. If you also set Max items in the run options, the smaller number wins.",
            "default": 100
          },
          "maxItemsPerQuery": {
            "title": "Maximum offers per keyword or link",
            "minimum": 1,
            "maximum": 3000,
            "type": "integer",
            "description": "Limit for each keyword or list link, so one of them does not use the whole run. Leave empty for no separate limit."
          },
          "market": {
            "title": "Allegro site for keywords",
            "enum": [
              "pl",
              "cz",
              "sk",
              "hu"
            ],
            "type": "string",
            "description": "Which Allegro site the keywords search on. List and offer links always use the site in the link. Delivery prices are available on allegro.pl only.",
            "default": "pl"
          },
          "minPrice": {
            "title": "Minimum price",
            "minimum": 0,
            "type": "number",
            "description": "Lowest offer price, in the currency of the site."
          },
          "maxPrice": {
            "title": "Maximum price",
            "minimum": 0,
            "type": "number",
            "description": "Highest offer price, in the currency of the site."
          },
          "condition": {
            "title": "Condition",
            "enum": [
              "any",
              "new",
              "used"
            ],
            "type": "string",
            "description": "New or used items only. Works on allegro.pl only; on the other sites results are not filtered by it.",
            "default": "any"
          },
          "freeDeliveryOnly": {
            "title": "Free delivery only",
            "type": "boolean",
            "description": "Keywords and list links only: keeps offers with free delivery.",
            "default": false
          },
          "superSellerOnly": {
            "title": "Super Seller only",
            "type": "boolean",
            "description": "Keywords and list links only: uses the Allegro Super Seller filter.",
            "default": false
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "relevance",
              "priceAsc",
              "priceDesc",
              "priceWithDeliveryAsc",
              "priceWithDeliveryDesc",
              "newest",
              "popularity"
            ],
            "type": "string",
            "description": "Order of the results. Relevance is the order Allegro shows by default.",
            "default": "relevance"
          },
          "includeDetails": {
            "title": "Open each offer page",
            "type": "boolean",
            "description": "Adds all photos, all parameters, EAN, SKU, availability and stock to each row from keywords and list links. Works with Maximum offers up to 100. Takes longer and is charged per offer page.",
            "default": false
          },
          "onlyNew": {
            "title": "Only new offers",
            "type": "boolean",
            "description": "Saves and charges only offers that earlier runs of the same search did not return. For scheduled runs. Applies to keywords and list links.",
            "default": false
          },
          "maxDetailAgeHours": {
            "title": "Reuse offer pages read in the last … hours",
            "minimum": 0,
            "maximum": 720,
            "type": "integer",
            "description": "With 0 every offer page is read again. With, say, 24, an offer page that one of your runs read in the last 24 hours is taken from that run: no new request, no offer-page charge (a row from memory costs the same as a search row), and the row says detailFromCache: true with the time it was read in detailFetchedAt.",
            "default": 0
          },
          "stateName": {
            "title": "Memory name for only new offers",
            "pattern": "^[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$",
            "type": "string",
            "description": "Name of the storage that remembers seen offers. Use a different name to start a separate memory. Lowercase letters, digits and hyphens.",
            "default": "allegro-seen"
          },
          "deliveryConnector": {
            "title": "Send results to (optional)",
            "type": "string",
            "description": "Your Slack, Notion or other MCP connector. After the run the Actor posts a short summary there. Connect services once in Apify Console → MCP connectors."
          },
          "deliveryTarget": {
            "title": "Notion page or channel (optional)",
            "type": "string",
            "description": "Where to post the summary: a Notion page link (each run is added on top of that page) or a Slack channel ID. Notion needs a page here; without it the summary is not sent and the run summary says why."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}