# MachineryTrader Scraper — Dealer Inventory & Price Monitor (`crawloop/machinerytrader-scraper`) Actor

Scrape MachineryTrader heavy 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/machinerytrader-scraper.md
- **Developed by:** [Andrej Kiva](https://apify.com/crawloop) (community)
- **Categories:** E-commerce, Lead generation, Other
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.50 / 1,000 scraped machinerytrader 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

## MachineryTrader Scraper — Dealer Inventory & Price Monitor

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

| Machineryline (EU) | MachineryTrader (US) | Exapro | Troostwijk | Surplex |
| :--- | :--- | :--- | :--- | :--- |
| [Machineryline Scraper](https://apify.com/crawloop/machineryline-scraper) | MachineryTrader Scraper ◄── you are here | [Exapro Scraper](https://apify.com/crawloop/exapro-scraper) | [Troostwijk Scraper](https://apify.com/crawloop/troostwijk-scraper) | [Surplex Scraper](https://apify.com/crawloop/surplex-scraper) |

> **Disclaimer:** Unofficial tool — not affiliated with, sponsored by, or endorsed by MachineryTrader, 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 MachineryTrader scraper does

Extract **MachineryTrader** construction and heavy equipment listings into clean JSON on Apify: asking price, make, model, year, hours, serial number, dealer phone, location, and images. Built for equipment dealers, appraisers, fleet buyers, and data teams who need a MachineryTrader API alternative in **Python**, **Node.js**, or **MCP** workflows — export to dataset / CSV / Excel without manual browsing.

Use `listings` for fast catalog pulls (cards already include dealer phone and specs) or `details` for PDP street-address enrichment. Enable **`monitorMode`** with 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 excavators, mini excavators, dozers, wheel loaders, skid steers, lifts, and aggregate 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 asking prices with EU stock from [Machineryline Scraper](https://apify.com/crawloop/machineryline-scraper)

For European dealer boards, use [Machineryline Scraper](https://apify.com/crawloop/machineryline-scraper). For industrial auction lots, use [Troostwijk Scraper](https://apify.com/crawloop/troostwijk-scraper) or [Surplex Scraper](https://apify.com/crawloop/surplex-scraper). For farm equipment in Europe, see [Agriaffaires Scraper](https://apify.com/crawloop/agriaffaires-scraper).

### US ↔ EU machinery workflow

```
US asking prices                    EU enrichment / auctions
────────────────                    ───────────────────────

  MachineryTrader Scraper ◄── you are here
       │ dealer phones, hours, serials, monitor deltas
       ▼
  Machineryline Scraper ──────────► EU heavy equipment + contacts
  Exapro / Machineseeker ─────────► CNC & industrial boards
  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 | excavators 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. `CATERPILLAR`, `JOHN DEERE`, `KOMATSU` |
| `category` | String | — | Category id (e.g. `1031` excavators, `1025` dozers) |
| `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 | `machinerytrader-monitor-state` | Distinct name per watch target |
| `proxyConfiguration` | Object | US Residential prefill | Apify proxy settings |

```json
{
  "startUrls": [
    {
      "url": "https://www.machinerytrader.com/listings/search?ListingType=For%20Retail&AccountCRMID=10693"
    }
  ],
  "runMode": "listings",
  "monitorMode": true,
  "monitorStoreName": "mt-hampton-excavators",
  "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 |
| `changeType` / `previousPrice` / `monitoredAt` | Monitor deltas only |

```json
{
  "id": "218824435",
  "title": "2026 EARTHWORM CONVEYORS 30X100",
  "make": "EARTHWORM CONVEYORS",
  "model": "30X100",
  "year": "2026",
  "price": 56730,
  "currency": "USD",
  "priceFormatted": "USD $56,730",
  "condition": "New",
  "category": "Conveyor / Feeder / Stacker Aggregate Equipment",
  "dealerName": "Hampton Equipment LLC",
  "dealerPhone": "+12606385032",
  "accountCrmId": "10693",
  "location": "Fort Wayne, Indiana 46816",
  "url": "https://www.machinerytrader.com/listing/for-sale/218824435/2026-earthworm-conveyors-30x100-conveyor-slash-feeder-slash-stacker-aggregate-equipment"
}
```

### Use cases

| Job | How |
| :--- | :--- |
| **Competitor dealer watch** | `accountCrmId` + `monitorMode` on an Apify Schedule |
| **Category price scan** | Category / manufacturer filters, `pricedOnly`, export JSON or CSV |
| **Dealer outreach list** | `listings` mode — phones already on retail cards |
| **Cross-market comps** | Join make/model/year with [Machineryline Scraper](https://apify.com/crawloop/machineryline-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/machinerytrader-scraper').call({
  manufacturer: 'CATERPILLAR',
  category: '1031',
  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/machinerytrader-scraper").call(
    run_input={
        "accountCrmId": "10693",
        "runMode": "listings",
        "monitorMode": True,
        "monitorStoreName": "mt-dealer-10693",
        "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~machinerytrader-scraper/runs?token=YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d "{\"manufacturer\":\"JOHN DEERE\",\"category\":\"1031\",\"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/machinerytrader-scraper`).

Example prompts:

- "Run MachineryTrader Scraper for CATERPILLAR excavators, max 40, priced only, and return title, price, hours, dealerPhone as JSON"
- "Monitor dealer AccountCRMID 10693 on MachineryTrader and list only new or price-changed rows"
- "Scrape MachineryTrader listings for skid steers in TX, then compare asking prices with Machineryline Scraper for the same make and model"

### Suite next step

After US asking prices, pull European dealer stock and contacts with [Machineryline Scraper](https://apify.com/crawloop/machineryline-scraper), or industrial auction lots with [Surplex Scraper](https://apify.com/crawloop/surplex-scraper).

### FAQ

**Is this a MachineryTrader 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.

**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 Caterpillar excavators only?**\
Yes — set `manufacturer` to `CATERPILLAR` and `category` to `1031`, or paste an equivalent search URL in `startUrls`.

### Related Actors

| Actor | Role |
| :--- | :--- |
| [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 |
| [Agriaffaires Scraper](https://apify.com/crawloop/agriaffaires-scraper) | European farm machinery |
| [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.machinerytrader.com/listings/search?ListingType=For%20Retail\&Category=1031

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

Optional keyword search appended as a built search URL (e.g. excavator, D6, skid steer).

## `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. CATERPILLAR, JOHN DEERE, KOMATSU, BOBCAT).

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

MachineryTrader category id (e.g. 1031 excavators, 1025 dozers, 1001 aggregate). 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, CA, FL).

## `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 MachineryTrader 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 — MachineryTrader 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.machinerytrader.com/listings/search?ListingType=For%20Retail&Category=1031"
    }
  ],
  "searchQuery": "CATERPILLAR 320",
  "listingType": "For Retail",
  "manufacturer": "CATERPILLAR",
  "category": "1031",
  "accountCrmId": "10693",
  "state": "TX",
  "sort": "9",
  "baseUrl": "https://www.machinerytrader.com",
  "runMode": "listings",
  "pricedOnly": false,
  "maxItems": 100,
  "maxPagesPerUrl": 10,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  },
  "concurrencyLimit": 5,
  "monitorMode": false,
  "monitorStoreName": "machinerytrader-monitor-state",
  "resetMonitorState": false
}
```

# Actor output Schema

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

Default dataset items: 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.machinerytrader.com/listings/search?ListingType=For%20Retail&Category=1031"
        }
    ],
    "baseUrl": "https://www.machinerytrader.com",
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "apifyProxyCountry": "US"
    },
    "monitorStoreName": "machinerytrader-monitor-state"
};

// Run the Actor and wait for it to finish
const run = await client.actor("crawloop/machinerytrader-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.machinerytrader.com/listings/search?ListingType=For%20Retail&Category=1031" }],
    "baseUrl": "https://www.machinerytrader.com",
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "US",
    },
    "monitorStoreName": "machinerytrader-monitor-state",
}

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

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).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.machinerytrader.com/listings/search?ListingType=For%20Retail&Category=1031"
    }
  ],
  "baseUrl": "https://www.machinerytrader.com",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  },
  "monitorStoreName": "machinerytrader-monitor-state"
}' |
apify call crawloop/machinerytrader-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=crawloop/machinerytrader-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

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