# GovPlanet Scraper — Military Surplus & Humvee Auctions (`crawloop/govplanet-scraper`) Actor

Scrape GovPlanet military surplus and government auctions: Humvees, LMTVs, generators, medical lots, prices, IronClad, GPS, auction end dates, and images. Filter by keyword or brand; monitor new lots. Export via API, Python, Node, or MCP.

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

## Pricing

from $2.15 / 1,000 scraped govplanet listings

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## GovPlanet Scraper — Military Surplus & Humvee Auctions

> **Crawloop US Industrial Auctions Suite** — government and military surplus lots (Humvees, LMTVs, generators, field gear) with prices, IronClad, GPS, and auction timing. Pair with Machineryline / Troostwijk / Surplex for EU comps.

| Machineryline (EU) | Troostwijk | Surplex | Truck1 | GovPlanet |
| :--- | :--- | :--- | :--- | :--- |
| [Machineryline Scraper](https://apify.com/crawloop/machineryline-scraper) | [Troostwijk Scraper](https://apify.com/crawloop/troostwijk-scraper) | [Surplex Scraper](https://apify.com/crawloop/surplex-scraper) | [Truck1 Scraper](https://apify.com/crawloop/truck1-scraper) | GovPlanet Scraper ◄── you are here |

> **Disclaimer:** Unofficial tool — not affiliated with, sponsored by, or endorsed by GovPlanet, IronPlanet, Ritchie Bros., RB 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 GovPlanet scraper does

This **GovPlanet scraper** (military surplus scraper / Humvee auction scraper) extracts government and military surplus auction listings into clean JSON on Apify — a practical **GovPlanet API alternative** for surplus dealers, exporters, fleet buyers, appraisers, and collectors. Pull start / bid / buy-now price, make, model, year, hours or miles, serial number, GPS coordinates, IronClad Assurance, auction end time, location, category, and images. Run from **Python**, **Node.js**, **cURL**, or **MCP** / AI assistants and export the dataset to CSV / Excel without manual browsing.

Use `listings` for fast catalog pulls or `details` for PDP enrichment. Enable **`monitorMode`** with an Apify Schedule to track **new surplus lots** and **price changes**.

### When to use

- Scrape GovPlanet weekly online auctions for Humvees / HMMWVs, LMTVs, generators, medical surplus, field gear, and military trailers
- Filter by free-text keywords (`humvee`, `generator`, `AM General`), manufacturer, category slug, IronClad-only, or buying format
- Build exporter / reseller sourcing pipelines with GPS and auction end timestamps
- Monitor a keyword or category daily for new Preview / Open lots and price moves
- Automate GovPlanet data pulls via API, schedules, or MCP instead of manual CSV exports

**When not to use:** for municipal / state surplus (police cars, school fleets), look at broader government-auction workflows outside this Actor. For commercial heavy equipment (not military surplus), use EU boards such as [Machineryline Scraper](https://apify.com/crawloop/machineryline-scraper) or industrial auction Actors like [Troostwijk Scraper](https://apify.com/crawloop/troostwijk-scraper).

### Government surplus auction pipeline

```
US military / federal surplus              EU enrichment
─────────────────────────────              ─────────────

  GovPlanet Scraper ◄── you are here
       │ Humvees, LMTVs, generators, IronClad, GPS
       ▼
  Machineryline / Truck1 ───────────────► EU asking prices & contacts
  Troostwijk / Surplex ─────────────────► EU auction lots & bids

  Join by make + model + year ──► comps, sourcing, residual checks
```

### Key features

- **GovPlanet-only** — scoped to the government & military surplus channel (not a generic industrial mega-scrape)
- **Humvee & surplus auction data** — price, make/model/year, hours/miles, serial, GPS, IronClad, auction dates, features, images
- **Filters** — keywords, manufacturer, category SEO slug, country, buying format, IronClad-only
- **Two run modes** — `listings` (fast) and `details` (PDP enrichment)
- **Monitor mode** — seed fingerprints, then emit only `new` / `price_change` rows
- **HTTP-first** — `curl_cffi` Chrome TLS (no headless browser overhead); Apify Residential (US) recommended

### Input

| Field | Type | Default | Description |
| :--- | :--- | :--- | :--- |
| `startUrls` | Array | GovPlanet heavy-equipment sample | Search or listing URLs |
| `searchQuery` | String | — | Server-side `freeText` keywords (`humvee`, `generator`, …) |
| `listingMode` | String | `active` | `active` or `sold` (best-effort) |
| `manufacturer` | String | — | e.g. `AM General` |
| `categorySlug` | String | — | e.g. `excavators` |
| `ironCladOnly` | Boolean | `false` | Keep IronClad Assurance only |
| `runMode` | String | `listings` | `listings` or `details` |
| `maxItems` | Integer | `100` | Emit budget |
| `maxPages` | Integer | `40` | Pages (~60 listings/page) |
| `monitorMode` | Boolean | `false` | Delta tracking via named KV store |
| `proxyConfiguration` | Object | US Residential prefill | Apify proxy settings |

```json
{
  "searchQuery": "humvee",
  "listingMode": "active",
  "manufacturer": "AM General",
  "ironCladOnly": true,
  "runMode": "listings",
  "maxItems": 200,
  "maxPages": 10,
  "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` / `itemNumber` | Equipment item id |
| `title` / `make` / `model` / `year` | Equipment identity |
| `price` / `currency` / `startPrice` | Best available price fields |
| `hours` / `miles` / `serialNumber` | Usage + serial when published |
| `category` / `industry` | Surplus category (often Government Surplus) |
| `buyingPlatform` / `buyingFormat` / `listingStatus` | Channel metadata |
| `ironCladAssurance` | IronClad inspection flag |
| `latitude` / `longitude` / `location` | GPS + place |
| `auctionName` / `auctionEndAt` | Sale event timing |
| `url` / `rbAuctionUrl` / `images` | GovPlanet + network links and photos |
| `changeType` | Present in monitor mode (`new` / `price_change`) |

```json
{
  "id": "15286937",
  "itemNumber": "15286937",
  "title": "(79) Assorted Infusion Pumps",
  "category": "Medical Supplies",
  "industry": "Government Surplus",
  "price": 13500,
  "currency": "USD",
  "startPrice": 13500,
  "buyingPlatform": "GovPlanet",
  "buyingFormat": "Online Auction",
  "listingStatus": "Preview",
  "ironCladAssurance": true,
  "location": "North Las Vegas, NV, USA",
  "latitude": 36.2132,
  "longitude": -115.1197,
  "auctionName": "11-Aug-26 GovPlanet Auction (NRS Items)",
  "url": "https://www.govplanet.com/for-sale/Medical-Supplies-(79)-Assorted-Infusion-Pumps-NV/15286937",
  "rbAuctionUrl": "https://www.rbauction.com/pdp/15286937",
  "imageUrl": "https://cdn.ironpla.net/i/example.jpg",
  "scrapedAt": "2026-08-10T08:00:00Z"
}
```

### Use cases

1. **Humvee / HMMWV sourcing** — daily AM General pulls with IronClad and auction end times
2. **Generator & power lots** — track surplus gensets ahead of weekly GovPlanet auctions
3. **Exporter pipelines** — dump Preview lots with GPS for depot pickup logistics
4. **Inventory monitors** — schedule the Actor and emit only new / price-change rows
5. **Cross-market joins** — match make/model/year against Machineryline or Troostwijk exports

### 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/govplanet-scraper').call({
  searchQuery: 'humvee',
  manufacturer: 'AM General',
  maxItems: 100,
  runMode: 'listings',
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items.slice(0, 5));
```

#### Python

```python
from apify_client import ApifyClient

client = ApifyClient(token)
run = client.actor("crawloop/govplanet-scraper").call(
    run_input={
        "searchQuery": "generator",
        "ironCladOnly": True,
        "maxItems": 100,
        "runMode": "listings",
    }
)
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item["title"], item.get("price"), item.get("category"))
```

#### cURL

```bash
curl "https://api.apify.com/v2/acts/crawloop~govplanet-scraper/runs?token=$APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"searchQuery":"humvee","maxItems":50}'
```

### 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/govplanet-scraper`).

