Kleinanzeigen Scraper
Pricing
from $1.20 / 1,000 ads
You can access the Kleinanzeigen Scraper programmatically from your own applications by using the Apify API. You can also choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in API & Integrations in Apify Console.
{ "openapi": "3.0.1", "info": { "version": "0.0", "x-build-id": "nmE41y1UTsOwQ4D5h" }, "servers": [ { "url": "https://api.apify.com/v2" } ], "paths": { "/acts/barking_kelp~kleinanzeigen-scraper/run-sync-get-dataset-items": { "post": { "operationId": "run-sync-get-dataset-items-barking_kelp-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/barking_kelp~kleinanzeigen-scraper/runs": { "post": { "operationId": "runs-sync-barking_kelp-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/barking_kelp~kleinanzeigen-scraper/run-sync": { "post": { "operationId": "run-sync-barking_kelp-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, e.g. 'iphone 13'. Each keyword is a separate search. The filters below apply to these keywords.", "items": { "type": "string" } }, "startUrls": { "title": "Start URLs", "type": "array", "description": "Any Kleinanzeigen search, ad or seller URL copied from the browser (search results, /s-anzeige/..., /s-bestandsliste.html?userId=..., /pro/...). Filters in a search URL are preserved.", "items": { "type": "object", "required": [ "url" ], "properties": { "url": { "type": "string", "title": "URL of a web page", "format": "uri" } } } }, "adIds": { "title": "Ad IDs", "type": "array", "description": "Ad IDs (the 'Anzeigen-ID' on the ad page). Each ad page is opened.", "items": { "type": "string" } }, "sellerIds": { "title": "Seller user IDs", "type": "array", "description": "User IDs from /s-bestandsliste.html?userId=... Outputs the seller profile plus all their ads.", "items": { "type": "string" } }, "category": { "title": "Category ID or name", "type": "string", "description": "e.g. 173, 'Smartphones', 'Handy & Telekom' or 'Autos'. Resolved via the site's category tree." }, "location": { "title": "Location", "type": "string", "description": "City or PLZ, e.g. 'Berlin' or '10115'. Resolved via the site's location suggestions." }, "radiusKm": { "title": "Radius (km)", "minimum": 0, "maximum": 200, "type": "integer", "description": "Only with a location. The site supports 0, 5, 10, 20, 30, 50, 100, 150 or 200 km; other values are rounded to the nearest one.", "default": 0 }, "minPrice": { "title": "Min price (€)", "minimum": 0, "type": "integer", "description": "Minimum price in euros." }, "maxPrice": { "title": "Max price (€)", "minimum": 0, "type": "integer", "description": "Maximum price in euros." }, "sellerType": { "title": "Seller type", "enum": [ "all", "private", "commercial" ], "type": "string", "description": "Private or commercial sellers.", "default": "all" }, "adType": { "title": "Ad type", "enum": [ "offered", "wanted", "all" ], "type": "string", "description": "Offers, wanted ads or both.", "default": "offered" }, "shippingOnly": { "title": "Only with shipping", "type": "boolean", "description": "Only ads with 'Versand möglich'.", "default": false }, "directBuyOnly": { "title": "Only 'Direkt kaufen'", "type": "boolean", "description": "Only ads that can be bought directly.", "default": false }, "sort": { "title": "Sort", "enum": [ "newest", "price_asc", "price_desc", "relevance" ], "type": "string", "description": "Result order. Monitoring mode always uses 'Newest'.", "default": "newest" }, "postedWithinDays": { "title": "Posted within last N days", "minimum": 0, "type": "integer", "description": "0 = no limit. With sort=newest the crawl stops paginating once older ads appear.", "default": 0 }, "excludeTopAds": { "title": "Exclude promoted (TOP) ads", "type": "boolean", "description": "TOP ads are promoted ads shown on every result page.", "default": false }, "maxItems": { "title": "Max results (total)", "minimum": 1, "type": "integer", "description": "Maximum number of ads in the dataset for the whole run.", "default": 100 }, "maxItemsPerQuery": { "title": "Max results per search", "minimum": 1, "type": "integer", "description": "Maximum number of ads per keyword, search URL or seller." }, "bypassResultLimit": { "title": "Bypass 1,250 result limit", "type": "boolean", "description": "Kleinanzeigen shows max 1,250 results per search. When on, the search is split into price ranges automatically (only when you ask for more than 1,250 results).", "default": true }, "includeDetails": { "title": "Scrape ad details", "type": "boolean", "description": "Open each ad: full description, all attributes, all images, seller info. Charged as an extra event.", "default": false }, "includeSellerRating": { "title": "Include seller rating & badges", "type": "boolean", "description": "Seller rating (stars, reviews) and badges. Needs the ad page, so ad details are scraped too. Charged once per unique seller.", "default": false }, "includeViewCount": { "title": "Include view count", "type": "boolean", "description": "Note: fetching the counter increments it by 1.", "default": false }, "maxImages": { "title": "Max image URLs per ad", "minimum": 0, "type": "integer", "description": "Full-size image URLs per ad (0 = none).", "default": 20 }, "monitoringMode": { "title": "Monitoring mode (only new ads)", "type": "boolean", "description": "Remembers seen ad IDs between runs (named key-value store) and outputs only new ones. Use with Schedules. The first run saves the current state as the baseline.", "default": false }, "monitoringStoreName": { "title": "Monitoring store name", "type": "string", "description": "Separate state per watch (lowercase letters, digits, dashes). Default is derived from the search input." }, "trackPriceChanges": { "title": "Also output price changes (monitoring)", "type": "boolean", "description": "Also output known ads whose price changed; the 'change' field tells new ads from price changes.", "default": false }, "proxyConfiguration": { "title": "Proxy", "type": "object", "description": "Residential proxies from Germany work best (the site is protected by Akamai).", "default": { "useApifyProxy": true, "apifyProxyGroups": [ "RESIDENTIAL" ], "apifyProxyCountry": "DE" } }, "maxConcurrency": { "title": "Max concurrency", "minimum": 1, "maximum": 50, "type": "integer", "description": "Parallel requests (also the number of sticky proxy sessions).", "default": 10 }, "maxRetries": { "title": "Max retries", "minimum": 0, "type": "integer", "description": "Retries per request on blocks or network errors (each on a fresh proxy session).", "default": 5 } } }, "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 } } } } } } } } }}OpenAPI is a standard for designing and describing RESTful APIs, allowing developers to define API structure, endpoints, and data formats in a machine-readable way. It simplifies API development, integration, and documentation.
OpenAPI is effective when used with AI agents and GPTs by standardizing how these systems interact with various APIs, for reliable integrations and efficient communication.
By defining machine-readable API specifications, OpenAPI allows AI models like GPTs to understand and use varied data sources, improving accuracy. This accelerates development, reduces errors, and provides context-aware responses, making OpenAPI a core component for AI applications.
You can download the OpenAPI definitions for Kleinanzeigen Scraper from the options below:
If you’d like to learn more about how OpenAPI powers GPTs, read our blog post.
You can also check out our other API clients: