# Landwirt.com Scraper – Used Tractors & Farm Machinery (`outlandish_mainsail/landwirt-scraper`) Actor

Scrape used tractors, farm machinery, forestry equipment and agricultural classifieds from landwirt.com (Austria, Germany and Central Europe): price, year, operating hours, horsepower, specs, equipment, location and dealer.

- **URL**: https://apify.com/outlandish_mainsail/landwirt-scraper.md
- **Developed by:** [Andreas v](https://apify.com/outlandish_mainsail) (community)
- **Security:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.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

## Landwirt.com Scraper – Used Tractors & Farm Machinery

Scrape **used tractors, farm machinery, forestry equipment, trailers and agricultural classifieds** from [landwirt.com](https://www.landwirt.com), one of the largest farm-machinery marketplaces in Austria, Germany and Central Europe.

Get clean, structured data: **price (incl./excl. VAT), year, operating hours, horsepower/kW, brand, model, category, specifications, equipment list, photos, location and the selling dealer** (name, address, website, rating).

### Use cases

- **Dealers & traders:** monitor competitor stock and prices, find machines to buy for export.
- **Price research & valuation:** build used-price curves by model, year and hours (e.g. "Fendt 724 Vario, 2015–2020, < 8,000 h").
- **Market analysts & OEMs:** track supply by brand, category and country.
- **Lead generation:** list of agricultural machinery dealers with their public business details.
- **Alerts:** run it on a schedule with *Only new listings* to get every new tractor that matches your filters.

### How it works

- Give it any landwirt.com **category, sub-category, brand or search URL** (e.g. `https://www.landwirt.com/traktoren/standard-traktoren/fendt`), or **search terms** like `Fendt 724`, or nothing (whole machinery market, newest first).
- **Fast mode** (default) reads result pages only: 48 listings per request, very cheap.
- **Full details** (`includeDetails: true`) also opens each listing for the description, all specs, equipment, all photos and the dealer's address, website and rating.
- Filter by **country, seller type, price, year and operating hours**.
- Each search on the site shows at most 10,000 results (209 pages). To go deeper, use several sub-category or brand URLs.

### Input example

```json
{
  "startUrls": [{ "url": "https://www.landwirt.com/traktoren/standard-traktoren/fendt" }],
  "searchTerms": ["John Deere 6R"],
  "maxItems": 500,
  "includeDetails": true,
  "countries": ["AT", "DE"],
  "minYear": 2015,
  "maxOperatingHours": 8000
}
```

### Output example (shortened)

```json
{
  "id": 6671128,
  "url": "https://www.landwirt.com/detail/deutz-fahr-5075d-stage-v-6671128",
  "title": "Deutz Fahr 5075D (Stage V)",
  "brand": "Deutz Fahr",
  "model": "5075D (Stage V)",
  "listingType": "Neumaschinen",
  "condition": "neumaschinen",
  "group": "Landtechnik",
  "category": "Traktoren",
  "subcategory": "Standard Traktoren",
  "price": 67900,
  "priceExclVat": 56583.33,
  "priceInclVat": 67900,
  "vatNote": "inkl. 20 % MwSt.",
  "currency": "EUR",
  "isDiscounted": false,
  "oldPrice": null,
  "priceOnRequest": false,
  "year": 2025,
  "operatingHours": null,
  "horsepower": 75,
  "kilowatts": 55.16,
  "mileageKm": null,
  "shortDescription": "Abgasstufe: -/Stage V, Zapfwellendrehzahl: 540/540E/1000, Bolzengröße Anhängevorrichtung (mm): 38mm, Aufladung: Turbolader mit Ladeluftkühlung, Höchstgeschwindigkeit in",
  "imageUrl": "https://static.landwirt.com/3244-f147160ad43e470974a757a17ae10369-6671128-0vb.jpg",
  "imageCount": 27,
  "hasVideo": false,
  "reserved": false,
  "isAuction": false,
  "sellerType": "dealer",
  "dealerName": "Maschinen Gailer GmbH",
  "dealerId": 3244,
  "dealerUrl": "https://www.landwirt.com/dealer/info/maschinen-gailer-gmbh-3244",
  "postalCode": "9640",
  "city": "Kötschach-Mauthen",
  "countryCode": "AT",
  "latitude": 46.6820255,
  "longitude": 13.0021272,
  "publishedAt": null,
  "series": "Serie 5D (Stage V)",
  "conditionGrade": "Besonders gut  (Klasse 1)",
  "description": "Deutz Fahr 5075D in folgender Ausstattung!\n\n\n\n* FARMotion 45 Motor Abgasstufe V, Common Rail System, KEIN ADBLUE\n\n* 4 Zylinder mit 3859cm³ Hubraum und Turbo\n\n* 45V/45R-Getriebe mit 3-fach Lastschaltun…",
  "descriptionLanguage": "de",
  "specifications": {
    "Baureihe": "Serie 5D (Stage V)",
    "Modell": "5075D (Stage V)",
    "PS / kW": "75 / 55",
    "Baujahr": "2025",
    "Zustand": "Besonders gut  (Klasse 1)",
    "Bereifung vorne": "405/70-R20",
    "Bereifung hinten": "480/70R30",
    "Reifenprofiltiefe vorne (%)": "100",
    "Reifenprofiltiefe hinten (%)": "100",
    "Steuergeräte DW (gesamt)": "3",
    "Anzahl der Zylinder": "4",
    "Arbeitsscheinwerfer vorne": "2",
    "Arbeitsscheinwerfer hinten": "2"
  },
  "equipment": [
    "4-Rad Bremse",
    "Zapfwellendrehzahl: 540/540E/1000",
    "Außenbedienung Heckhydraulik",
    "Außenbedienung Heckzapfwelle",
    "Antrieb: Allrad"
  ],
  "imageUrls": [
    "https://static.landwirt.com/3244-f147160ad43e470974a757a17ae10369-6671128-0vb.jpg",
    "https://static.landwirt.com/3244-f147160ad43e470974a757a17ae10369-6671128-1vb.jpg"
  ],
  "dealerStreet": "Kötschach 56 und 450",
  "region": "Kärnten",
  "dealerWebsite": "https://www.maschinen-gailer.at",
  "dealerRating": 4.8,
  "scrapedAt": "2026-10-09T16:50:06.011Z"
}
```

Main fields: `id, url, title, brand, model, series, listingType, condition, group, category, subcategory, price, priceExclVat, priceInclVat, vatNote, currency, isDiscounted, oldPrice, priceOnRequest, year, operatingHours, horsepower, kilowatts, conditionGrade, shortDescription, description, specifications, equipment, imageUrl, imageUrls, imageCount, sellerType, dealerName, dealerId, dealerUrl, dealerStreet, postalCode, city, region, countryCode, latitude, longitude, dealerWebsite, dealerRating, publishedAt, scrapedAt`.

Labels such as categories and specification names are in German, as on the site.

### Pricing

Pay per result: you only pay for listings saved to the dataset, plus a tiny start fee. The Actor respects your run's spending limit and stops before going over it.

### Speed and politeness

One request at a time, at least 2 seconds apart, with an honest user agent. robots.txt is respected (sorted views, new-machine and auction-machine sections are not crawled). No login, no proxies needed.

### Data protection (GDPR)

- Only publicly shown listing data is collected.
- **Private sellers are anonymised:** their name, ID and exact coordinates are never output (only postal code, town and country of the item).
- For dealers, only public business information is output (company name, business address, website, rating). Contact persons and phone numbers are not collected.
- Free-text descriptions are written by sellers and can occasionally contain personal data. You are responsible for using the data lawfully (GDPR legitimate interest, no unsolicited marketing where prohibited, deletion on request).

### Notes

This Actor is not affiliated with landwirt.com. Site changes can break scraping; please report issues on the Issues tab and they will be fixed quickly.

# Actor input Schema

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

landwirt.com result pages to scrape: a category (e.g. https://www.landwirt.com/traktoren), a sub-category or brand page (e.g. https://www.landwirt.com/traktoren/standard-traktoren/fendt), a search URL, the machinery market (https://www.landwirt.com/maschinenmarkt), classifieds (https://www.landwirt.com/kleinanzeigen) or single /detail/ listing URLs. Leave empty to scrape the whole machinery market, newest first.

## `searchTerms` (type: `array`):

Free-text searches, as typed into the landwirt.com search box (e.g. "Fendt 724", "Rundballenpresse").

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

Stop after this many listings in total. 0 = no limit. Each search on the site shows at most 10,000 results; use sub-category or brand URLs to go deeper.

## `includeDetails` (type: `boolean`):

Also open each listing page to add the full description, all specifications, equipment list, all image URLs and the dealer's address, website and rating. Slower (one extra page per listing). Off = fast mode from result pages (48 listings per page).

## `countries` (type: `array`):

Only keep listings located in these countries (ISO codes, e.g. AT, DE, IT, SI, HU, CZ). Empty = all.

## `sellerType` (type: `string`):

Only dealers, only private sellers, or both.

## `minPrice` (type: `integer`):

Only listings with a price at or above this. Listings without a price are dropped when a price filter is set.

## `maxPrice` (type: `integer`):

Only listings with a price at or below this.

## `minYear` (type: `integer`):

Only machines built in or after this year.

## `maxYear` (type: `integer`):

Only machines built in or before this year.

## `maxOperatingHours` (type: `integer`):

Drop machines with more operating hours than this (listings without hours are kept).

## `maxPagesPerSearch` (type: `integer`):

Safety cap on result pages (48 listings each) per start URL or search term. 0 = no cap.

## `skipPreviouslyScraped` (type: `boolean`):

Remember listing IDs between runs (in a named key-value store) and skip them next time. Ideal for daily monitoring with a schedule.

## `seenListingsKey` (type: `string`):

Use different keys to keep separate memories for different monitoring tasks.

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

Not needed normally. The Actor works without proxies.

## `userAgent` (type: `string`):

HTTP User-Agent header. The default identifies this Actor honestly.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.landwirt.com/traktoren"
    }
  ],
  "maxItems": 100,
  "includeDetails": false,
  "sellerType": "any",
  "maxPagesPerSearch": 0,
  "skipPreviouslyScraped": false,
  "seenListingsKey": "SEEN_IDS",
  "proxyConfiguration": {
    "useApifyProxy": false
  },
  "userAgent": "LandwirtListingsActor/1.0 (+https://apify.com)"
}
```

# Actor output Schema

## `listings` (type: `string`):

All scraped listings in the default dataset.

# 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.landwirt.com/traktoren"
        }
    ],
    "maxItems": 100
};

// Run the Actor and wait for it to finish
const run = await client.actor("outlandish_mainsail/landwirt-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.landwirt.com/traktoren" }],
    "maxItems": 100,
}

# Run the Actor and wait for it to finish
run = client.actor("outlandish_mainsail/landwirt-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.landwirt.com/traktoren"
    }
  ],
  "maxItems": 100
}' |
apify call outlandish_mainsail/landwirt-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,outlandish_mainsail/landwirt-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/5Uo4QQj4pAByz2s9V/builds/NQrUJUz0OT2Dfnc9d/openapi.json
