# eBay Kleinanzeigen Scraper (`fastdataapi/ebay-kleinanzeigen-scraper`) Actor

eBay Kleinanzeigen Scraper scrapes Kleinanzeigen.de ads (formerly eBay Kleinanzeigen): price, location, attributes, images, views, seller and shop details, with optional change monitoring.

- **URL**: https://apify.com/fastdataapi/ebay-kleinanzeigen-scraper.md
- **Developed by:** [Fast Data API](https://apify.com/fastdataapi) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.67 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

### eBay Kleinanzeigen Scraper — Prices, Sellers, Views and Shipping

eBay Kleinanzeigen Scraper extracts ads from Kleinanzeigen.de, formerly eBay Kleinanzeigen, from search URLs, single ad URLs or a keyword: title, price, location, posting date, brand, color and size, shipping cost, buyer-protection fee, every photo, live view count, seller name and shop details for commercial sellers. Every response is structured JSON — ready to pass directly to an LLM, index into a vector store, or feed a price monitoring pipeline. **No Kleinanzeigen account or cookies needed.** Start with one search, then schedule it to catch every new ad.

![eBay Kleinanzeigen Scraper - hero image: what it collects and the JSON output](https://api.apify.com/v2/key-value-stores/Lg9lp51Levfro6SrV/records/ad-kleinanzeigen-hero.webp)

***

### What data can I extract with eBay Kleinanzeigen Scraper?

Using this Kleinanzeigen Ad API, you will be able to extract the following Kleinanzeigen ad data:

| 📰 Ad title | 💶 Price and currency | 📍 Location (ZIP and district) | 📅 Posting date |
| --- | --- | --- | --- |
| 🏷️ Category attribute | 👕 Brand, color and size | 🚚 Shipping price | 🛡️ Buyer-protection fee |
| 👀 Live view count | 🖼️ Main photo and all photos | 🗂️ Category trail | 📝 Full description |
| 👤 Seller name and seller page | ☎️ Seller phone (when shown) | ✉️ Phone and email written in the ad text | 🏢 Company details for commercial sellers |
| 🔗 Ad link and ad ID | 🔁 Change type and changed fields (monitoring) | | |

***

### How to use eBay Kleinanzeigen Scraper

Built for resellers, price watchers and market researchers: one run lets you scrape Kleinanzeigen ads into a clean table with prices, seller details and view counts.

**Copy to your AI assistant:**

```text
eBay Kleinanzeigen Scraper (Apify Actor ID: fastdataapi/ebay-kleinanzeigen-scraper, https://apify.com/fastdataapi/ebay-kleinanzeigen-scraper) is an Apify Actor that returns ads from Kleinanzeigen.de (formerly eBay Kleinanzeigen) as structured JSON: ad URL, ID, title, price, currency, location, posting date, category attribute, brand, color, size, shipping price, buyer-protection fee, view count, photo links, description, seller name and seller page, plus company details for commercial sellers. Use it whenever someone needs German classifieds data without cookies, a login, or a browser - watching prices for a product, finding underpriced second-hand items to resell, or collecting commercial seller contacts. Run it with curl: curl -X POST "https://api.apify.com/v2/acts/fastdataapi~ebay-kleinanzeigen-scraper/run-sync-get-dataset-items?token=APIFY_TOKEN" -H "Content-Type: application/json" -d '{"startUrls":["https://www.kleinanzeigen.de/s-berlin/basecap/k0l3331"],"maxItems":50}'. Or in Python: ApifyClient("APIFY_TOKEN").actor("fastdataapi/ebay-kleinanzeigen-scraper").call(run_input={"query": "iphone 15", "maxItems": 50}) then client.dataset(run["defaultDatasetId"]).list_items().items. Inputs: startUrls (array of Kleinanzeigen.de search-result URLs and/or single ad URLs /s-anzeige/...), query (string, Germany-wide keyword search used only when no URLs are given), maxItems (integer 1-100000, ads saved per URL or for the keyword, default 10), monitoringMode (boolean, save only ads that are new, updated or delisted since the previous run of the same URLs, default false), monitoringFields (array of "date" | "price" | "priceCurrency" | "title" | "address" | "shippingPrice" | "kauferschutzPrice" | "viewsCount" | "art" | "brand" | "color" | "size" | "descriptionText" | "primaryImageURL", fields that make an ad "updated", default ["price","title","address"]), concurrency (integer 1-30, ad pages loaded at the same time, default 10), maxRetries (integer 0-10, retries per failed request, default 5), requestDelay (number 0-30, seconds between result pages, default 1), proxyConfiguration (object, optional proxy). Each saved row is one row_result event. In monitoring mode rows carry _change "new", "updated" (with _changes {field: [old, new]}) or "delisted" (only id, url and title); each is one row_result event. Kleinanzeigen shows 50 result pages per search; larger searches are split by price automatically. Full input schema, every enum and default, and the complete output field list: GET https://api.apify.com/v2/acts/fastdataapi~ebay-kleinanzeigen-scraper/builds/default
```

#### eBay Kleinanzeigen Scraper MCP Server: use these Actors from ChatGPT, Claude or Cursor

Point your AI assistant at this Actor and it can read Kleinanzeigen on its own: ads for any search or keyword, prices, view counts, sellers and commercial shop details. No glue code, no scraping logic in your prompts.

```bash
claude mcp add --transport http apify "https://mcp.apify.com?tools=fastdataapi/ebay-kleinanzeigen-scraper"
```

#### Step by step

1. [Create a free Apify account](https://console.apify.com/sign-up).
2. Open [eBay Kleinanzeigen Scraper](https://apify.com/fastdataapi/ebay-kleinanzeigen-scraper) in the Apify Store.
3. Paste the Kleinanzeigen search or ad URLs, or type a keyword.
4. Click **Start** (or send your API request).
5. Download or stream your results in JSON, CSV or Excel.

#### How to scale eBay Kleinanzeigen Scraper to bulk

Paste many search URLs into one run (one per city, category or keyword) and the per-URL limit applies to each; runs without a free-plan cap work on three URLs at the same time. Searches with more than 50 result pages are split by price automatically, so one search can deliver thousands of Kleinanzeigen listings. For Kleinanzeigen price monitoring, turn on monitoring mode and schedule the same URLs hourly or daily, then export Kleinanzeigen to CSV or send the new rows to a spreadsheet after each run.

***

### ✨ Features

eBay Kleinanzeigen Scraper fetches clean, structured ads from Kleinanzeigen.de ⚡. It's ideal for reselling and deal hunting, price tracking per product, Kleinanzeigen alerts for new ads, and collecting Kleinanzeigen seller data for outreach. It extracts, per ad:

- **Price** – price with two decimals (0.00 = free to collect, empty = price on request) and currency
- **Shipping and buyer protection** – shipping cost and buyer-protection fee when offered
- **Attributes** – category attribute, brand, color and size (brand and size are recognized in the title or text when the seller left them empty)
- **Location and date** – ZIP code with district and the posting date
- **Views** – the live view count of each ad
- **Seller** – seller name, link to the seller's other ads, phone when shown, and contacts written in the ad text
- **Company details** – company name, address, website, phone, opening hours and emails for commercial sellers
- **Photos** – the main photo and every photo of the ad

⚡ Monitoring mode saves only ads that are new, changed or delisted since the last run, so scheduled runs cost only for what changed.

***

### Use cases 💡

- **Reseller** — find underpriced items by price and view count in your city.
- **Brand manager** — watch secondhand listings of your products by brand and size.
- **Market researcher** — collect German classifieds data on asking prices per category.
- **B2B sales team** — gather commercial shop contacts from company details.
- **AI engineer** — feed ad titles and descriptions into a RAG deal-finder agent.

Building an AI agent? [Connect eBay Kleinanzeigen Scraper over MCP](#mcp-integration-for-ai-agents) and let it call the actor on its own.

***

### Why choose this actor?

- **121 full ads in 28 seconds.** A recorded local run returned 60 ads each from a Berlin cap search and a Hamburg sofa search plus one single ad, 121 rows with ad page details and view counts, in 28.4 seconds.
- **Details a search page does not show.** A recorded New Era cap ad came back with a 15.00 EUR price, 6.19 EUR shipping, a 1.18 EUR buyer-protection fee, brand, color and size, 25 views and the full photo set.
- **24 fields, 3 kinds of input, change monitoring.** Search URLs, single ad URLs or a keyword, plus a monitoring mode that compares 14 fields between runs.

***

### ⬇️ Input

![eBay Kleinanzeigen Scraper input form with example values](https://api.apify.com/v2/key-value-stores/Lg9lp51Levfro6SrV/records/ad-kleinanzeigen-input.webp)

The Actor takes Kleinanzeigen.de URLs or a keyword; give `startUrls`, or `query` when you have no URLs. Accepted URL formats:

- Search-result pages: `https://www.kleinanzeigen.de/s-...` (any city, category, keyword or filter page)
- Single ads: `https://www.kleinanzeigen.de/s-anzeige/...`

| Parameter | Required | Type | Description | Example value |
| --- | --- | --- | --- | --- |
| `startUrls` | No | array | Search-result pages and/or single ad URLs, one per line. Each URL is one input. | `["https://www.kleinanzeigen.de/s-berlin/basecap/k0l3331"]` |
| `query` | No | string | Keyword for a Germany-wide search, used only when no URLs are given. | `"basecap"` |
| `maxItems` | No | integer | Ads saved for each URL (or for the keyword), 1–100,000. A single ad URL gives one row. Default `10`. | `60` |
| `monitoringMode` | No | boolean | Save only ads that are new, updated or delisted compared with the previous run of the same URLs. Default `false`. | `false` |
| `monitoringFields` | No | array | Fields that make an ad "updated": `date`, `price`, `priceCurrency`, `title`, `address`, `shippingPrice`, `kauferschutzPrice`, `viewsCount`, `art`, `brand`, `color`, `size`, `descriptionText`, `primaryImageURL`. Empty = only new and delisted. Default `["price", "title", "address"]`. | `["price", "title"]` |
| `concurrency` | No | integer | Ad pages loaded at the same time, shared by all inputs (1–30). Default `10`. | `10` |
| `maxRetries` | No | integer | Retries per failed request (0–10). Default `5`. | `5` |
| `requestDelay` | No | number | Seconds between two result pages (0–30). Default `1`. | `1` |
| `proxyConfiguration` | No | object | Optional proxy. The Actor starts without one and switches to Apify proxies by itself when Kleinanzeigen refuses requests. | `{"useApifyProxy": false}` |

#### Free plan limits

Users on the Apify free plan can fetch up to 20 ads per run (all inputs together) and 200 ads per month. When the limit is reached, the run finishes successfully with a status message explaining the limit. Upgrade to any paid Apify plan to remove these limits.

#### Example input

```json
{
  "startUrls": [
    "https://www.kleinanzeigen.de/s-berlin/basecap/k0l3331",
    "https://www.kleinanzeigen.de/s-hamburg/sofa/k0l9409",
    "https://www.kleinanzeigen.de/s-anzeige/basecap-fussball-nhl-nfl-/3573633208-156-3481"
  ],
  "query": "",
  "maxItems": 60,
  "monitoringMode": false,
  "monitoringFields": ["price", "title", "address"],
  "concurrency": 10,
  "maxRetries": 5,
  "requestDelay": 1,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

***

### ⬆️ Output

![eBay Kleinanzeigen Scraper output fields with example values](https://api.apify.com/v2/key-value-stores/Lg9lp51Levfro6SrV/records/ad-kleinanzeigen-output.webp)

Every ad is one typed, normalized JSON item with the same 24 keys on every run, saved as soon as its ad page is read, and you can export it as JSON (default), CSV or Excel. In monitoring mode each row also carries the change type: new and updated ads keep all fields (updated ones list the changed fields as old and new value), delisted ads carry only the ID, link and title; every row is one charged result.

#### Example output

```json
[
  {
    "url": "https://www.kleinanzeigen.de/s-anzeige/new-era-trucker-cap-angry-beavers-basecap-onesize/3573441409-156-26777",
    "id": "3573441409",
    "title": "NEW ERA Trucker Cap *ANGRY BEAVERS* Basecap onesize",
    "price": "15.00",
    "priceCurrency": "EUR",
    "art": "Mützen, Schals & Handschuhe",
    "brand": "New Era",
    "color": "Schwarz",
    "size": "One Size",
    "shippingPrice": "6.19",
    "kauferschutzPrice": "1.18",
    "address": "13156 Berlin - Niederschönhausen",
    "date": "16.11.2026",
    "viewsCount": 25,
    "primaryImageURL": "https://img.kleinanzeigen.de/api/v1/prod-ads/images/61/6172574f-2c3f-4aff-9cac-cde7567a6216?rule=$_59.AUTO",
    "imageURLs": [
      "https://img.kleinanzeigen.de/api/v1/prod-ads/images/61/6172574f-2c3f-4aff-9cac-cde7567a6216?rule=$_59.AUTO",
      "https://img.kleinanzeigen.de/api/v1/prod-ads/images/83/83352cd5-2cd7-4afd-9d0b-cf04d19cf49f?rule=$_59.AUTO"
    ],
    "categoryURLs": [
      "https://kleinanzeigen.de/stadt/berlin/",
      "https://kleinanzeigen.de/s-mode-beauty/c153",
      "https://kleinanzeigen.de/s-accessoires-schmuck/c156"
    ],
    "descriptionText": "A-Frame „Angry Beavers“ Basecap von New Era in Größe „onesize“.\nMaterial:\n100% Baumwolle & 100% Polyester (Mesh Part)",
    "sellerName": "Bonjour",
    "sellerURL": "https://kleinanzeigen.de/s-bestandsliste.html?userId=154640768",
    "sellerPhone": null,
    "sellerEmailFromDescription": null,
    "sellerPhoneFromDescription": null,
    "companyInfo": null
  },
  {
    "_change": "delisted",
    "id": "3571700801",
    "url": "https://www.kleinanzeigen.de/s-anzeige/basecap-new-era-9forty-yankees-cap-grau-neu-mit-etikett/3571700801-156-3389",
    "title": "Basecap New Era 9FORTY Yankees Cap, grau, neu mit Etikett"
  }
]
```

The description and photo list are shortened. The second item is a monitoring-mode row for an ad that was in the previous run and is gone from this one. An updated row looks like the first item plus `"_change": "updated"` and, for example, `"_changes": {"viewsCount": [26, 27]}`.

***

### How does it work?

For each search URL, the Actor reads the result pages one by one, opens every new ad page to add the attributes, photos, seller, shipping and buyer-protection details and the live view count, and saves each ad the moment it is ready while the next result page loads. Commercial shops are read once per run and reused for all their ads. It uses plain HTTP requests with no browser. Requests start on a direct connection; when Kleinanzeigen refuses them, the Actor retries and moves to an Apify datacenter proxy, then a German residential proxy. It returns only publicly visible data — what any visitor sees without logging in. The field names stay the same even when Kleinanzeigen changes its pages.

***

### How do you integrate eBay Kleinanzeigen Scraper into your stack?

It works with what you already use: call it as a Kleinanzeigen API over REST from any language, connect it over MCP for AI agents, or run it from no-code tools.

#### Using eBay Kleinanzeigen Scraper with the Apify API

```python
import requests

items = requests.post(
    "https://api.apify.com/v2/acts/fastdataapi~ebay-kleinanzeigen-scraper/run-sync-get-dataset-items",
    params={"token": "APIFY_TOKEN"},
    json={"startUrls": ["https://www.kleinanzeigen.de/s-berlin/basecap/k0l3331"], "maxItems": 50},
).json()
for ad in items:
    print(ad["title"], ad["price"], ad["address"])
```

*Works in Go, Ruby, Node.js, cURL — any language that can make an HTTP request.*

#### MCP integration for AI agents

Register the Actor with one command and your agent can scrape Kleinanzeigen ads whenever a question needs them, for example "what do used IKEA sofas sell for in Hamburg right now?".

```bash
claude mcp add --transport http apify "https://mcp.apify.com?tools=fastdataapi/ebay-kleinanzeigen-scraper"
```

This registers eBay Kleinanzeigen Scraper as a tool your agent can call directly. It works in Claude Code, Cursor and Windsurf.

#### No-code tools (n8n, Make, LangChain)

- **n8n:** use the Apify node with "Run an Actor" and pick `fastdataapi/ebay-kleinanzeigen-scraper`, or an HTTP Request node pointed at the run-sync endpoint with your token. With monitoring mode on, a Schedule trigger plus a Telegram or email node turns new ads into alerts.
- **Make:** use the Apify app's "Run an Actor" module, then "Get Dataset Items", and map title, price and link into Google Sheets.
- **LangChain:** install `langchain-apify` and wrap the Actor with `ApifyActorsTool("fastdataapi/ebay-kleinanzeigen-scraper")`; the rows are already JSON, so the model reads them without a parsing step.

***

### Is it legal to scrape Kleinanzeigen data?

Scraping publicly accessible Kleinanzeigen.de ads is generally lawful when no login is bypassed. eBay Kleinanzeigen Scraper returns only publicly available data — what any user sees without logging in. Ads often include personal data such as seller names, locations and phone numbers written in the text. Under GDPR, scraping public data is generally permissible, but storing and using it must comply with local data-protection law. Consult legal counsel if your use case involves bulk storage of personal data.

***

### Frequently asked questions

#### What fields does eBay Kleinanzeigen Scraper return?

It returns 24 fields per ad; the five most used are the title, price, location, posting date and view count. Every row also carries shipping, buyer protection, attributes, photos, the description and seller details. See [the data fields section](#what-data-can-i-extract-with-ebay-kleinanzeigen-scraper).

#### Does eBay Kleinanzeigen Scraper require a Kleinanzeigen account or login?

No. Only public ad data is extracted. No credentials, cookies or browser sessions are needed.

#### How fast does eBay Kleinanzeigen Scraper run?

A recorded local run returned 121 ads from two search URLs and one ad URL in 28.4 seconds, each with its ad page details and view count. The data is live from Kleinanzeigen.de, not cached.

#### What happens if an ad is deleted or a search has no results?

A deleted ad URL or an empty search gives no row and is not charged, and the run still finishes successfully with a status message saying no ads were found. URLs that are not Kleinanzeigen.de links stop the run at the start with a clear message. Fields an ad does not have (brand, size, shipping) come back empty instead of guessed.

#### Can I scrape multiple Kleinanzeigen ads at once?

Yes. Paste many search URLs and single ad URLs into one run; the limit applies to each URL on its own, and large searches are split by price automatically.

#### Does eBay Kleinanzeigen Scraper work with Claude, ChatGPT, and other AI agent tools?

Yes — eBay Kleinanzeigen Scraper is available as an MCP tool. Register it in Claude Code, Cursor or Windsurf with:

```bash
claude mcp add --transport http apify "https://mcp.apify.com?tools=fastdataapi/ebay-kleinanzeigen-scraper"
```

Any agent that can call an HTTP endpoint can use the REST API directly.

#### Does eBay Kleinanzeigen Scraper return data in a format LLMs can use directly?

Yes. It returns typed, normalized JSON with consistent field names, with no HTML parsing and no selectors. Pass it straight to an LLM, index it into a vector store, or feed it to an agent tool — no transformation step.

#### What happens when Kleinanzeigen changes its layout or updates its anti-bot system?

The actor is maintained. When Kleinanzeigen changes, the actor is updated — your calls keep returning the same JSON schema with no changes on your end.

#### Can I use eBay Kleinanzeigen Scraper without managing proxies or browser infrastructure?

Yes. Retries and the switch from a direct connection to datacenter and German residential proxies run on the actor's side, and no browser is used. You send one request and get structured JSON back. No proxy accounts, no headless browser setup, no maintenance.

#### Which Kleinanzeigen ad fields work best for AI training data and RAG indexing?

For RAG, use the title, full description and category attribute, with the location and category trail as metadata filters. For training data, use the price, shipping price, view count, brand and posting date. Prices are text with two decimals, so convert them to numbers before you average them.

***

### Related scrapers

| Scraper | What it extracts |
| --- | --- |
| [eBay Product Details Scraper](https://apify.com/fastdataapi/ebay-product-details-scraper) | eBay item details |
| [eBay Phone Number Scraper](https://apify.com/fastdataapi/ebay-phone-number-scraper) | Public phone numbers linked to eBay |
| [Facebook Marketplace Scraper](https://apify.com/socialdataapi/facebook-marketplace-scraper) | Facebook Marketplace listings |
| [Otomoto.pl Scraper](https://apify.com/fastdataapi/otomoto-pl-scraper) | Car listings from Otomoto.pl |
| [Carfax.com Scraper](https://apify.com/fastdataapi/carfax-scraper) | Carfax used and new car listings |

***

### Your feedback

Found a bug in this Kleinanzeigen.de scraper or missing a field, such as the seller's rating or member-since date? Let us know on the Actor's Issues tab, with the input JSON and the URL that misbehaved. The team reads every report and ships fixes.

# Actor input Schema

## `startUrls` (type: `array`):

Search-results pages (e.g. https://www.kleinanzeigen.de/s-berlin/basecap/k0l3331) and/or single ads (https://www.kleinanzeigen.de/s-anzeige/...). Each URL is one input.

## `query` (type: `string`):

Keyword for a Germany-wide search. Used only when no URLs are given.

## `maxItems` (type: `integer`):

Maximum number of ads saved for EACH URL (or for the keyword). A single ad URL gives one row. Free plan: up to 20 ads per run (all inputs together) and 200 per month; paid plans have no limit.

## `monitoringMode` (type: `boolean`):

Compare with the previous run of the same URLs and output only new, updated and delisted ads (field \_change). Ideal for scheduled runs.

## `monitoringFields` (type: `array`):

An ad counts as 'updated' when one of these fields changed. Empty = only new and delisted ads.

## `concurrency` (type: `integer`):

How many ad pages are loaded at the same time (shared by all inputs of the run).

## `maxRetries` (type: `integer`):

How often a failed request is retried.

## `requestDelay` (type: `number`):

Pause between two search-result pages.

## `proxyConfiguration` (type: `object`):

Optional. By default the actor picks the connection itself.

## Actor input object example

```json
{
  "startUrls": [
    "https://www.kleinanzeigen.de/s-berlin/basecap/k0l3331"
  ],
  "maxItems": 10,
  "monitoringMode": false,
  "monitoringFields": [
    "price",
    "title",
    "address"
  ],
  "concurrency": 10,
  "maxRetries": 5,
  "requestDelay": 1,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "startUrls": [
        "https://www.kleinanzeigen.de/s-berlin/basecap/k0l3331"
    ],
    "maxItems": 10,
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("fastdataapi/ebay-kleinanzeigen-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "startUrls": ["https://www.kleinanzeigen.de/s-berlin/basecap/k0l3331"],
    "maxItems": 10,
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("fastdataapi/ebay-kleinanzeigen-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "startUrls": [
    "https://www.kleinanzeigen.de/s-berlin/basecap/k0l3331"
  ],
  "maxItems": 10,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call fastdataapi/ebay-kleinanzeigen-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,fastdataapi/ebay-kleinanzeigen-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/wobl0li1nAg0CpQpe/builds/cwWwPJbBUGQuQ7aYQ/openapi.json
