# My MobileDe Scraper (`getdataforme/my-mobilede-scraper`) Actor

Efficiently scrape comprehensive vehicle listings from mobile.de, Germany's leading car marketplace. Extract key details like make, model, price, mileage, and location with proxy support for anonymity and customizable limits....

- **URL**: https://apify.com/getdataforme/my-mobilede-scraper.md
- **Developed by:** [GetDataForMe](https://apify.com/getdataforme) (community)
- **Categories:** E-commerce, Other
- **Features:** Full permissions
- **Stats:** 20 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $9.00 / 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.

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

### PART 1: Generate README.md

## My MobileDe Scraper

My MobileDe Scraper is an Apify Actor designed to efficiently extract detailed vehicle data from mobile.de, Germany's leading online marketplace for cars. It automates the scraping of listings, providing structured data for analysis, research, or integration into other systems. This tool ensures reliable, high-quality data extraction while respecting website terms and using proxies for anonymity.

### Features

- **Comprehensive Data Extraction**: Scrapes key details like vehicle make, model, price, mileage, location, and more from mobile.de listings.
- **Customizable Limits**: Set item limits to control the volume of data processed, ideal for targeted scraping.
- **Proxy Integration**: Uses residential proxies to avoid IP bans and ensure smooth, undetected scraping.
- **High Reliability**: Built with robust error handling to manage dynamic web content and potential blocks.
- **Fast Performance**: Optimized for speed, processing multiple URLs concurrently for efficient data collection.
- **Structured Output**: Delivers clean JSON data, easily exportable to CSV, Excel, or databases.
- **User-Friendly**: Simple input configuration with clear parameters for quick setup and execution.

### Input Parameters

| Parameter | Type | Required | Description | Example |
|-----------|------|----------|-------------|---------|
| urls | array | Yes | A list of URLs of the mobile.de pages to scrape data from. Each URL should point to a specific vehicle listing or search page. | \["https://suchen.mobile.de/auto-inserat/opel-grandland-1-2-hybrid-edition-edct-inkl-19-hamburg/437893607.html?lst=p"] |
| item_limit | integer | No | Specifies the maximum number of items (e.g., vehicle listings) to process. Helps control costs and processing time. | 15 |
| proxyConfiguration | object | No | Configures proxy servers to hide the scraper's origin and avoid detection. Defaults to Apify's residential proxies. | {"useApifyProxy": true, "apifyProxyGroups": \["RESIDENTIAL"]} |

### Example Usage

To run the Actor, provide input in JSON format. Here's an example:

```json
{
  "urls": [
    "https://suchen.mobile.de/auto-inserat/opel-grandland-1-2-hybrid-edition-edct-inkl-19-hamburg/437893607.html?lst=p"
  ],
  "item_limit": 10,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": ["RESIDENTIAL"]
  }
}
```

Example output (JSON structure may vary based on scraped data):

```json
{
  "url": "https://suchen.mobile.de/auto-inserat/opel-grandland-1-2-hybrid-edition-edct-inkl-19-hamburg/437893607.html?lst=p",
  "title": "Opel Grandland 1.2 Hybrid Edition EDCT inkl. 19\"",
  "price": "€ 25,990",
  "mileage": "15,000 km",
  "location": "Hamburg",
  "year": "2022",
  "fuel_type": "Hybrid",
  "transmission": "Automatic"
}
```

### Use Cases

- **Market Research**: Analyze trends in vehicle prices, popular models, and regional availability on mobile.de.
- **Competitive Intelligence**: Monitor competitors' listings for pricing strategies and inventory.
- **Price Monitoring**: Track price changes on specific vehicles for buying or selling decisions.
- **Content Aggregation**: Collect data for automotive blogs, comparison sites, or databases.
- **Academic Research**: Gather data for studies on automotive markets, consumer behavior, or economics.
- **Business Automation**: Integrate scraped data into CRM systems or automated reporting tools for dealerships.

### Installation and Usage

1. Search for "My MobileDe Scraper" in the Apify Store.
2. Click "Try for free" or "Run".
3. Configure input parameters as described above.
4. Click "Start" to begin extraction.
5. Monitor progress in the log.
6. Export results in your preferred format (JSON, CSV, Excel).

### Output Format

The Actor outputs data in JSON format, with each item representing a scraped vehicle listing. Key fields include:

- `url`: The source URL of the listing.
- `title`: The vehicle's title or name.
- `price`: The listed price.
- `mileage`: Vehicle mileage.
- `location`: Seller's location.
- `year`: Manufacturing year.
- `fuel_type`: Type of fuel (e.g., Diesel, Hybrid).
- `transmission`: Gearbox type (e.g., Manual, Automatic).

Data is structured for easy parsing and integration.

### Error Handling

The Actor includes built-in error handling for common issues like invalid URLs, network timeouts, or CAPTCHA challenges. If a page fails to load, it retries with different proxies. Check the run log for details on errors; persistent issues may require adjusting proxy settings or contacting support.

### Rate Limiting and Best Practices

- **Rate Limiting**: mobile.de may impose limits; the Actor uses delays and proxies to comply. Avoid overloading by setting reasonable item limits.
- **Best Practices**: Use residential proxies for better success. Limit concurrent runs to prevent bans. Respect robots.txt and terms of service. For large-scale scraping, consider scheduling runs during off-peak hours.

### Support

For custom/simplified outputs or bug reports, please contact:

- Email: support@getdataforme.com
- Subject line: "custom support"
- Contact form: https://getdataforme.com/contact/

We're here to help you get the most out of this Actor!

***

### PART 2: Generate Description (STRICT: 280-295 characters ONLY)

# Actor input Schema

## `urls` (type: `array`):

A list of URLs of the web pages you want to scrape data from.

## `item_limit` (type: `integer`):

Specifies the maximum number of items to process.

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

Specifies proxy servers that will be used by the scraper in order to hide its origin.

## Actor input object example

```json
{
  "urls": [
    "https://suchen.mobile.de/auto-inserat/opel-grandland-1-2-hybrid-edition-edct-inkl-19-hamburg/437893607.html?lst=p"
  ],
  "item_limit": 15,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# 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 = {
    "urls": [
        "https://suchen.mobile.de/auto-inserat/opel-grandland-1-2-hybrid-edition-edct-inkl-19-hamburg/437893607.html?lst=p"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("getdataforme/my-mobilede-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 = {
    "urls": ["https://suchen.mobile.de/auto-inserat/opel-grandland-1-2-hybrid-edition-edct-inkl-19-hamburg/437893607.html?lst=p"],
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("getdataforme/my-mobilede-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 '{
  "urls": [
    "https://suchen.mobile.de/auto-inserat/opel-grandland-1-2-hybrid-edition-edct-inkl-19-hamburg/437893607.html?lst=p"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call getdataforme/my-mobilede-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,getdataforme/my-mobilede-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/gJGELdT3naXSLevDC/builds/XiSuZ4zDZL9AroxDL/openapi.json
