{
  "openapi": "3.0.1",
  "info": {
    "title": "Allegro Scraper | Products, Prices and Sellers",
    "description": "Allegro scraper for products, prices and sellers: 100 offers in 7 seconds, 56 fields each. Brand, price with delivery, EAN, stock, buyers, rating, delivery date, return terms and the seller company, tax ID, REGON and KRS. Search by keyword, URL or offer ID on allegro.pl, .cz, .sk, .hu. No account.",
    "version": "1.0",
    "x-build-id": "77Rprr50t02g1dBxs"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/silentflow~allegro-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-silentflow-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/silentflow~allegro-scraper/runs": {
      "post": {
        "operationId": "runs-sync-silentflow-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/silentflow~allegro-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-silentflow-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 keywords",
            "type": "array",
            "description": "What to search on Allegro, one keyword per line, in the marketplace's language or in English (<code>lego technic</code>, <code>kawa ziarnista</code>, <code>iphone 15</code>). Each keyword runs its own search and the results are combined without duplicates. Searches list new offers; to read a used offer, paste its address or number. A narrow keyword returns a few hundred offers, a broad one far more: set <b>Max results</b> to what you need.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "🔗 Allegro URLs",
            "type": "array",
            "description": "Paste Allegro addresses instead of, or with, keywords: a search (<code>https://allegro.pl/listing?string=rower&price_to=2000</code>), a category (<code>https://allegro.pl/kategoria/laptopy-491</code>), an offer (<code>https://allegro.pl/oferta/…-18583540376</code>) or a product page opened on an offer (<code>/produkt/…?offerId=…</code>). Addresses from allegro.cz, allegro.sk and allegro.hu are read on their own marketplace. The price band written in a search address wins over the one below. Offer addresses work for new and used offers alike; seller storefronts and searches for used offers are skipped and named in the log.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "offerIds": {
            "title": "🆔 Offer IDs",
            "type": "array",
            "description": "Paste offer numbers instead of full addresses, one per line (<code>18583540376</code>), to follow the same offers over time. New and used offers alike, read on the country picked below. An offer that has ended is skipped and named in the log.",
            "items": {
              "type": "string"
            }
          },
          "country": {
            "title": "🌍 Country",
            "type": "string",
            "description": "Pick the marketplace, or type its code or name (<code>cz</code>, <code>czechia</code>, <code>allegro.cz</code>). Titles, parameters and delivery terms come in that marketplace's language, prices in its currency: PLN on allegro.pl, CZK on allegro.cz, EUR on allegro.sk, HUF on allegro.hu.",
            "default": "pl"
          },
          "maxItems": {
            "title": "🔢 Max results",
            "minimum": 1,
            "type": "integer",
            "description": "Stop after this many rows across all keywords, addresses and offer numbers: offers, or sellers when you collect one row per seller. The run cost scales with this number. 100 offers took 11 seconds in our test.",
            "default": 100
          },
          "maxItemsPerQuery": {
            "title": "🔢 Max results per keyword or URL",
            "minimum": 1,
            "type": "integer",
            "description": "Stop each keyword or search address after this many rows, so that every keyword gets its share of <b>Max results</b>. Leave empty to let the first keywords fill the run."
          },
          "sortBy": {
            "title": "🔃 Sort by",
            "enum": [
              "relevance",
              "price-asc",
              "price-desc",
              "newest"
            ],
            "type": "string",
            "description": "Keep Allegro's order, or get the cheapest, the most expensive or the most recently listed offers first. A sorted search looks at up to the first 1,000 offers of each keyword or address before keeping the best ones.",
            "default": "relevance"
          },
          "minPrice": {
            "title": "💰 Min price",
            "minimum": 0,
            "type": "integer",
            "description": "Only offers priced at or above this amount, in the marketplace's currency (PLN on allegro.pl). Leave empty for no minimum."
          },
          "maxPrice": {
            "title": "💰 Max price",
            "minimum": 0,
            "type": "integer",
            "description": "Only offers priced at or below this amount, in the marketplace's currency. Leave empty for no maximum."
          },
          "deliveryOptions": {
            "title": "🚚 Delivery",
            "type": "array",
            "description": "Keep only offers delivered by tomorrow or within 2 days, with free delivery, with free returns, or covered by Allegro Smart!, on allegro.pl. Every option you pick must hold; with both delivery speeds picked, the faster one applies.",
            "items": {
              "type": "string",
              "enum": [
                "tomorrow",
                "twoDays",
                "freeDelivery",
                "freeReturn",
                "smart"
              ],
              "enumTitles": [
                "Delivered by tomorrow",
                "Delivered within 2 days",
                "Free delivery",
                "Free returns",
                "Allegro Smart!"
              ]
            }
          },
          "shipsFrom": {
            "title": "📦 Ships from",
            "type": "array",
            "description": "Keep only allegro.pl offers shipped from these places, for example <b>China</b> to map cross-border sellers or <b>Allegro warehouse</b> for offers Allegro ships itself. Several places add up.",
            "items": {
              "type": "string",
              "enum": [
                "pl",
                "cz",
                "sk",
                "hu",
                "eu",
                "us",
                "cn",
                "warehouse"
              ],
              "enumTitles": [
                "Poland",
                "Czechia",
                "Slovakia",
                "Hungary",
                "Other EU countries",
                "USA",
                "China",
                "Allegro warehouse"
              ]
            }
          },
          "dataType": {
            "title": "📄 What to collect",
            "enum": [
              "offers",
              "sellers"
            ],
            "type": "string",
            "description": "<b>Offers</b> gives one row per offer. <b>Sellers</b> gives one row per seller found by your keywords, addresses or offer numbers, each seller once, with its company name, tax ID, REGON, KRS, address, opening hours, ratings and the offer it was found on. <b>Max results</b> then counts sellers.",
            "default": "offers"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}