{
  "openapi": "3.0.1",
  "info": {
    "title": "Allegro.hu Scraper: Category Sizes, Reviews & Offer Checks",
    "description": "Get Allegro.hu market data no one else offers: how many offers every category holds, filter breakdowns by condition, price and ships-from, complete product reviews, and a live check for the offers you track. Unofficial, not affiliated with Allegro.",
    "version": "0.1",
    "x-build-id": "tD06TochmSWLz6m9U"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/extractify-labs~allegro-hu-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-extractify-labs-allegro-hu-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/extractify-labs~allegro-hu-scraper/runs": {
      "post": {
        "operationId": "runs-sync-extractify-labs-allegro-hu-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/extractify-labs~allegro-hu-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-extractify-labs-allegro-hu-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": {
          "mode": {
            "title": "What to collect",
            "enum": [
              "market",
              "reviews",
              "offers"
            ],
            "type": "string",
            "description": "Market data counts offers per category or query. Reviews returns every review of a product. Offers checks whether the offers you give are still listed.",
            "default": "market"
          },
          "categoryUrls": {
            "title": "Category links or IDs",
            "type": "array",
            "description": "Allegro.hu category pages (…/kategoria/name-12345) or just the number at the end. Used by Market data. The example category (Laptops) is only used when you give no keywords, sellers or categories of your own.",
            "default": [
              "491"
            ],
            "items": {
              "type": "string"
            }
          },
          "searchQueries": {
            "title": "Keywords",
            "type": "array",
            "description": "Words to count offers for, as a buyer would type them. Used by Market data.",
            "items": {
              "type": "string"
            }
          },
          "sellerLogins": {
            "title": "Seller names",
            "type": "array",
            "description": "Seller logins as shown on Allegro.hu, to count and break down a seller's offers. Used by Market data.",
            "items": {
              "type": "string"
            }
          },
          "productUrls": {
            "title": "Product links",
            "type": "array",
            "description": "Allegro.hu product pages (…/termek/…). Used by Reviews, and by Offers for the competing-offer count.",
            "items": {
              "type": "string"
            }
          },
          "offerUrls": {
            "title": "Offer links or IDs",
            "type": "array",
            "description": "Allegro.hu offer pages (…/ajanlat/…-12345678901) or the offer number. Used by Offers.",
            "items": {
              "type": "string"
            }
          },
          "minPrice": {
            "title": "Price from (HUF)",
            "minimum": 0,
            "type": "integer",
            "description": "Only count offers in this price range, in Hungarian forint."
          },
          "maxPrice": {
            "title": "Price to (HUF)",
            "minimum": 0,
            "type": "integer",
            "description": "Only count offers in this price range, in Hungarian forint."
          },
          "condition": {
            "title": "Condition",
            "enum": [
              "any",
              "új",
              "használt",
              "eladó által felújított",
              "gyártó által felújított",
              "felújított",
              "nem szükséges felújítani",
              "visszaküldött termék",
              "korábban kiállított darab",
              "kiszerelt (kiállított)",
              "átcsomagolt",
              "új, címke nélkül",
              "hibás, új",
              "sérült",
              "újrafutózott",
              "gyűjtői termék",
              "digitális termék"
            ],
            "type": "string",
            "description": "Only count offers in this condition (new, used, refurbished and every other condition Allegro.hu lists).",
            "default": "any"
          },
          "shipsFrom": {
            "title": "Ships from",
            "enum": [
              "any",
              "magyarorszag",
              "lengyelorszag",
              "csehorszag",
              "szlovakia",
              "mas-eu-orszagok",
              "allegro-raktar"
            ],
            "type": "string",
            "description": "Only count offers shipped from Hungary, Poland, Czechia, Slovakia or other EU countries, or from the Allegro warehouse (same as Allegro warehouse only).",
            "default": "any"
          },
          "allegroWarehouseOnly": {
            "title": "Allegro warehouse only",
            "type": "boolean",
            "description": "Only count offers fulfilled from Allegro's own warehouse.",
            "default": false
          },
          "facetFilters": {
            "title": "More filters",
            "type": "object",
            "description": "Any other Allegro.hu filter, as its name and value from the category page (for example {\"ram\": \"16 GB\"}). For power users."
          },
          "descendSubcategories": {
            "title": "Walk subcategories",
            "type": "boolean",
            "description": "Also count every subcategory under the ones you give, level by level.",
            "default": false
          },
          "splitByPrice": {
            "title": "Split large categories by price",
            "type": "boolean",
            "description": "Divides categories over 6,000 offers into price bands so no count is capped. More requests, complete numbers.",
            "default": false
          },
          "includeParameterDefinitions": {
            "title": "Include filter definitions",
            "type": "boolean",
            "description": "Adds the full list of filter names and values per category (large, about 0.5 MB each).",
            "default": false
          },
          "maxNodes": {
            "title": "Max categories or queries",
            "minimum": 1,
            "type": "integer",
            "description": "Stop after this many market-data rows. The default of 3 keeps a first run quick; raise it when walking subcategories or splitting by price.",
            "default": 3
          },
          "maxReviewsPerProduct": {
            "title": "Max reviews per product",
            "minimum": 1,
            "type": "integer",
            "description": "Stop after this many reviews for each product. Leave empty for all."
          },
          "minRating": {
            "title": "Minimum star rating",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "Only reviews with at least this many stars."
          },
          "withPhotosOnly": {
            "title": "Only reviews with photos",
            "type": "boolean",
            "description": "Only reviews that include buyer photos.",
            "default": false
          },
          "maxItems": {
            "title": "Max results",
            "minimum": 1,
            "type": "integer",
            "description": "The run stops after this many rows in total. The default of 20 keeps a first run quick; raise it for full reviews, full subcategory walks or price splitting.",
            "default": 20
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Not needed for any mode. Leave it off unless you have a reason to route through Apify Proxy.",
            "default": {
              "useApifyProxy": 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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}