{
  "openapi": "3.0.1",
  "info": {
    "title": "🚀 Allegro Scraper · 2,500 Free Offers/Month",
    "description": "Allegro Scraper gets you Allegro offers ⚡ fast, 🎯 100% accurate and 🔍 ridiculously detailed — prices, stock, sellers, delivery & EAN from searches, categories and stores. 💰 $2 per 1,000 offers, no start fee. Scrape your first 2,500 offers free every month 🚀",
    "version": "0.0",
    "x-build-id": "9zMTMM3SIl4wqzkNA"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/omkar-cloud~allegro-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-omkar-cloud-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/omkar-cloud~allegro-scraper/runs": {
      "post": {
        "operationId": "runs-sync-omkar-cloud-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/omkar-cloud~allegro-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-omkar-cloud-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 queries",
            "type": "array",
            "description": "Keywords to search Allegro for, one per line. An EAN / GTIN barcode works too.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "🔗 Allegro links",
            "type": "array",
            "description": "Allegro links, one per line: a search (allegro.pl/listing?string=…), a category, a seller storefront (allegro.pl/uzytkownik/…), a product (every seller's offer for it) or an offer (full details). Search links work on allegro.pl, .cz and .sk; the other link kinds on allegro.pl.",
            "items": {
              "type": "string"
            }
          },
          "country": {
            "title": "🌍 Marketplace",
            "enum": [
              "pl",
              "cz",
              "sk"
            ],
            "type": "string",
            "description": "Which Allegro site your search queries run on.",
            "default": "pl"
          },
          "category": {
            "title": "📂 Search inside a category",
            "type": "string",
            "description": "Optional: a category ID, department alias (elektronika) or category link — your search queries then run inside it."
          },
          "sort": {
            "title": "↕️ Sort by",
            "enum": [
              "relevance",
              "price_asc",
              "price_desc",
              "price_with_delivery_asc",
              "price_with_delivery_desc",
              "popularity",
              "ending_soonest",
              "newest",
              "product_rating"
            ],
            "type": "string",
            "description": "Order of the results.",
            "default": "relevance"
          },
          "minPrice": {
            "title": "💲 Min price",
            "minimum": 0,
            "type": "number",
            "description": "Lowest price to include, in the marketplace currency (PLN, CZK or EUR)."
          },
          "maxPrice": {
            "title": "💲 Max price",
            "minimum": 0,
            "type": "number",
            "description": "Highest price to include, in the marketplace currency."
          },
          "condition": {
            "title": "🏷️ Condition",
            "enum": [
              "new",
              "used",
              "damaged",
              "refurbished"
            ],
            "type": "string",
            "description": "Only offers in this condition."
          },
          "buyNow": {
            "title": "⚡ Buy now only",
            "type": "boolean",
            "description": "Skip auctions.",
            "default": false
          },
          "smart": {
            "title": "🚚 Allegro Smart! only",
            "type": "boolean",
            "description": "Only offers with free Smart! delivery and returns.",
            "default": false
          },
          "superSeller": {
            "title": "🏅 Super Sellers only",
            "type": "boolean",
            "description": "Only offers from Allegro Super Sellers.",
            "default": false
          },
          "maxResultsPerInput": {
            "title": "📄 Max offers per query or link",
            "minimum": 1,
            "maximum": 6000,
            "type": "integer",
            "description": "Stop after this many offers for each query or link (60 per page, Allegro shows up to 100 pages).",
            "default": 100
          },
          "maxResults": {
            "title": "🧮 Max offers in total",
            "minimum": 1,
            "type": "integer",
            "description": "Optional cap on offers for the whole run — caps your cost."
          },
          "fullDetails": {
            "title": "📦 Full details",
            "type": "boolean",
            "description": "Open every offer page and add stock, EAN, full parameters, description, the seller's company (name, NIP, KRS, address), every delivery method, returns and warranty. Billed as the Full offer details add-on. Offer links always get full details.",
            "default": false
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}