# Ritchie Bros Auction Scraper - Heavy Equipment Listings (`s-r/rbauction-scraper`) Actor

Export Ritchie Bros, IronPlanet and GovPlanet heavy equipment listings with year, hours, mileage, location, bids, inspection status and closing dates. Filter by keyword, category, manufacturer and country.

- **URL**: https://apify.com/s-r/rbauction-scraper.md
- **Developed by:** [SR](https://apify.com/s-r) (community)
- **Categories:** E-commerce, Business
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$1.90 / 1,000 lots

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

## Ritchie Bros Auction Scraper

Export Ritchie Bros auction lots as structured equipment listings. Collect titles, manufacturers, models, years, hours, mileage, locations, bids, inspection statuses and auction closing dates for equipment research and inventory monitoring.

### Ritchie Bros auction equipment data

This Actor searches the public equipment catalogue on rbauction.com. It covers agricultural machinery, construction equipment, trucks, trailers and the other industries available through that catalogue. Results may include lots listed through Ritchie Bros. Auctioneers, IronPlanet, GovPlanet, TruckPlanet, Marketplace-E and SalvageSale. The `buying_platform` field identifies the source marketplace when the catalogue provides it.

Each delivered dataset row represents one equipment lot. A stable `listing_id` lets you join subsequent exports without relying on titles, which can be similar across machines. Use the Actor to follow available inventory, identify comparable equipment, prepare a dealer shortlist or monitor upcoming auctions in a chosen region. These records describe public listings and published bids; they do not certify equipment condition or establish a final transaction value.

### Input

Start with a search term, a list of terms, a Ritchie Bros search URL or an equipment filter. For example, this input selects agricultural equipment containing the word tractor:

```json
{
  "query": "tractor",
  "industry": "agriculture",
  "max_items": 100
}
```

Use `queries` to collect several search terms within one run. All terms share the same `max_items` limit. Identical lots found through different terms are delivered once, using their stable item identifiers. Searches are processed in the supplied order, so a broad first search can fill the requested maximum before later searches are reached. Put your most relevant search first or run separate collections when each term needs its own allocation.

The `startUrls` option accepts HTTPS URLs on rbauction.com with a `/search` path or a `/cp/<industry>` category path. For example, the following URL searches the agriculture category for tractors:

```json
{
  "startUrls": [
    "https://www.rbauction.com/cp/agriculture?freeText=tractor"
  ],
  "max_items": 100
}
```

Supported search URL parameters include `freeText`, `industries`, `categories`, `manufacturers`, `manufactureYearRange`, `listingStatuses` and the three location filter levels. Existing page size and offset parameters are replaced by the collection settings. Unsupported parameters are rejected so that a filter is never silently ignored. Category URLs and equivalent search filters produce the same collection.

Use `industry` for a broad equipment group and `category` for a more specific category slug. For instance, `agriculture` is an industry and `agricultural-tractors` is a category. The `manufacturer` filter uses a published manufacturer name, such as John Deere. The `year_min` and `year_max` filters select manufacture years. Supplying one year bound fills the other with 1900 or the current year plus two. A reversed range is rejected.

Choose either `country` or `region`. Country uses two-letter codes such as US, CA, IT, DE, GB, NL, AU and NZ. The accepted country list is documented in the input form. Region supports USA, CAN, EUR, AUO, MEX, MID, ASI, CSA and AFR. Country and region cannot be combined in one request. A search URL must likewise use just one location level. Explicit input filters override their corresponding URL filters.

### Output

The dataset includes the core fields `source`, `fetched_at`, `listing_id`, `url`, `title`, `price`, `currency`, `country`, `brand`, `image_url` and `position`. Equipment fields include `model`, `year`, `hours`, `kilometers`, `miles`, `distance_unit`, `serial_number`, `industry`, `category` and `asset_type`. Locations include the published location label, city, state, original three-letter country code and latitude and longitude.

Auction fields include `lot_number`, `auction_name`, `auction_id`, `auction_start`, `auction_end`, `bidding_end`, `time_zone`, `inspection_status`, `listing_status`, `buying_format` and `buying_platform`. The individual lot closing time is `bidding_end`; the overall auction ending time is `auction_end`. Date-time values are expressed in UTC. The original event time zone is retained separately.

Missing source values remain null. A lot without an assigned lot number, manufacture year or mileage is still a useful listing and remains in the export. A missing mileage value is different from zero. Kilometers and miles are the source's own distance values; `distance_unit` preserves the original unit. Inspection statuses and equipment flags are copied from the listing and should be interpreted with the auctioneer's documentation.

A real row, from the input `{"query": "tractor", "country": "IT"}` (shortened to the most used fields; the full row carries every field listed above):

```json
{
  "listing_id": "16138170",
  "lot_number": "41",
  "title": "2019 Fendt 939 Vario 4WD Tractor",
  "brand": "Fendt",
  "model": "939 Vario",
  "year": 2019,
  "hours": 11351,
  "industry": "Agriculture",
  "category": "Agricultural Tractors",
  "location": "Stornarella, ITA",
  "country": "IT",
  "currency": "EUR",
  "auction_name": "Italy Auction, ITA - Nov 03, 2026",
  "bidding_end": "2026-11-03T09:10:00.000Z",
  "auction_end": "2026-11-03T18:00:00.000Z",
  "inspection_status": "INSPECTION_COMPLETED",
  "buying_format": "Timed Auction",
  "buying_platform": "Ritchie Bros. Auctioneers",
  "url": "https://www.rbauction.com/pdp/2019-fendt-939-vario-4wd-tractor/16138170"
}
```

#### Understanding prices

The `price` field follows the displayed `current_bid`. It is not a confirmed sale price. Depending on the buying format, this may be a running bid or an offer amount. The separate `current_bid`, `start_price` and `buy_now_price` fields retain the original price concepts. Every amount uses the row's `currency`. Do not compare numeric amounts from different currencies without converting them yourself. Historic listing URLs can be collected with `listingStatuses=Sold`, but realized sold prices are outside this Actor's output.

### Use cases

- **Dealers and brokers:** build a shortlist of tractors, loaders or trucks closing in the next weeks, per country, with year and hours side by side.
- **Farm businesses:** follow upcoming agricultural equipment auctions near you and compare comparable machines before bidding.
- **Lenders and insurers:** keep a dated record of what similar equipment is listed with, as a reference for collateral and replacement values.
- **Market analysts:** track how many lots appear per category, region and auction over time.

### Ritchie Bros auction scraper compared with other options

Browsing rbauction.com by hand works for a few machines, but it does not give you a table you can sort, join or schedule. This Actor returns one flat row per lot with a stable `listing_id`, so repeated exports can be compared. It follows pagination until your maximum, filters by keyword, category, manufacturer and country, and leaves values null when the catalogue has none instead of guessing. It reads the public listing data only: it does not log in, place bids or return realized sale prices.

### Pricing

Collection is metered per delivered unique lot through the `lot` event. There is no separate start event. The current Store pricing panel is authoritative for the event prices. Empty searches deliver no lots and incur no lot event charge. Duplicate records do not produce additional delivered rows or additional lot charges. Accounts without a paid subscription are limited to ten delivered lots per run; this is a volume limit rather than a promise that those lots are free.

The default maximum is 100 lots and the supported maximum is 10,000 per run. Large collections continue automatically until the requested maximum, the source end or the available run time. The summary reports warnings and incomplete collection. A changing catalogue can shift positions while a collection is running, so results represent a current observation rather than a frozen inventory snapshot.

### FAQ

#### Can I collect several equipment types together?

Yes. Supply several terms through `queries`, or supply multiple supported search URLs through `startUrls`. The maximum applies to the combined collection and matching lot identifiers are deduplicated.

#### Why is a lot number or mileage missing?

Auctioneers may assign lot numbers later, and not every listing reports operating hours or mileage. The Actor preserves these differences using null values rather than inventing equipment specifications.

#### Does price mean the final hammer price?

No. Price is the current displayed bid or offer amount from the search listing. Final sold prices require a different source and are not included here. Use `buying_format` and the individual price fields when interpreting a row.

#### Are closing dates the same for every lot in an auction?

Not necessarily. `bidding_end` belongs to the individual lot, while `auction_start` and `auction_end` describe the auction event. Use the lot field when scheduling bidding or monitoring an individual machine.

# Actor input Schema

## `query` (type: `string`):

Search text, for example tractor. Combine with filters or use queries for multiple searches.

## `queries` (type: `array`):

Search terms collected in order, sharing max_items and deduplicated by lot identifier.

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

HTTPS Ritchie Bros /search or /cp/<industry> URLs. Search filters are retained; size and from are controlled by this scraper.

## `industry` (type: `string`):

Industry slug. Agriculture includes tractors and other farm equipment.

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

Category slug from the website, for example agricultural-tractors.

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

Manufacturer name as shown on the website, for example John Deere.

## `year_min` (type: `integer`):

Minimum manufacture year. Missing lower bound becomes 1900.

## `year_max` (type: `integer`):

Maximum manufacture year. Missing upper bound becomes the current UTC year plus two. Future years beyond that are rejected.

## `country` (type: `string`):

ISO alpha-2 country: US, CA, MX, ES, FR, DE, IT, GB, NL, IE, PL, SE, DK, NO, PT, FI, AT, BE, CH, AU or NZ. Cannot be combined with region.

## `region` (type: `string`):

Broad equipment location region. Use either region or country.

## `max_items` (type: `integer`):

Maximum unique lots across all searches. Non-paying accounts are capped at 10 delivered lots.

## Actor input object example

```json
{
  "query": "tractor",
  "max_items": 100
}
```

# Actor output Schema

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

One row per delivered lot.

## `summary` (type: `string`):

Delivery, warnings and billing summary.

# 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 = {
    "query": "tractor"
};

// Run the Actor and wait for it to finish
const run = await client.actor("s-r/rbauction-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 = { "query": "tractor" }

# Run the Actor and wait for it to finish
run = client.actor("s-r/rbauction-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 '{
  "query": "tractor"
}' |
apify call s-r/rbauction-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,s-r/rbauction-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/sWtVFEHu9T80Lz5e7/builds/erzTscacplTWOjhHF/openapi.json