Example prompts:

- "Run the GovPlanet scraper for Humvees with IronClad only and return the top 25 rows as JSON"
- "Scrape GovPlanet generators in the USA and summarize median start price by listing status"
- "Chain GovPlanet Scraper then Machineryline Scraper for AM General comps across US surplus and EU dealer stock"

### Suite next step

After GovPlanet surplus pulls, enrich European asking prices and contacts with [Machineryline Scraper](https://apify.com/crawloop/machineryline-scraper), or add industrial auction lots via [Surplex Scraper](https://apify.com/crawloop/surplex-scraper) / [Troostwijk Scraper](https://apify.com/crawloop/troostwijk-scraper).

### FAQ

**Is this an official GovPlanet API?**\
No. It is an unofficial GovPlanet API alternative that reads publicly available listing pages and returns structured JSON for your own analysis workflows.

**What can I scrape with this GovPlanet scraper?**\
Active GovPlanet government and military surplus listings — Humvees, LMTVs, generators, medical lots, field gear, and more: prices, specs, hours/miles, serials, GPS, IronClad flags, auction metadata, and images. Optional `listingMode: "sold"` is best-effort.

**Can I scrape Humvee auctions specifically?**\
Yes. Set `searchQuery` to `humvee` or `HMMWV`, optionally `manufacturer: "AM General"`, and optionally `ironCladOnly: true`.

**Why are so many lots in Preview?**\
GovPlanet weekly auctions often publish inventory in Preview before bidding opens. This Actor treats Preview as active inventory.

**Do I need a headless browser?**\
No. The Actor uses HTTP with Chrome TLS impersonation (`curl_cffi`). Residential proxies improve reliability.

**Can I get sold hammer prices?**\
`listingMode: "sold"` is best-effort. Public sold filters often rewrite to the broader Ritchie Bros network; prefer active GovPlanet inventory for reliable platform-scoped pulls.

**How do I export results?**\
Download the Apify dataset as JSON, CSV, or Excel, or pull items via the Apify API / client in Python or Node.js.

### Related Actors

- [Machineryline Scraper](https://apify.com/crawloop/machineryline-scraper) — EU heavy equipment classifieds
- [Troostwijk Scraper](https://apify.com/crawloop/troostwijk-scraper) — industrial auction lots
- [Surplex Scraper](https://apify.com/crawloop/surplex-scraper) — used machinery auctions
- [Truck1 Scraper](https://apify.com/crawloop/truck1-scraper) — commercial trucks
- [Agriaffaires Scraper](https://apify.com/crawloop/agriaffaires-scraper) — farm equipment

# Actor input Schema

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

Optional GovPlanet / RB search or listing URLs (e.g. https://www.rbauction.com/heavy-equipment?buyingPlatforms=GovPlanet or https://www.govplanet.com/for-sale/.../15286937). Leave empty to build a search from filters.

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

Server-side free-text filter (e.g. humvee, generator, LMTV, AM General, medical).

## `listingMode` (type: `string`):

active = open / preview / buy-now pending (GovPlanet inventory is often Preview). sold = completed results (best-effort; public sold UI often rewrites platform).

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

Brand filter (e.g. AM General, Caterpillar, Stewart & Stevenson).

## `categorySlug` (type: `string`):

RB category path slug when applicable (e.g. generators-and-power-equipment, excavators).

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

Optional location level filter (e.g. USA, CAN).

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

Optional format filter (Online Auction, Buy Now, Make Offer, Timed Auction, Sealed Bid).

## `ironCladOnly` (type: `boolean`):

Keep only listings with IronClad Assurance inspection certification.

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

listings = fast SSR card fields. details = also open each PDP for enrichment.

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

Maximum listings to emit (0 = unlimited within max pages). In monitor seed runs this is the fingerprint budget.

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

Maximum SSR pages per crawl (~60 listings/page).

## `concurrency` (type: `integer`):

Parallel PDP fetches when runMode=details.

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

Track new listings and price/status changes via a named Key-Value store. First run seeds fingerprints with no dataset rows.

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

Apify Key-Value store name for fingerprints (use a distinct name per watch target).

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

Clear fingerprints before this run (forces a new seed).

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

Apify Proxy. Residential (US) recommended for reliability.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.rbauction.com/heavy-equipment?buyingPlatforms=GovPlanet"
    }
  ],
  "searchQuery": "humvee",
  "listingMode": "active",
  "manufacturer": "AM General",
  "categorySlug": "excavators",
  "country": "USA",
  "buyingFormat": "Online Auction",
  "ironCladOnly": false,
  "runMode": "listings",
  "maxItems": 100,
  "maxPages": 40,
  "concurrency": 5,
  "monitorMode": false,
  "monitorStoreName": "govplanet-monitor-state",
  "resetMonitorState": false,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  }
}
```

# Actor output Schema

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

Default dataset items: GovPlanet lots with prices, category, location, IronClad, and auction fields.

# 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.rbauction.com/heavy-equipment?buyingPlatforms=GovPlanet"
        }
    ],
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "apifyProxyCountry": "US"
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("crawloop/govplanet-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.rbauction.com/heavy-equipment?buyingPlatforms=GovPlanet" }],
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "US",
    },
}

# Run the Actor and wait for it to finish
run = client.actor("crawloop/govplanet-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.rbauction.com/heavy-equipment?buyingPlatforms=GovPlanet"
    }
  ],
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  }
}' |
apify call crawloop/govplanet-scraper --silent --output-dataset

```

## MCP server setup

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