# MotoScout24.ch Scraper (`rainminer/motoscout24-ch-scraper`) Actor

Scrape motorcycles, scooters & quads from MotoScout24.ch — price, mileage, make, model, specs, seller & images. Export JSON/CSV. | MotoScout24 Occasionen scrapen: Preis, Kilometer, Marke, Modell. Ohne Code.

- **URL**: https://apify.com/rainminer/motoscout24-ch-scraper.md
- **Developed by:** [rainminer](https://apify.com/rainminer) (community)
- **Categories:** E-commerce, Other
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.49 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
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?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

### What does MotoScout24.ch Scraper do?

**MotoScout24.ch Scraper** extracts **motorcycle listings** from [MotoScout24.ch](https://www.motoscout24.ch/) — Switzerland's largest online marketplace for motorcycles, scooters, quads, and mopeds. Paste a search URL (for example `https://www.motoscout24.ch/de/s/mk-bmw`) or an individual listing URL and export structured moto data — price, mileage, make, model, power, seller, and images — as JSON, CSV, or Excel, **without writing any code**.

The Actor reads the same **public MotoScout24 data API** that the website's own front-end uses, so it returns clean, structured records reliably and does not need a browser or proxy.

### Why scrape MotoScout24.ch?

- **Price intelligence** — Track and compare asking prices for used and new motorcycles across every Swiss canton.
- **Dealer & inventory analysis** — Monitor stock by brand, model, category, fuel type, or region.
- **Market research** — Study two-wheeler demand, electric vs. petrol trends, mileage, and power distributions.
- **Price-drop alerts** — Compare `previousPrice` vs. `price` to detect reductions.
- **Apify platform** — Schedule runs, export JSON/CSV/Excel, monitor failures, and integrate via API.

### What data can you extract from MotoScout24.ch?

| Field                      | Description                                     |
| -------------------------- | ----------------------------------------------- |
| id                         | Unique MotoScout24 listing id                   |
| title                      | Listing title (full version name)               |
| make / model               | Manufacturer brand and model                    |
| version                    | Full model version name                         |
| price / previousPrice      | Current and prior asking price                  |
| currency                   | Price currency (CHF)                            |
| year / firstRegistration   | First-registration year and date                |
| mileage                    | Kilometers                                      |
| location / city / zipCode  | Seller location and postal code                 |
| canton                     | Swiss canton (derived from postal code)         |
| fuel                       | Fuel type (e.g. petrol, electric)               |
| transmission               | Transmission type                               |
| power / powerKw            | Engine power in HP and kW                       |
| cubicCapacity              | Engine displacement (cc)                        |
| condition                  | Condition (new, used, …)                        |
| bodyType / vehicleCategory | Body type and vehicle category                  |
| sellerName / sellerType    | Seller name and type (private / professional)   |
| images                     | List of listing image URLs                      |
| url                        | Public listing URL                              |
| searchUrl                  | Source search URL for listings found via search |

### How to scrape MotoScout24.ch

1. Open the Actor in Apify Console.
2. On MotoScout24.ch, apply your filters (make, model, category, canton, price range) and copy the search results URL.
3. Paste one or more **search or listing URLs** under **Start URLs**.
4. Set **Maximum items** (listings per start URL).
5. Run the Actor and download results from the dataset tab.

### Input

MotoScout24.ch Scraper accepts **Start URLs**, **maxItems** (per start URL), and optional **proxy configuration**. See the **Input** tab in Apify Console for details.

Supported start URLs:

- SEO search pages: `https://www.motoscout24.ch/de/s/mk-bmw` (all BMW motorcycles)
- Filtered search pages: `https://www.motoscout24.ch/de/s?make=9&price=0-4000`
- Listing pages: `https://www.motoscout24.ch/de/d/{listingId}`

All four site languages are supported via the URL path (`/de/`, `/fr/`, `/it/`, `/en/`). Pagination in copied URLs (`?pagination[page]=2`) is handled automatically — the Actor keeps paging until it reaches your **Maximum items** per start URL.

### Output example

```json
{
  "id": "20586513",
  "url": "https://www.motoscout24.ch/de/d/20586513",
  "title": "R 1100 RS",
  "make": "BMW",
  "model": "R 1100",
  "version": "R 1100 RS",
  "price": 1250,
  "previousPrice": null,
  "currency": "CHF",
  "year": 1998,
  "firstRegistration": "1998-06-01",
  "mileage": 55000,
  "location": "2802 Develier",
  "city": "Develier",
  "zipCode": "2802",
  "canton": "JU",
  "fuel": "petrol",
  "transmission": "manual",
  "power": 89,
  "powerKw": 66,
  "condition": "used",
  "vehicleCategory": "motorcycle",
  "sellerName": "Queloz Flavien Achat – Vente 2 roues",
  "sellerType": "professional",
  "images": [
    "https://listing-images.autoscout24.ch/listing/513/20586513/704624810.jpeg"
  ],
  "searchUrl": "https://www.motoscout24.ch/de/s/mk-bmw"
}
```

You can download the dataset in JSON, CSV, Excel, or HTML.

### How much does scraping MotoScout24.ch cost?

This Actor reads a public JSON API (no browser) and needs **no proxy by default**, keeping compute usage low. A typical test run with 5 listings per URL usually finishes in seconds on the Apify free tier. Large searches paginate in batches of 20 results per request, so cost scales predictably with **Maximum items**.

### FAQ

**Is scraping MotoScout24.ch legal?**\
This Actor collects only **public** listing content that MotoScout24.ch already shows to every visitor. You are responsible for complying with applicable laws (including the Swiss FADP and the GDPR) when processing any personal data contained in listings.

**Which URLs are supported?**\
Public search result pages under `/{lang}/s` (SEO path or query-string filters) and individual listing pages under `/{lang}/d/{id}`.

**Why is the canton approximate?**\
The public data returns each seller's city and postal code but not the canton. The Actor derives the canton from the Swiss postal code, so a small number of border postal codes may be approximate. `city` and `zipCode` are always exact.

**Do listing (detail) URLs include seller location?**\
Search-URL mode returns full seller name, type, city, and canton. When you scrape individual `/d/{id}` listing URLs directly, the detail endpoint does not expose the seller's name/location, so those fields may be empty — prefer search URLs for complete records.

### Image Credit

Image credit: [motoscout24.ch](https://www.motoscout24.ch/)

# Actor input Schema

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

MotoScout24.ch search URLs (e.g. https://www.motoscout24.ch/de/s/mk-bmw) or individual listing URLs (e.g. https://www.motoscout24.ch/de/d/20262954). Copy a search URL straight from the MotoScout24 website after applying your filters.

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

Maximum number of listings to return per start URL.

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

Proxy settings. The scraper works without a proxy because it reads the public MotoScout24 data API.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.motoscout24.ch/de/s/mk-bmw"
    }
  ],
  "maxItems": 5,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `overview` (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": [
        {
            "url": "https://www.motoscout24.ch/de/s/mk-bmw"
        }
    ],
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("rainminer/motoscout24-ch-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": [{ "url": "https://www.motoscout24.ch/de/s/mk-bmw" }],
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("rainminer/motoscout24-ch-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": [
    {
      "url": "https://www.motoscout24.ch/de/s/mk-bmw"
    }
  ],
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call rainminer/motoscout24-ch-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,rainminer/motoscout24-ch-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/Vmx5WBKrds0ekLJSH/builds/oC1VMEABAyVFJDpNc/openapi.json
