{
  "openapi": "3.0.1",
  "info": {
    "title": "Zoll-Auktion Offer & Deal Finder",
    "description": "Fetch category-based Zoll-Auktion offers, visit every detail page, and rank transparent deal-potential signals.",
    "version": "1.0",
    "x-build-id": "26Cj8iRdSMsdgoszq"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/webdesigndetail~zoll-auction-deal-finder/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-webdesigndetail-zoll-auction-deal-finder",
        "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/webdesigndetail~zoll-auction-deal-finder/runs": {
      "post": {
        "operationId": "runs-sync-webdesigndetail-zoll-auction-deal-finder",
        "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/webdesigndetail~zoll-auction-deal-finder/run-sync": {
      "post": {
        "operationId": "run-sync-webdesigndetail-zoll-auction-deal-finder",
        "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",
        "required": [
          "categoryIds",
          "maxOffers",
          "proxyConfiguration"
        ],
        "properties": {
          "categoryIds": {
            "title": "Categories",
            "type": "array",
            "description": "One or more top-level Zoll-Auktion categories.",
            "items": {
              "type": "string",
              "enum": [
                "193",
                "1148",
                "1130",
                "191",
                "198",
                "197",
                "259",
                "195",
                "1158",
                "200",
                "231",
                "1143",
                "199",
                "1150",
                "243",
                "196"
              ],
              "enumTitles": [
                "Bekleidung",
                "Bücher & Zeitschriften",
                "Elektronik",
                "Fahrzeuge",
                "Freizeit & Sport",
                "Haushalt, Garten & Büro",
                "Kosmetik & Körperpflege",
                "Lebensmittel & Getränke",
                "Medizinische Produkte",
                "Mischposten & Sonstiges",
                "Musikinstrumente",
                "Schmuck, Kunst & Kostbarkeiten",
                "Spielwaren & Modellbau",
                "Tabakwaren & Alkohol",
                "Uhren",
                "Werkzeuge & Maschinen"
              ]
            },
            "default": [
              "197"
            ]
          },
          "categoryUrls": {
            "title": "Additional category URLs",
            "type": "array",
            "description": "Optional exact Zoll-Auktion category or subcategory URLs.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "postalCode": {
            "title": "Postcode",
            "pattern": "^[0-9]{5}$",
            "minLength": 5,
            "maxLength": 5,
            "type": "string",
            "description": "Optional five-digit German postcode used with the radius filter for every selected category."
          },
          "radiusKm": {
            "title": "Surrounding radius",
            "minimum": 20,
            "maximum": 500,
            "type": "integer",
            "description": "Radius around postalCode. Use 20, 50, 100, 250, or 500 km. Ignored when postalCode is empty.",
            "default": 100
          },
          "maxOffers": {
            "title": "Maximum offers",
            "minimum": 1,
            "maximum": 2000,
            "type": "integer",
            "description": "Maximum number of unique detail pages processed across all categories.",
            "default": 100
          },
          "maxPagesPerCategory": {
            "title": "Maximum pages per category",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Safety limit for exact server-provided pagination.",
            "default": 10
          },
          "keywords": {
            "title": "Include keywords",
            "type": "array",
            "description": "Optional title or description terms. An offer matching any term passes this criterion.",
            "items": {
              "type": "string",
              "maxLength": 100
            },
            "default": []
          },
          "excludeKeywords": {
            "title": "Exclude keywords",
            "type": "array",
            "description": "Reject offers whose title or description contains any listed term.",
            "items": {
              "type": "string",
              "maxLength": 100
            },
            "default": []
          },
          "maxCurrentBidEur": {
            "title": "Maximum next bid",
            "minimum": 0.01,
            "maximum": 100000000,
            "type": "number",
            "description": "Optional EUR budget cap. Uses the minimum next bid where available."
          },
          "maxBidCount": {
            "title": "Maximum bid count",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Deal filter for low-competition offers.",
            "default": 3
          },
          "endingWithinHours": {
            "title": "Ending within",
            "minimum": 0.1,
            "maximum": 8760,
            "type": "number",
            "description": "Deal filter for auctions ending within this many hours.",
            "default": 72
          },
          "deliveryMethod": {
            "title": "Delivery method",
            "enum": [
              "any",
              "shipping",
              "pickup"
            ],
            "type": "string",
            "description": "Optionally require shipping or pickup availability.",
            "default": "any"
          },
          "outputMode": {
            "title": "Output mode",
            "enum": [
              "all",
              "dealsOnly"
            ],
            "type": "string",
            "description": "Store all offers or only offers meeting every configured deal criterion and minimum score.",
            "default": "all"
          },
          "minDealScore": {
            "title": "Minimum deal score",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Minimum transparent opportunity score used by deals-only output.",
            "default": 50
          },
          "includeDescription": {
            "title": "Include description",
            "type": "boolean",
            "description": "Include the normalized offer description in each dataset item.",
            "default": true
          },
          "includeImages": {
            "title": "Include image URLs",
            "type": "boolean",
            "description": "Include original image URLs without downloading image files.",
            "default": true
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Apify Proxy is mandatory for all site requests.",
            "default": {
              "useApifyProxy": true
            }
          },
          "maxConcurrency": {
            "title": "Maximum concurrency",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Maximum parallel requests. Keep this low for the public service.",
            "default": 3
          },
          "maxRequestsPerMinute": {
            "title": "Maximum requests per minute",
            "minimum": 5,
            "maximum": 120,
            "type": "integer",
            "description": "Total crawl throughput limit across category and detail requests.",
            "default": 30
          },
          "maxRequestRetries": {
            "title": "Maximum request retries",
            "minimum": 0,
            "maximum": 8,
            "type": "integer",
            "description": "Retries for transient network, blocking, and server failures.",
            "default": 3
          },
          "requestTimeoutSecs": {
            "title": "Request timeout",
            "minimum": 10,
            "maximum": 180,
            "type": "integer",
            "description": "Maximum time allowed for one HTTP navigation.",
            "default": 60
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}