# TractorHouse Scraper — Farm Equipment Prices & Dealer Monitor (`crawloop/tractorhouse-scraper`) Actor

Scrape TractorHouse farm equipment listings for dealers and buyers: asking prices, make/model/year, hours, serials, dealer phones, and images. Monitor mode tracks new inventory and price changes.

- **URL**: https://apify.com/crawloop/tractorhouse-scraper.md
- **Developed by:** [Andrej Kiva](https://apify.com/crawloop) (community)
- **Categories:** E-commerce, Lead generation, AI
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.50 / 1,000 scraped tractorhouse listings

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/platform/actors/running/actors-in-store#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

## TractorHouse Scraper — Farm Equipment Prices, Specs & Dealer Phones

> **Crawloop Used Machinery Marketplace Suite** — US farm equipment asking prices, dealer phones, and inventory change alerts. Pair with European Agriaffaires / Machineryline Actors for cross-market comps.

| Agriaffaires (EU farm) | TractorHouse (US farm) | Machineryline (EU heavy) | Exapro | Troostwijk |
| :--- | :--- | :--- | :--- | :--- |
| [Agriaffaires Scraper](https://apify.com/crawloop/agriaffaires-scraper) | TractorHouse Scraper ◄── you are here | [Machineryline Scraper](https://apify.com/crawloop/machineryline-scraper) | [Exapro Scraper](https://apify.com/crawloop/exapro-scraper) | [Troostwijk Scraper](https://apify.com/crawloop/troostwijk-scraper) |

> **Disclaimer:** Unofficial tool — not affiliated with, sponsored by, or endorsed by TractorHouse, Sandhills Global, or their brands. Data is read from publicly accessible pages only. You are responsible for complying with applicable law and site terms. No warranty on accuracy or availability.

### What this TractorHouse scraper does

This **TractorHouse scraper** turns farm equipment for-sale listings into a structured Apify dataset: asking price, make, model, year, hours, serial number, dealer phone, location, and images. Use it as a TractorHouse API alternative for dealers, appraisers, lenders, and data teams who need tractor, combine, and implement comps in **Python**, **Node.js**, or **MCP** — export JSON / CSV / Excel without manual browsing.

Run `listings` for fast catalog pulls (retail cards already include dealer phone and specs) or `details` for PDP street-address enrichment. Enable **`monitorMode`** on an Apify Schedule to track **new inventory** and **price changes** per dealer or category.

### When to use

- Dealer competitive intelligence — watch a rival `AccountCRMID` inventory daily
- Asking-price comps for tractors, combines, planters, tillage, hay/forage, and grain equipment
- Fleet sourcing and replacement planning by manufacturer, model, hours, or US state
- Outreach lists with published dealer phones (no details mode required for most retail cards)
- Join US farm asking prices with EU stock from [Agriaffaires Scraper](https://apify.com/crawloop/agriaffaires-scraper)

#### When not to use

- You need authenticated Auction Results **sold** hammer prices (often login-gated) — this Actor returns auction metadata; use `pricedOnly` to skip zeros
- You only need European farm boards — start with [Agriaffaires Scraper](https://apify.com/crawloop/agriaffaires-scraper)
- You need construction-heavy US boards beyond farm — use your Sandhills construction workflow separately

### US ↔ EU farm equipment workflow

```
US farm asking prices               EU enrichment / auctions
─────────────────────               ───────────────────────

  TractorHouse Scraper ◄── you are here
       │ dealer phones, hours, serials, monitor deltas
       ▼
  Agriaffaires Scraper ───────────► EU farm machinery + contacts
  Machineryline Scraper ──────────► EU heavy equipment
  Troostwijk / Surplex ───────────► auction lots & bids

  Join by make + model + year ──► comps, remarketing, residual checks
```

### Key features

- **Search URL or filters** — paste a search / dealer inventory / category URL, or build one from manufacturer, category id, keywords, state, and `AccountCRMID`
- **Two modes** — `listings` (fast SSR cards with phone + specs) and `details` (ld+json address enrichment)
- **Monitor mode** — seed fingerprints, then emit only `new` / `price_change` rows; optional Telegram alerts
- **Dealer phones on cards** — outreach fields without visiting every PDP
- **Cloudflare-ready** — `curl_cffi` Chrome TLS; Apify Residential (US) recommended
- **Priced-only filter** — skip Call-for-price and zero-price rows
- **Listing types** — `For Retail`, `For Rent`, and `Auction Results` metadata (sold prices may be login-gated)

### Input

| Field | Type | Default | Description |
| :--- | :--- | :--- | :--- |
| `startUrls` | Array | John Deere tractors sample | Search, category, dealer inventory, or detail URLs |
| `searchQuery` | String | — | Keywords for a built search URL |
| `listingType` | String | `For Retail` | `For Retail`, `For Rent`, or `Auction Results` |
| `manufacturer` | String | — | e.g. `JOHN DEERE`, `CASE IH`, `KUBOTA` |
| `category` | String | — | Category id (e.g. `1100` tractors, `1112` combines) |
| `accountCrmId` | String | — | Dealer `AccountCRMID` inventory watch |
| `state` | String | — | US state filter when building a search URL |
| `runMode` | String | `listings` | `listings` or `details` |
| `pricedOnly` | Boolean | `false` | Keep only rows with a published price |
| `maxItems` | Integer | `100` | Emit budget (seed run: fingerprint budget) |
| `maxPagesPerUrl` | Integer | `10` | Pages per start URL (~28 listings/page) |
| `monitorMode` | Boolean | `false` | Delta tracking via named KV store |
| `monitorStoreName` | String | `tractorhouse-monitor-state` | Distinct name per watch target |
| `proxyConfiguration` | Object | US Residential prefill | Apify proxy settings |

```json
{
  "startUrls": [
    {
      "url": "https://www.tractorhouse.com/listings/search?ListingType=For%20Retail&AccountCRMID=27106803"
    }
  ],
  "runMode": "listings",
  "monitorMode": true,
  "monitorStoreName": "th-dealer-27106803",
  "maxItems": 500,
  "maxPagesPerUrl": 20,
  "pricedOnly": true,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": ["RESIDENTIAL"],
    "apifyProxyCountry": "US"
  }
}
```

With `monitorMode: true`, the first run seeds fingerprints and writes **no** dataset rows. Later scheduled runs emit only `changeType: "new"` or `"price_change"`.

### Output

| Field | Description |
| :--- | :--- |
| `id` | Listing id |
| `title` / `make` / `model` / `year` | Equipment identity |
| `price` / `currency` / `priceFormatted` | Asking price when published |
| `hours` / `serialNumber` / `stockNumber` | Specs from the card |
| `dealerName` / `dealerPhone` / `dealerWebsite` | Dealer contact |
| `accountCrmId` | Dealer account key for inventory watch URLs |
| `location` / `city` / `state` / `postalCode` | Machine location |
| `images` / `imageCount` | Photo URLs |
| `specs` | Spec key/value map from the card |
| `changeType` / `previousPrice` / `monitoredAt` | Monitor deltas only |

```json
{
  "id": "257864499",
  "title": "2021 BOBCAT V923",
  "make": "BOBCAT",
  "model": "V923",
  "year": "2021",
  "price": 92500,
  "currency": "USD",
  "priceFormatted": "USD $92,500",
  "condition": "Used",
  "category": "Telehandlers",
  "hours": "570",
  "dealerName": "Canes Inc.",
  "dealerPhone": "+19134989624",
  "accountCrmId": "27106803",
  "location": "Spring Hill, Kansas 66083",
  "url": "https://www.tractorhouse.com/listing/for-sale/257864499/2021-bobcat-v923-telehandlers-lifts"
}
```

### Use cases

| Job | How |
| :--- | :--- |
| **Competitor dealer watch** | `accountCrmId` + `monitorMode` on an Apify Schedule |
| **John Deere / Case IH price scan** | Manufacturer + category filters, `pricedOnly`, export JSON or CSV |
| **Dealer outreach list** | `listings` mode — phones already on retail cards |
| **Equipment valuation comps** | Filter by make/model/year/hours; join with EU boards |
| **Cross-market comps** | Join make/model/year with [Agriaffaires Scraper](https://apify.com/crawloop/agriaffaires-scraper) |
| **MCP / AI research** | Ask an assistant via Apify MCP to run filters and summarize prices |

### Integration examples

#### Node.js

```javascript
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('crawloop/tractorhouse-scraper').call({
  manufacturer: 'JOHN DEERE',
  category: '1100',
  runMode: 'listings',
  maxItems: 50,
  pricedOnly: true,
  proxyConfiguration: {
    useApifyProxy: true,
    apifyProxyGroups: ['RESIDENTIAL'],
    apifyProxyCountry: 'US',
  },
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items.slice(0, 3));
```

#### Python

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_TOKEN")
run = client.actor("crawloop/tractorhouse-scraper").call(
    run_input={
        "accountCrmId": "27106803",
        "runMode": "listings",
        "monitorMode": True,
        "monitorStoreName": "th-dealer-27106803",
        "maxItems": 300,
        "pricedOnly": True,
        "proxyConfiguration": {
            "useApifyProxy": True,
            "apifyProxyGroups": ["RESIDENTIAL"],
            "apifyProxyCountry": "US",
        },
    }
)
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item.get("changeType"), item.get("title"), item.get("price"))
```

#### cURL

```bash
curl "https://api.apify.com/v2/acts/crawloop~tractorhouse-scraper/runs?token=YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d "{\"manufacturer\":\"JOHN DEERE\",\"category\":\"1100\",\"maxItems\":25,\"pricedOnly\":true}"
```

### MCP and AI assistants

Use this Actor from AI tools via [Apify MCP](https://docs.apify.com/platform/integrations/mcp). Connect your Apify account, then call this Actor by its Store ID / name (`crawloop/tractorhouse-scraper`).

Example prompts:

- "Run TractorHouse Scraper for JOHN DEERE tractors, max 40, priced only, and return title, price, hours, dealerPhone as JSON"
- "Monitor dealer AccountCRMID 27106803 on TractorHouse and list only new or price-changed rows"
- "Scrape TractorHouse listings for combines in IA, then compare asking prices with Agriaffaires Scraper for the same make and model"

### Suite next step

After US farm asking prices, pull European farm stock with [Agriaffaires Scraper](https://apify.com/crawloop/agriaffaires-scraper), or European heavy equipment contacts with [Machineryline Scraper](https://apify.com/crawloop/machineryline-scraper).

### FAQ

**Is this a TractorHouse API?**\
There is no official public bulk API for most users. This Actor is a structured scrape / API alternative that returns a dataset you can call from Python, Node.js, cURL, or MCP.

**How do I scrape TractorHouse farm equipment listings?**\
Paste a filtered search or category URL into `startUrls`, set `maxItems`, and run. Or set `manufacturer` + `category` (e.g. John Deere tractors `1100`) and let the Actor build the search URL.

**Do I need details mode for dealer phones?**\
Usually no — retail cards already expose `dealerPhone`, website, and location. Use `details` when you need street address from PDP ld+json.

**How do I watch one dealer?**\
Set `accountCrmId` (from any listing card) or paste a dealer inventory search URL, enable `monitorMode`, pick a unique `monitorStoreName`, and schedule the Actor.

**Why are Auction Results prices empty?**\
Sold amounts are often login-gated in anonymous HTML (`Price: 0`). The Actor still returns auction metadata; use `pricedOnly` to skip zero rows.

**Which proxy should I use?**\
Apify Residential with `apifyProxyCountry: "US"` is recommended — the site sits behind Cloudflare.

**Can I filter John Deere tractors only?**\
Yes — set `manufacturer` to `JOHN DEERE` and `category` to `1100`, or paste an equivalent search URL in `startUrls`.

**What about Case IH combines or Kubota UTVs?**\
Same pattern: set manufacturer (`CASE IH`, `KUBOTA`, …) and the matching category id from a filtered search URL, or paste that URL directly.

### Related Actors

| Actor | Role |
| :--- | :--- |
| [Agriaffaires Scraper](https://apify.com/crawloop/agriaffaires-scraper) | European farm machinery |
| [Machineryline Scraper](https://apify.com/crawloop/machineryline-scraper) | EU heavy equipment + dealer contacts + monitor |
| [Exapro Scraper](https://apify.com/crawloop/exapro-scraper) | European used industrial machinery |
| [Machineseeker Scraper](https://apify.com/crawloop/machineseeker-scraper) | Machineseeker / Maschinensucher regional boards |
| [Truck1 Scraper](https://apify.com/crawloop/truck1-scraper) | European trucks & construction equipment |
| [Troostwijk Scraper](https://apify.com/crawloop/troostwijk-scraper) | European industrial auction lots |
| [Surplex Scraper](https://apify.com/crawloop/surplex-scraper) | European plant-closure auctions |

# Actor input Schema

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

Search results, category SEO pages, dealer inventory URLs (AccountCRMID / LocationID), or direct listing detail pages. Example: https://www.tractorhouse.com/listings/for-sale/john-deere/tractors/1100

## `searchQuery` (type: `string`):

Optional keyword search appended as a built search URL (e.g. round baler, 8R, combine).

## `listingType` (type: `string`):

Used when building a search URL from filters (or when startUrls is empty). Auction Results metadata is public; sold prices are often login-gated.

## `manufacturer` (type: `string`):

Filter by brand when building a search URL (e.g. JOHN DEERE, CASE IH, KUBOTA, NEW HOLLAND, BOBCAT).

## `category` (type: `string`):

TractorHouse category id (e.g. 1100 tractors, 1112 combines/harvesters). Used when building a search URL.

## `accountCrmId` (type: `string`):

Watch a single dealer inventory by AccountCRMID (from listing cards). Builds /listings/search?...\&AccountCRMID=...

## `state` (type: `string`):

Optional state filter when building a search URL (e.g. TX, IA, KS).

## `sort` (type: `string`):

Optional sort key for built search URLs (9 = Recently Added, 2 = Price Low→High, 3 = Price High→Low, 5 = Year High→Low).

## `baseUrl` (type: `string`):

Site origin for built search URLs. Default TractorHouse US.

## `runMode` (type: `string`):

listings = fast card fields (price, make/model, hours, dealer phone, images). details = also visit each PDP for ld+json address enrichment.

## `pricedOnly` (type: `boolean`):

Skip Call-for-price / zero-price rows (and gated Auction Results sold prices that show as 0).

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

Maximum dataset rows to emit (in monitor seed runs: max listings to fingerprint).

## `maxPagesPerUrl` (type: `integer`):

Maximum pagination pages per search / dealer inventory URL (28 listings per page).

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

Apify Residential Proxies recommended — TractorHouse uses Cloudflare.

## `concurrencyLimit` (type: `integer`):

Parallel PDP fetches in details mode.

## `monitorMode` (type: `boolean`):

Delta tracking for category, search, or dealer inventory URLs. First run seeds a named Key-Value store (no dataset rows / alerts). Later runs output only new listings and price changes. Pair with an Apify Schedule.

## `monitorStoreName` (type: `string`):

Named Key-Value store for fingerprints across scheduled runs. Use a distinct name per watch target (dealer or category).

## `telegramToken` (type: `string`):

Bot token for real-time alerts on new listings and price changes (monitorMode only).

## `telegramChatId` (type: `string`):

Telegram user or group chat ID that receives monitor alerts.

## `resetMonitorState` (type: `boolean`):

Clear stored listing fingerprints before this run (forces a fresh seed run).

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.tractorhouse.com/listings/for-sale/john-deere/tractors/1100"
    }
  ],
  "searchQuery": "JOHN DEERE 8R",
  "listingType": "For Retail",
  "manufacturer": "JOHN DEERE",
  "category": "1100",
  "accountCrmId": "27106803",
  "state": "IA",
  "sort": "9",
  "baseUrl": "https://www.tractorhouse.com",
  "runMode": "listings",
  "pricedOnly": false,
  "maxItems": 100,
  "maxPagesPerUrl": 10,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  },
  "concurrencyLimit": 5,
  "monitorMode": false,
  "monitorStoreName": "tractorhouse-monitor-state",
  "resetMonitorState": false
}
```

# Actor output Schema

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

Default dataset items: farm equipment listings with prices, hours, serials, and dealer phones.

# 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.tractorhouse.com/listings/for-sale/john-deere/tractors/1100"
        }
    ],
    "baseUrl": "https://www.tractorhouse.com",
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "apifyProxyCountry": "US"
    },
    "monitorStoreName": "tractorhouse-monitor-state"
};

// Run the Actor and wait for it to finish
const run = await client.actor("crawloop/tractorhouse-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.tractorhouse.com/listings/for-sale/john-deere/tractors/1100" }],
    "baseUrl": "https://www.tractorhouse.com",
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "US",
    },
    "monitorStoreName": "tractorhouse-monitor-state",
}

# Run the Actor and wait for it to finish
run = client.actor("crawloop/tractorhouse-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.tractorhouse.com/listings/for-sale/john-deere/tractors/1100"
    }
  ],
  "baseUrl": "https://www.tractorhouse.com",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  },
  "monitorStoreName": "tractorhouse-monitor-state"
}' |
apify call crawloop/tractorhouse-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,crawloop/tractorhouse-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/b4QEuKFjR5TVpgXEv/builds/tke2VBOk8UpdFG7ZS/openapi.json
