{
  "openapi": "3.0.1",
  "info": {
    "title": "🚀 Kleinanzeigen Scraper · 5,000 Free Listings/Month",
    "description": "Kleinanzeigen Scraper gets you Kleinanzeigen data ⚡ fast, 🎯 100% accurate and 🔍 ridiculously detailed — listings, prices, photos, sellers & locations from any search or category. 💰 $1 per 1,000 listings, no start fee. Scrape your first 5,000 listings free every month 🚀",
    "version": "0.0",
    "x-build-id": "kxd7gsQGX0Tmj9JPg"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/omkar-cloud~kleinanzeigen-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-omkar-cloud-kleinanzeigen-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~kleinanzeigen-scraper/runs": {
      "post": {
        "operationId": "runs-sync-omkar-cloud-kleinanzeigen-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~kleinanzeigen-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-omkar-cloud-kleinanzeigen-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": "Keywords to search on Kleinanzeigen — each is searched separately. Rows carry a `query` field so you can tell keywords apart.",
            "items": {
              "type": "string"
            }
          },
          "locations": {
            "title": "Locations",
            "type": "array",
            "description": "Cities, districts or 5-digit postal codes — each is searched separately. Rows carry a `search_location` field. Leave empty to search all of Germany.",
            "items": {
              "type": "string"
            }
          },
          "radius": {
            "title": "Radius",
            "minimum": 0,
            "maximum": 500,
            "type": "integer",
            "description": "Search radius around each location, in km."
          },
          "category": {
            "title": "Category",
            "type": "string",
            "description": "Limit the search to one category: a category ID (216), a category name (Autos, Fahrräder & Zubehör) or a kleinanzeigen.de category URL. With no keyword, the whole category is scraped."
          },
          "searchUrls": {
            "title": "Search URLs",
            "type": "array",
            "description": "kleinanzeigen.de search result URLs — set up the search on the site, copy the address. Keyword, category, location, radius, price range and filters are read from the URL. Rows carry the URL in `query`.",
            "items": {
              "type": "string"
            }
          },
          "listingUrls": {
            "title": "Listing URLs",
            "type": "array",
            "description": "kleinanzeigen.de listing URLs (or listing IDs) to scrape directly, one row each, always with full details (billed at the detailed rate). Rows carry an `input_url` field.",
            "items": {
              "type": "string"
            }
          },
          "minPrice": {
            "title": "Min Price",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum price in EUR."
          },
          "maxPrice": {
            "title": "Max Price",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum price in EUR."
          },
          "freeOnly": {
            "title": "Free Items Only",
            "type": "boolean",
            "description": "Only listings given away for free (Zu verschenken).",
            "default": false
          },
          "sortBy": {
            "title": "Sort By",
            "enum": [
              "",
              "price_asc",
              "price_desc",
              "distance"
            ],
            "type": "string",
            "description": "Order of the results. Nearest first needs a location.",
            "default": ""
          },
          "sellerType": {
            "title": "Seller Type",
            "enum": [
              "",
              "private",
              "commercial"
            ],
            "type": "string",
            "description": "Only private sellers or only commercial sellers (dealers, agents, shops).",
            "default": ""
          },
          "adType": {
            "title": "Offer Type",
            "enum": [
              "",
              "offer",
              "wanted"
            ],
            "type": "string",
            "description": "Offers (someone sells) or wanted ads (someone is looking).",
            "default": ""
          },
          "hasShipping": {
            "title": "Shipping Available",
            "type": "boolean",
            "description": "Only listings that offer shipping.",
            "default": false
          },
          "hasPhotos": {
            "title": "With Photos Only",
            "type": "boolean",
            "description": "Only listings with at least one photo.",
            "default": false
          },
          "buyNowOnly": {
            "title": "Buy Now Only",
            "type": "boolean",
            "description": "Only listings with the Buy Now (Direkt kaufen) option.",
            "default": false
          },
          "filters": {
            "title": "Category Filters",
            "type": "string",
            "description": "Filters of the chosen category as comma-separated key:value pairs; a range is min-max with either side optional. Example for cars: autos.marke:bmw,autos.ez:2015-2020,autos.navi:true"
          },
          "includeDetails": {
            "title": "Scrape Full Details",
            "type": "boolean",
            "description": "Also open every listing for its full record: seller name, phone number (when shown), member-since date, satisfaction / friendliness / reliability badges, view count, legal notice and last-edit time. Billed at the detailed rate.",
            "default": false
          },
          "maxResultsPerSearch": {
            "title": "Max Results per Search",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Maximum listings to scrape for each search. Kleinanzeigen serves the first 10,000 results of a search. This is your cost cap: 1,000 results cost what 1,000 listings cost.",
            "default": 100
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}