{
  "openapi": "3.0.1",
  "info": {
    "title": "German Government Auctions — Zoll & Justiz",
    "description": "Live lots from Germany's two official public-sector auction portals: zoll-auktion.de (customs, municipalities) and justiz-auktion.de (courts, bailiffs). Current bid, bid count, end time, selling authority, pickup address, contact person and parsed vehicle specs.",
    "version": "0.1",
    "x-build-id": "tAJfyZHJXh4SgBqUU"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/us0r~government-auctions-de/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-us0r-government-auctions-de",
        "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/us0r~government-auctions-de/runs": {
      "post": {
        "operationId": "runs-sync-us0r-government-auctions-de",
        "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/us0r~government-auctions-de/run-sync": {
      "post": {
        "operationId": "run-sync-us0r-government-auctions-de",
        "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": {
          "quellen": {
            "title": "Portals",
            "type": "array",
            "description": "Which of the two official portals to cover. zoll-auktion.de is run by the German customs administration and carries the bulk (~2,250 lots) — customs seizures plus anything municipalities, fire brigades and state agencies retire. justiz-auktion.de is run by the justice administration (~300 lots) and carries pledged goods from bailiffs as well as found and confiscated property, from Germany and Austria.",
            "items": {
              "type": "string",
              "enum": [
                "zoll-auktion",
                "justiz-auktion"
              ],
              "enumTitles": [
                "zoll-auktion.de (customs, municipalities)",
                "justiz-auktion.de (courts, bailiffs)"
              ]
            },
            "default": [
              "justiz-auktion",
              "zoll-auktion"
            ]
          },
          "maxErgebnisse": {
            "title": "Maximum lots",
            "minimum": 0,
            "type": "integer",
            "description": "Stop after this many lots. 0 means everything the portals list (~2,550), which takes roughly three minutes. With a limit set, the Actor uses the portal search, which returns lots sorted by soonest end — so a small number gives you the auctions closing next.",
            "default": 20
          },
          "suchbegriff": {
            "title": "Search term",
            "type": "string",
            "description": "Full-text search, e.g. 'Mercedes', 'Bagger', 'iPhone'. Both portals filter server-side, so this is much cheaper than downloading everything and filtering afterwards."
          },
          "kategorien": {
            "title": "Categories (zoll-auktion.de only)",
            "type": "array",
            "description": "Restrict to these categories. Applies to zoll-auktion.de, the only one of the two with a category search. Leave empty for all.",
            "items": {
              "type": "string",
              "enum": [
                "Abzeichen, Orden & Medaillen",
                "Accessoires",
                "Agrar-, Forst- & Baufahrzeuge",
                "Anbauteile LKW & Nutzfahrzeuge",
                "Anbauteile PKW",
                "Anbauteile Wasserfahrzeuge & andere",
                "Anhänger mit Kugelkupplung",
                "Anhänger mit Zugmaul",
                "Blaulichtfahrzeuge",
                "Briefmarken",
                "Bücher",
                "Büro- & Schreibwaren",
                "Büromöbel",
                "Damenbekleidung",
                "Drucker, Kopierer, Scanner & Zubehör",
                "E-Bikes",
                "Edelsteine & Edelmetalle",
                "Einsatz- & Arbeitskleidung",
                "Fahrräder & Zubehör",
                "Festnetz & sonstige Kommunikation",
                "Filme & Musik",
                "Foto, Optik & Kameras",
                "Gebrauchtwagen",
                "Geräte mit Verbrennungsmotor",
                "Handys, Smartphones & Zubehör",
                "Haushaltsgeräte & Zubehör",
                "Haushaltswaren & Zubehör",
                "Hefte & Zeitschriften",
                "Herrenbekleidung",
                "Innenausstattung & Beleuchtung",
                "Jahreswagen (Kfz bis 24 Monate)",
                "Kinderbekleidung",
                "Kosmetik & Körperpflege",
                "Lebensmittel & Getränke",
                "Medizinische Produkte",
                "Mischposten & Sonstiges",
                "Modeschmuck",
                "Monitore",
                "Motorräder, Quads & Trikes",
                "Musikinstrumente",
                "Münzen & Banknoten",
                "Notebooks",
                "PCs",
                "Raritäten & Kunst",
                "Schuhe",
                "Spielekonsolen & Zubehör",
                "Spielwaren & Modellbau",
                "Sportbekleidung",
                "TV, Video & Audio",
                "Tabakwaren & Zubehör",
                "Tablets",
                "Uhren",
                "Unfall- & Bastlerfahrzeuge (PKW)",
                "Unisexmode",
                "Videospiele",
                "Wasserfahrzeuge",
                "Werkstatteinrichtung",
                "Werkzeug & Zubehör",
                "Wohn- & Gartenmöbel",
                "alkoholische Getränke",
                "elektrische & hydraulische Geräte",
                "hochwertiger Schmuck",
                "sonstige Hard- & Software",
                "sonstige Nutzfahrzeuge",
                "sonstige Sportgeräte & Freizeitartikel"
              ]
            },
            "default": []
          },
          "plzUmkreis": {
            "title": "Postcode for radius search",
            "type": "string",
            "description": "Centre of a radius search on zoll-auktion.de, e.g. '80331'. Everything sold there is collection-only, so distance is the deciding factor for most buyers."
          },
          "umkreisKm": {
            "title": "Radius",
            "enum": [
              "1",
              "2",
              "3",
              "4",
              "5",
              "6"
            ],
            "type": "string",
            "description": "How far around the postcode above. Ignored unless a postcode is set.",
            "default": "3"
          },
          "preisMin": {
            "title": "Minimum current bid (EUR)",
            "minimum": 0,
            "type": "integer",
            "description": "Skip lots below this bid."
          },
          "preisMax": {
            "title": "Maximum current bid (EUR)",
            "minimum": 0,
            "type": "integer",
            "description": "Skip lots above this bid."
          },
          "endetInnerhalbTagen": {
            "title": "Ends within days",
            "minimum": 0,
            "type": "integer",
            "description": "Keep only lots ending within this many days — the filter for 'what should I bid on this week'."
          },
          "nurMitGeboten": {
            "title": "Only lots that already have bids",
            "type": "boolean",
            "description": "Keep only contested lots. Roughly half of all lots sit at zero bids until the final hours.",
            "default": false
          },
          "bundeslaender": {
            "title": "Federal states",
            "type": "array",
            "description": "Keep only lots collected in these states. Leave empty for all. Austrian states appear on justiz-auktion.de as well.",
            "items": {
              "type": "string",
              "enum": [
                "Baden-Württemberg",
                "Bayern",
                "Berlin",
                "Brandenburg",
                "Bremen",
                "Hamburg",
                "Hessen",
                "Mecklenburg-Vorpommern",
                "Niedersachsen",
                "Nordrhein-Westfalen",
                "Rheinland-Pfalz",
                "Saarland",
                "Sachsen",
                "Sachsen-Anhalt",
                "Schleswig-Holstein",
                "Thüringen",
                "Burgenland",
                "Kärnten",
                "Niederösterreich",
                "Oberösterreich",
                "Salzburg",
                "Steiermark",
                "Tirol",
                "Vorarlberg",
                "Wien"
              ]
            },
            "default": []
          },
          "plzPraefix": {
            "title": "Postcode prefixes",
            "type": "array",
            "description": "Keep only lots whose postcode starts with one of these, e.g. ['80', '81'] for Munich. Works across both portals, unlike the radius search.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "nurGeaenderte": {
            "title": "Only lots changed since the last run",
            "type": "boolean",
            "description": "Monitor mode. Both portals stamp every lot with a last-modified time, and a bid changes it — so this returns exactly the lots where something happened, at one request per portal. Needs the same 'Status store' across runs.",
            "default": false
          },
          "statusSpeicher": {
            "title": "Status store",
            "type": "string",
            "description": "Named key-value store that remembers what was already seen. Only relevant with the monitor mode above. Use different names to keep several monitors apart.",
            "default": "auktionen-gesehen"
          },
          "parallel": {
            "title": "Parallel requests",
            "minimum": 1,
            "maximum": 8,
            "type": "integer",
            "description": "How many detail pages to fetch at once. These are government servers — leave this low unless you need a full sweep quickly.",
            "default": 4
          },
          "pauseSekunden": {
            "title": "Pause between requests",
            "minimum": 0,
            "maximum": 10,
            "type": "integer",
            "description": "Extra delay per request, in seconds. Normally not needed; neither portal sets a crawl delay.",
            "default": 0
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}