# Ritchie Bros Scraper — Heavy Equipment Auctions (`rastriq/rbauction-scraper`) Actor

Scrape auction listings and results from RitchieBros.com (RB Auction), the world's largest industrial auctioneer. Extract hammer prices, lot details, make, model, year, hours, location, and photos. Track equipment values across construction, agriculture, and transportation.

- **URL**: https://apify.com/rastriq/rbauction-scraper.md
- **Developed by:** [Rastriq — Structured data from the world](https://apify.com/rastriq) (community)
- **Categories:** E-commerce, Lead generation
- **Stats:** 26 total users, 11 monthly users, 99.2% runs succeeded, 2 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

from $1.90 / 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?

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

## Ritchie Bros Scraper — Heavy Equipment Auctions, Sold Prices & Listings

![rbauction](https://www.rastriq.es/readme/equip.png)

Extract **auction listings, hammer prices, equipment specs, and inspection data** from Ritchie Bros — the world's largest industrial auctioneer with 1.6M+ listings across 5 platforms. No login or API key required.

> **Try it free** — your first $5 of usage is on Apify. No credit card required.

### 🔍 What is Ritchie Bros Scraper?

**Ritchie Bros Scraper** is an unofficial Ritchie Bros API that extracts equipment auction data from the entire Ritchie Bros network — including IronPlanet, GovPlanet, TruckPlanet, and Marketplace-E.

Use Ritchie Bros Scraper to:

- **Track sold prices** — extract final hammer prices for equipment valuation and market intelligence
- **Monitor active inventory** — track new listings, preview items, and open auctions across 5 platforms
- **Analyze equipment data** — extract make, model, year, hours, condition, serial number, location, and photos
- **Build market databases** — structured data for 14 industries, 2,000+ manufacturers, and 9 global regions
- **Automate procurement intelligence** — schedule daily runs and integrate via API, Make, or Zapier

### 📊 Two data modes

| Mode | What it delivers | Use case |
|------|-----------------|----------|
| **🟢 Active listings** | Equipment currently for sale — new, preview, and open auction items | Inventory monitoring, procurement |
| **🔴 Sold items** | Completed auctions with final hammer prices, buyer data, and inspection reports | Valuation, market analysis |

> Ritchie Bros Scraper covers **1.6 million+ total listings** including **1.49 million sold items** with hammer prices across 5 buying platforms.

### 📋 What data does Ritchie Bros Scraper extract?

| Field | Type | Description |
|-------|------|-------------|
| `make` | string | Equipment manufacturer (Cat, John Deere, Komatsu, Volvo, etc.) |
| `model` | string | Model name/number (320, D6, PC200, etc.) |
| `year` | string | Manufacture year |
| `type` | string | Equipment type (Tracked Excavator, Wheel Loader, etc.) |
| `category` | string | Equipment category (Excavators, Forklifts, Truck Tractors, etc.) |
| `condition` | string | Listing status — new, sold, preview, open |
| `price` | string | Starting/asking price or final hammer price |
| `currency` | string | Price currency (USD, CAD, EUR, AUD, etc.) |
| `hours` | string | Usage hours (e.g., "2,735 h") |
| `serial_number` | string | Equipment serial number |
| `location` | string | City, state/province |
| `country` | string | Country code (USA, CAN, GBR, AUS, etc.) |
| `images` | array | Photo URLs. With **Include details** on, the full gallery (~25–30 original-resolution photos per lot); otherwise the single thumbnail |
| `ext_sale_event_name` | string | Auction event name and dates |
| `ext_buying_platform` | string | Platform — Ritchie Bros, IronPlanet, GovPlanet, etc. |
| `ext_buying_format` | string | Live Auction, Timed Auction, Make Offer, etc. |
| `ext_industry` | string | Industry — Construction, Agriculture, Trucks, Mining, etc. |
| `ext_features` | string | Equipment features and specifications |
| `ext_inspection_status` | string | Inspection status (completed, pending) |
| `ext_inspection_rating` | string | Overall condition rating (Excellent, Very Good, Good, Fair, Not Viewed) — requires **Include details** |
| `ext_inspection_details` | array | Per-module function-check results (engine, drivetrain, hydraulics, etc.) — requires **Include details** |
| `ext_iron_clad` | boolean | IronClad Assurance guarantee |

> **Full photo gallery and inspection detail require `fetchDetails=true`.** With details enabled, `images` returns the complete deduplicated gallery (the same ~25–30 photos shown on the Ritchie Bros listing page, at original resolution) and `ext_inspection_rating` / `ext_inspection_details` expose the third-party inspection report (engine/drivetrain/hydraulics function checks, hour-meter reading, serial verified on the machine). Without details, `images` contains only the primary thumbnail.

> [**Browse sample data**](https://api.apify.com/v2/datasets/rastriq~rbauction-scraper-sample/items?limit=20\&format=html) — see exactly what you'll get before running.

### 📦 Output example

Each result is a structured JSON object. Here's a real sold excavator from a Ritchie Bros auction:

```json
{
  "source": "rbauctions",
  "item_id": "D963C5E3-DEC3-30AB-992D-FF9FDEF9DE99",
  "category": "Excavators",
  "url": "https://www.ironplanet.com/jsp/s/item/13355071",
  "make": "Caterpillar",
  "model": "310",
  "year": "2021",
  "condition": "sold",
  "type": "Tracked Excavator",
  "location": "Calgary, AB",
  "hours": "2735.0 h",
  "price": "75000.0",
  "currency": "CAD",
  "country": "CAN",
  "serial_number": "CAT00310EGWT01725",
  "images": [
    "https://www-ironplanet.s3-us-west-2.amazonaws.com/i/19035/967/e896ee22-772a-42f5-9020-82a347e51ea5.jpg",
    "https://www-ironplanet.s3-us-west-2.amazonaws.com/i/19035/967/4b267286-f856-4db0-8c68-f292dfe3ce85.jpg"
    // ...full gallery (~25-30 photos) when fetchDetails=true
  ],
  "ext_listing_status": "Sold",
  "ext_asset_description": "2021 CAT 310 Tracked Excavator",
  "ext_industry": "Construction",
  "ext_sale_event_name": "29-May-25 FE",
  "ext_buying_platform": "IronPlanet",
  "ext_buying_format": "Online Auction",
  "ext_inspection_status": "INSPECTION_COMPLETED",
  "ext_inspection_rating": "Good",
  "ext_inspection_details": [
    { "module": "Engine", "component": "Limited Function Check", "rating": 0, "description": "The engine started and ran." },
    { "module": "Hydraulics", "component": "Limited Function Check", "rating": 0, "description": "The hydraulic system was operational." }
  ],
  "ext_iron_clad": true,
  "ext_features": "Air Conditioner, Rear View Camera, Tier 4, Auxiliary Hydraulic Plumbing, Backfill Blade, Hydraulic Quick Coupler, 48 in Cleanup Bucket"
}
```

Download results from Ritchie Bros Scraper in **JSON, CSV, Excel, XML, or HTML** from the Output tab, or pull them via API.

> [**Browse sample records**](https://api.apify.com/v2/datasets/rastriq~rbauction-scraper-sample/items?limit=20\&format=html) — see exactly what you'll get before running.

> **GDPR note** — Contact fields of private sellers and dealers (`telefono, correo, compania, ref_anunciante`) are replaced with `"GDPR Protection"` in the public sample dataset. The live Actor returns full values — your data, your responsibility.

### See real records before you run it

[Browse sample data](https://console.apify.com/storage/datasets/g9sHhAx4ZKaoIPrRA) extracted by this Actor — fields, format and structure, ready to inspect before your first run.

### 🚀 How to use Ritchie Bros Scraper

1. **Create a free Apify account** at [apify.com](https://apify.com) — your first $5 is free
2. **Open Ritchie Bros Scraper** and click **Try for free**
3. **Select a listing status** — Sold (for hammer prices), or New/Preview/Open (for active inventory)
4. **Set equipment filters** — industry, category, manufacturer, model, year range
5. **Click Start** — default settings return 50 results in about 10 seconds
6. **Preview your data** in the Output tab
7. **Export** in JSON, CSV, or Excel — or connect via API, Make, or Zapier

> **Tip**: Start with the default Quick Test preset to see the output format before customizing filters.

### ⚙️ Input parameters

| Parameter | Type | Default | Description |
|-----------|------|---------|-------------|
| `data_freshness` | select | `snapshot` | Data source — live API or pre-indexed snapshot |
| `runPreset` | select | `quick_test` | Run mode — Quick test (50 items), Standard, Full sweep |
| `maxItems` | integer | `50` | Hard cap on results |
| `listingStatuses` | multi-select | `all` | Sold, New, Preview, Open — filter by listing status |
| `industry` | select | — | Construction, Agriculture, Trucks, Mining, Forestry, etc. (14 industries) |
| `categories` | select | — | Excavators, Wheel Loaders, Forklifts, Truck Tractors, etc. |
| `manufacturerName` | string | — | Filter by manufacturer (Cat, John Deere, Komatsu, Volvo, etc.) |
| `modelName` | string | — | Filter by model name |
| `manufactureYearRange` | range | — | Min/max manufacture year |
| `country` | select | — | Country or region filter (USA, Canada, Europe, etc.) |
| `fetchDetails` | boolean | `true` | Include sold prices and inspection data |
| `fetchBidHistory` | boolean | `false` | Include full bid history per lot |
| `sortField` / `sortOrder` | select | — | Sort by date, price, make, etc. |
| `maxPages` | integer | `3` | Pages to scrape (~50 items each) |

### 💰 How much does it cost to use Ritchie Bros Scraper?

**$1.90 per 1,000 listings** (+ $0.005 per start). Your $5 free trial credit covers ~2,600 listings.

### 🌍 Coverage

- **1.6 million+** total listings across all platforms
- **1.49 million** sold items with hammer prices
- **14 industries** — Construction, Agriculture, Trucks & Trailers, Lifting & Cranes, Mining, Forestry, and more
- **2,000+ manufacturers** — Caterpillar, John Deere, Komatsu, Volvo, Freightliner, Peterbilt, and more
- **5 platforms** — Ritchie Bros Auctioneers, IronPlanet, GovPlanet, TruckPlanet, Marketplace-E
- **9 regions** — USA, Canada, Europe, Oceania, Mexico, Middle East, Asia, Africa, South America

### 💡 Use cases

- **Equipment valuation** — analyze sold prices by make, model, year, and hours to estimate fair market value
- **Procurement intelligence** — monitor active inventory and upcoming auctions to find the right equipment at the right price
- **Market research** — track pricing trends across industries, categories, and geographies over time
- **Competitive analysis** — compare sold prices across platforms (Ritchie Bros vs. IronPlanet vs. GovPlanet)
- **Fleet management** — monitor equipment availability and pricing for fleet replacement planning
- **Insurance & finance** — build valuation datasets for equipment lending, leasing, and insurance underwriting

### 🔗 Integrations & scheduling

- **Schedule** daily or weekly runs from the Apify Console for automated data collection
- Push results to **Google Sheets, Slack, Zapier, Make, webhooks**, or any database
- Fetch datasets via the **Apify REST API** or the official JavaScript/Python clients
- Use [Apify integrations](https://apify.com/integrations) to connect to 200+ apps

### 🏗️ Related Rastriq Actors

| Actor | Description |
|-------|-------------|
| [Machineseeker Scraper](https://apify.com/rastriq/machineseeker-scraper) | European used machinery marketplace — industrial equipment listings and prices |
| [Coches.net Scraper](https://apify.com/rastriq/cochesnet-spain) | Spain's largest car marketplace — vehicle listings, prices, and dealer data |
| [Wallapop Cars Scraper](https://apify.com/rastriq/wallapop-cars-scraper) | Spanish classifieds — used car listings, prices, and seller data |
| [Collecting Cars Scraper](https://apify.com/rastriq/collecting-cars-scraper) | UK's leading online car auction platform |

### Copy to your AI assistant

Copy the Apify Store URL for this Actor and paste it into ChatGPT, Claude, or any LLM with web access:

```
https://apify.com/rastriq/rbauction-scraper
```

The model will read the Actor description, input schema, and field list — then help you build the right API call or integration.

### About the data

This Actor is built and maintained by [Rastriq](https://www.rastriq.es), a data intelligence company specializing in structured extraction for market research and competitive analysis. Browse our full [field reference and methodology](https://www.rastriq.es/en/heavy-equipment/#campos).

### ❓ FAQ

#### Is scraping Ritchie Bros legal?

Ritchie Bros Scraper only accesses **publicly available data** — information visible to any visitor without logging in. You are responsible for using the extracted data in compliance with Ritchie Bros' Terms of Service and applicable data protection laws.

#### Does Ritchie Bros Scraper require a login or API key?

No. Ritchie Bros Scraper works with public data only — no login, API key, or account required.

#### What platforms are covered?

All five Ritchie Bros buying platforms: Ritchie Bros Auctioneers (live auctions), IronPlanet (online auctions), GovPlanet (government surplus), TruckPlanet (trucks and trailers), and Marketplace-E (make-offer listings).

#### Can I get sold prices?

Yes. Set **Listing status** to **Sold** and enable **Include sold prices and inspection data**. Sold items include the final hammer price, currency, auction event, and inspection details.

#### What industries are covered?

14 industries: Construction, Agriculture, Trucks & Trailers, Lifting & Cranes, Mining, Forestry, Government Surplus, Marine, Oilfield, Real Estate, and more.

#### How far back do sold prices go?

Ritchie Bros Scraper accesses the full historical archive of sold items available on the platform — typically several years of auction results.

#### Can I filter by location?

Yes. Filter by country (USA, Canada, UK, Australia, etc.) and sub-region. The location field includes city and state/province for each listing.

#### What export formats are supported?

JSON, CSV, Excel (XLSX), XML, and HTML table. You can also push data directly to Google Sheets or any webhook endpoint.

#### How fast is Ritchie Bros Scraper?

The Quick Test preset returns 50 items in about 10 seconds. Larger runs (10,000+ items) take 20–30 minutes depending on enrichment options.

# Actor input Schema

## `data_freshness` (type: `string`):

Choose <b>Preloaded</b> for instant access to pre-built monthly snapshots at a lower cost.<br><br><b>Active listings</b>: monthly snapshot of all active equipment across every category and country (~20K items). Filters supported: <code>categoryName</code>, <code>manufacturerName</code>, <code>country</code>, <code>listingStatuses</code>, <code>snapshotMonth</code>. Filters not supported in this mode: <code>buyingFormat</code>, <code>buyingPlatform</code>, <code>industry</code>.<br><br><b>Sold auctions</b>: cumulative historical auction results with final prices (~1.7M items). Additional filters: <code>soldFrom</code>, <code>soldTo</code>.<br><br>Choose <b>Live</b> to scrape the marketplace in real time — all filters are supported and results are up to the minute.<br><br><b>Note:</b> Preloaded snapshots are rebuilt monthly. If you need filters not supported in preloaded mode (e.g. <code>buyingFormat</code>) or need real-time accuracy, switch to <b>Live</b>. You can also use <b>dryRun</b> to check how many listings match your filters before committing to a full run.

## `runPreset` (type: `string`):

Pre-configured run modes that set optimal defaults for common use cases. Select a preset and the actor will override listing statuses, enrichment toggles, and max pages automatically.<br><br>You can still adjust individual fields after selecting a preset — manual values take priority where explicitly set.<br><br>Choose <b>Custom</b> to configure everything manually.

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

Maximum number of items to return. Set to 0 for no limit (returns all matching items).<br><br>Only applies to <b>preloaded</b> mode. In live mode, use <b>Max pages</b> instead.

## `directCategoryUrls` (type: `string`):

Paste one or more category URLs from the Ritchie Bros network, one per line. The actor translates each URL into the correct Category or Equipment subtype filter.<br><br>Default quick test: <code>https://www.rbauction.com/cp/mini-excavator-6-6t</code><br><br>This default returns open mini excavator listings and should finish in under 1 minute with Max pages = 1.

## `listingStatuses` (type: `array`):

Select one or more statuses:<br><b>Open</b> - currently available for bidding or purchase.<br><b>New</b> / <b>Preview</b> - upcoming or not fully open yet.<br><b>Sold</b> - completed listings with historical sale data when available.<br><br>Tip: for active inventory ingestion, select <b>Open</b>. For market history, select <b>Sold</b>.

## `maxPages` (type: `integer`):

How many pages of results to collect. Each page contains up to 50 items.<br><br>- 1 page = up to 50 items, useful for testing.<br>- 20 pages = up to 1,000 items.<br>- 200 pages = up to 10,000 items.<br><br>Only applies to <b>live</b> mode.

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

Broad RB Auction industry. Leave on All to include every industry.

## `categories` (type: `array`):

Optional top-level equipment category.

## `assetTypes` (type: `array`):

Optional specific equipment subtype.

## `keywords` (type: `string`):

Optional broad free-text search across listing fields.

## `categoryName` (type: `string`):

Advanced fallback for category names not available in the selector.

## `manufacturerName` (type: `string`):

Manufacturer name as it appears on Ritchie Bros. Examples: Cat, John Deere, Komatsu, Volvo, Bobcat, Kubota.

## `modelName` (type: `string`):

Type the model name. Works best when <b>Manufacturer</b> is also set.

## `manufactureYearRange_min` (type: `integer`):

Only include equipment manufactured in this year or later.

## `manufactureYearRange_max` (type: `integer`):

Only include equipment manufactured in this year or earlier.

## `buyingPlatform` (type: `string`):

Optional marketplace filter.

## `buyingFormat` (type: `string`):

How the equipment is being sold.

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

Where the equipment is physically located.

## `subRegion` (type: `string`):

Narrow within the selected country/region above.

## `usageHoursRange_min` (type: `integer`):

Only include equipment with at least this many machine hours.

## `usageHoursRange_max` (type: `integer`):

Only include equipment with fewer than this many machine hours.

## `usageKilometersRange_min` (type: `integer`):

Minimum odometer reading.

## `usageKilometersRange_max` (type: `integer`):

Maximum odometer reading.

## `fetchDetails` (type: `boolean`):

Adds sold price, inspection rating, extra photos, and serial number.<br><br>Disable for faster runs.

## `fetchBidStatus` (type: `boolean`):

For active auctions: current bid amount, bid count, next required bid, reserve status.

## `fetchListingDetails` (type: `boolean`):

Adds seller info, exact location, subcategory, asset flags, and full photo gallery.

## `fetchBidHistory` (type: `boolean`):

Complete log of every bid placed on each listing.

## `sortField` (type: `string`):

How to order results.

## `sortOrder` (type: `string`):

Ascending or descending order.

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

Proxy for web endpoints. If empty, Apify datacenter proxy is used automatically.

## `dryRun` (type: `boolean`):

When enabled, the actor resolves all filters and returns the total number of matching listings <b>without extracting any data</b>. Use this to validate your input configuration before committing to a full run. The output dataset will contain a single item with the count and the resolved filters.

## `forceRestart` (type: `boolean`):

If true, ignores any saved checkpoint and restarts from scratch.

## `detailConcurrency` (type: `integer`):

How many items to process in parallel.

## `delayBetweenRequests` (type: `integer`):

Wait time between requests in milliseconds.

## `outputSchema` (type: `string`):

Select 'ftp28' to output canonical Spanish field names for FTP-28 pipeline integration.

## `_admin_snapshot` (type: `boolean`):

INTERNAL. Triggers full snapshot of active listings (New+Preview+Open) to Named Dataset. Requires IS\_AUTHOR\_RUN=1 env var. Output tab will be empty — data goes to Storage > Datasets > rbauction-scraper-YYYY-MM.

## `_admin_snapshot_sold` (type: `boolean`):

INTERNAL. Triggers full snapshot of sold auction results (~1.7M items) to Named Dataset. Requires IS\_AUTHOR\_RUN=1 env var. Use timeout=43200 (12h) and memory=1024MB.

## `historyScope` (type: `string`):

Solo para <code>data\_freshness=preloaded\_sold</code>.<br><br><b>latest</b> (por defecto): devuelve solo el delta del último mes (~45K items).<br><b>full</b>: devuelve el maestro completo acumulado (~1.5M items).<br><br>El pointer controla qué dataset se sirve en cada caso.

## `snapshotMonth` (type: `string`):

Filter preloaded results to a specific snapshot month. Format: <b>YYYY-MM</b> — e.g. <code>2026-08</code>.<br><br>For <b>active listings</b>: not needed — the preloaded dataset already contains only the current month.<br><br>For <b>sold history</b> from the master accumulative dataset: use this to filter by month. Available months: <code>2026-07</code>, <code>2026-08</code> (grows monthly).<br><br>When using the standard monthly sold pointer (<code>rbauction-sold-scraper</code>), this field is not needed — it already points to the current month only.

## `soldFrom` (type: `string`):

Solo en data\_freshness=preloaded\_sold. Devuelve unicamente los lotes rematados en esa fecha o despues, segun ext\_gql\_sold\_time\_iso (la fecha del martillo). Sirve para pedir el incremento de un mes en lugar del maestro entero. No confundir con snapshotMonth, que filtra por mes de raspado.

## `soldTo` (type: `string`):

Solo en data\_freshness=preloaded\_sold. Devuelve unicamente los lotes rematados en esa fecha o antes, segun ext\_gql\_sold\_time\_iso.

## Actor input object example

```json
{
  "data_freshness": "live",
  "runPreset": "quick_test",
  "maxItems": 10,
  "directCategoryUrls": "https://www.rbauction.com/cp/mini-excavator-6-6t",
  "listingStatuses": [
    "Open"
  ],
  "maxPages": 1,
  "industry": "",
  "categories": [],
  "assetTypes": [],
  "buyingPlatform": "",
  "buyingFormat": "",
  "country": "",
  "subRegion": "",
  "fetchDetails": false,
  "fetchBidStatus": false,
  "fetchListingDetails": false,
  "fetchBidHistory": false,
  "sortField": "eventEndDateTime",
  "sortOrder": "desc",
  "dryRun": false,
  "forceRestart": true,
  "detailConcurrency": 5,
  "delayBetweenRequests": 500,
  "outputSchema": "english",
  "_admin_snapshot": false,
  "_admin_snapshot_sold": false,
  "historyScope": "latest"
}
```

# Actor output Schema

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

No description

# 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 = {
    "data_freshness": "live",
    "runPreset": "quick_test",
    "maxItems": 10,
    "directCategoryUrls": "https://www.rbauction.com/cp/mini-excavator-6-6t",
    "listingStatuses": [
        "Open"
    ],
    "maxPages": 1,
    "fetchDetails": false,
    "fetchBidStatus": false,
    "fetchListingDetails": false,
    "fetchBidHistory": false,
    "sortField": "eventEndDateTime",
    "sortOrder": "desc",
    "forceRestart": true,
    "outputSchema": "english",
    "historyScope": "latest"
};

// Run the Actor and wait for it to finish
const run = await client.actor("rastriq/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 = {
    "data_freshness": "live",
    "runPreset": "quick_test",
    "maxItems": 10,
    "directCategoryUrls": "https://www.rbauction.com/cp/mini-excavator-6-6t",
    "listingStatuses": ["Open"],
    "maxPages": 1,
    "fetchDetails": False,
    "fetchBidStatus": False,
    "fetchListingDetails": False,
    "fetchBidHistory": False,
    "sortField": "eventEndDateTime",
    "sortOrder": "desc",
    "forceRestart": True,
    "outputSchema": "english",
    "historyScope": "latest",
}

# Run the Actor and wait for it to finish
run = client.actor("rastriq/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 '{
  "data_freshness": "live",
  "runPreset": "quick_test",
  "maxItems": 10,
  "directCategoryUrls": "https://www.rbauction.com/cp/mini-excavator-6-6t",
  "listingStatuses": [
    "Open"
  ],
  "maxPages": 1,
  "fetchDetails": false,
  "fetchBidStatus": false,
  "fetchListingDetails": false,
  "fetchBidHistory": false,
  "sortField": "eventEndDateTime",
  "sortOrder": "desc",
  "forceRestart": true,
  "outputSchema": "english",
  "historyScope": "latest"
}' |
apify call rastriq/rbauction-scraper --silent --output-dataset

```

## MCP server setup

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