# PublicSurplus Scraper & Auction Monitor (`scrapersdelight/publicsurplus-scraper`) Actor

Scrape PublicSurplus government surplus auctions by state, category, keyword, ZIP, or price, or run on a schedule as a new-lot monitor with Slack/email/webhook alerts.

- **URL**: https://apify.com/scrapersdelight/publicsurplus-scraper.md
- **Developed by:** [Scrapers Delight](https://apify.com/scrapersdelight) (community)
- **Categories:** E-commerce, Automation, Other
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 per lot returneds

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 a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use 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

## 🏛️ PublicSurplus Scraper & Government Auction Monitor

**Scrape live PublicSurplus.com government-surplus auctions — title, current price, bids, close time, agency/seller, location, condition, and photos — by state, category, keyword, ZIP radius, or price. Then run it on a schedule as a new-lot monitor that pings Slack, email, or webhook the moment a fresh lot drops, so you bid first.**

Turn PublicSurplus into a clean dataset or a real-time deal alert. No login, no browser automation — the site filters server-side, so you pull only the auctions you actually want.

---

### What does PublicSurplus Scraper do?

PublicSurplus Scraper extracts **government & municipal surplus auction listings** from [PublicSurplus.com](https://www.publicsurplus.com) and returns clean, structured rows you can export to **JSON, CSV, Excel, or push to your app via API**. Vehicles, heavy equipment, electronics, office furniture, lab gear, seized property and more — sold off by states, counties, cities, schools, and agencies.

- 🔎 **Search the way the site does** — by state, category, keyword, ZIP + radius, or price range. All server-side.
- 💰 **Current price, bids, increment** — plus opening price and reserve where shown.
- 🏢 **Seller & location** — selling agency, full address, city/state/ZIP.
- 📦 **Item detail** — quantity, condition, full description, and every photo.
- ⏰ **Time-aware** — exact close time + a live `time_left_seconds` countdown.
- 🔔 **New-lot monitor** — schedule it and get **Slack / email / webhook alerts** for newly listed lots in your niche.

---

### What data does it extract?

For every surplus auction:

- 🆔 `auction_id`, 🔗 `lot_url`, 🏷️ `title`
- 💵 `current_price`, `opening_price`, `bid_increment`, 🔨 `total_bids`, `has_bid`
- 📦 `quantity`, `condition`, 📝 `description`, 🗂️ `category`
- 🏢 `agency`, `agency_id` (the selling government entity)
- 📍 `address`, `city`, `state`, `zipcode`
- 🧾 `payment_terms`, `pickup_terms`
- 🖼️ `images[]`, `thumbnail`
- 📅 `start_date`, `end_date`, ⏳ `time_left_seconds`, 🚦 `status`
- ✨ `is_new` (monitor mode), 🕒 `scraped_at`

---

### Who is it for?

- 🛒 **Surplus flippers & resellers** sourcing vehicles, equipment, and electronics to resell.
- 🚚 **Fleet & equipment buyers** tracking gov vehicle/heavy-equipment lots nationwide.
- ♻️ **Dealers & exporters** monitoring specific categories across many states.
- 📊 **Auction aggregators** combining PublicSurplus with GovDeals, GSA, and others.
- 🏢 **Procurement & research** teams analyzing what agencies sell and for how much.

---

### Two ways to use it

1. **Bulk scrape** — pull every active auction for a state, category, keyword, ZIP radius, or price band into one clean dataset.
2. **New-lot monitor** *(the recurring play)* — set `monitorMode: true`, attach an **Apify Schedule** (hourly for hot categories), and the actor emits/alerts **only newly-listed lots**. Pair with **`listedWithinHours`** to narrow it server-side for cheap, fast runs.

---

### How to use it (step by step)

1. Click **Try for free**.
2. Pick a **Search type** (e.g. *By state*) and enter your scope (e.g. `tx`).
3. *(Optional)* add filters: category, keyword, price range, ending-within / listed-within hours.
4. *(Optional)* turn on **Fetch full details** for agency, address, bids, condition, and all photos.
5. Click **Start**, then open the **Dataset** tab to view/export.
6. *(Optional)* set **monitorMode** + a **Schedule** + an alert channel to get pinged on new lots.

#### Quick start

```json
{ "searchType": "state", "states": ["tx"] }
````

#### New-lot monitor example (cheap & fast)

```json
{
  "searchType": "category",
  "categoryId": "403",
  "listedWithinHours": 2,
  "monitorMode": true,
  "alertOnNewLot": true,
  "slackWebhookUrl": "https://hooks.slack.com/services/…"
}
```

***

### Input

| Field | What it does |
|-------|--------------|
| `searchType` | `state` · `category` · `keyword` · `zipcode` · `all` |
| `states` / `categoryId` / `keyword` / `zipcode` + `radiusMiles` | the scope for the chosen search type |
| `priceMin` / `priceMax` | only return auctions in this price band |
| `endWithinHours` | only auctions ending within N hours (closing-soon) |
| `listedWithinHours` | only auctions **posted** within N hours (server-side "new lots") |
| `sortBy` | `newest` · `ending` · `price` · site default |
| `fetchDetails` | add agency, address, bids, condition, description, all photos |
| `maxLots` | hard cap per run (0 = unlimited) |
| `monitorMode`, `alertOnNewLot`, `alertOnBidChange`, `watchlistAuctionIds` | recurring watcher + alerts |
| `webhookUrl`, `slackWebhookUrl`, `emailRecipients` | alert channels |
| `proxyConfiguration`, `requestConcurrency` | proxy + parallelism (datacenter is enough) |

***

### Output

Each auction is one dataset record (fields listed above). Export to **JSON, CSV, Excel, HTML, or RSS**, or fetch via the **Apify API**. Prices are numbers in USD; `end_date` is ISO‑8601; `time_left_seconds` counts down to close.

***

### How much does it cost?

Pay-per-event — you pay for what you pull, no subscription. Suggested rates:

| Event | What it covers | Suggested price |
|-------|----------------|-----------------|
| `lot-scraped` | each auction returned | ~$0.004 / lot |
| `lot-detail-enriched` | each detail-page fetch | ~$0.003 / lot |
| `monitor-run-completed` | each scheduled watch run | ~$0.05 / run |
| `new-lot-detected` | each newly listed lot | ~$0.02 / lot |
| `alert-delivered` | each Slack/email/webhook push | ~$0.005 / alert |

*(Final per-event prices are set on the actor's pricing page.)*

***

### Is it legal to scrape PublicSurplus?

PublicSurplus auction listings are **public government-surplus data**, browsable without a login, and the records are item/listing data — not personal data. Scraping publicly available listings is generally legal, but you are responsible for your use: **review the current PublicSurplus Terms of Service before commercial use or resale of the data**.

***

### FAQ

**What is PublicSurplus?**
PublicSurplus.com is a major online marketplace where US government agencies — states, counties, cities, school districts, universities — auction off surplus and seized property to the public.

**Do I need an account or login?**
No. The actor reads public listing data directly — no account or cookies required.

**Can I monitor new auctions and get alerts?**
Yes. Turn on `monitorMode`, attach an Apify **Schedule**, and add a Slack/webhook/email channel. Each run emits and alerts **only lots new since the last run**. Add `listedWithinHours` to make runs tiny and fast.

**Can I filter by category or state?**
Yes — `searchType: "state"` with `states`, or `searchType: "category"` with a `categoryId`. Combine with keyword, price, and ZIP radius.

**Can I find bargains or closing-soon lots?**
Use `priceMax` for a price ceiling and `endWithinHours` for auctions about to close.

**Does it return photos?**
Yes — `images[]` per lot; turn on `fetchDetails` for the full photo set, plus agency, address, bids, and condition.

**How do I export the data?**
JSON, CSV, Excel, HTML, or RSS from the Dataset tab, or via the Apify API.

**Can I integrate with Make, Zapier, n8n, or my backend?**
Yes — use the webhook/Slack channels for alerts, or the Apify API to pipe the dataset anywhere.

***

### You might also like

- 🏛️ Other gov & surplus auction sites (GovDeals, GSA Auctions, StorageTreasures)
- 🔨 General online auction & marketplace scrapers
- 📍 Local-listing and facility-data scrapers

***

### Feedback

Found a missing field or want a new filter? Open an issue on the actor — fast fixes and feature requests welcome.

# Actor input Schema

## `searchType` (type: `string`):

How to scope the search. PublicSurplus filters server-side, so only matching auctions are fetched. 'all' pulls every active posting.

## `states` (type: `array`):

Two-letter state (region) codes, e.g. tx, ca, ny. Used when Search type = By state.

## `categoryId` (type: `string`):

PublicSurplus category id (catId), e.g. 403 = Auto. Used when Search type = By category. Find ids by browsing a category on the site.

## `keyword` (type: `string`):

Free-text keyword (keyWord) matched against auction titles/descriptions.

## `zipcode` (type: `string`):

ZIP code center when Search type = By ZIP + radius. Pair with the radius below.

## `radiusMiles` (type: `integer`):

Search radius around the ZIP (milesLocation). Common values: 25, 50, 100, 200, 500.

## `priceMin` (type: `integer`):

Only return auctions with a current price at/above this (lowerPrice). Leave empty for no floor.

## `priceMax` (type: `integer`):

Only return auctions with a current price at/below this (higherPrice) — bargain filter. Leave empty for no cap.

## `endWithinHours` (type: `integer`):

Only auctions ending within this many hours (endHours) — urgency / closing-soon filter. 0 = no limit.

## `listedWithinHours` (type: `integer`):

Only auctions POSTED within this many hours (startHours). Server-side 'new lots' filter — pair with Monitor mode + a Schedule for cheap, fast recurring runs. 0 = no limit.

## `sortBy` (type: `string`):

Result ordering. 'newest' surfaces freshly listed lots first (good for monitors).

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

Open each auction's detail page for full description, agency/seller, full address, bid count, increment, quantity, condition, and all photos. One extra request per lot.

## `maxLots` (type: `integer`):

Hard cap on auctions scraped this run (cost/safety guard). 0 = unlimited.

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

Recurring watcher: diff against the prior run's seen lots (per scope) and output/alert ONLY newly-listed lots. Pair with an Apify Schedule. Tip: also set 'Listed within' to narrow server-side.

## `alertOnNewLot` (type: `boolean`):

In monitor mode, deliver an alert for each newly-listed lot via the channels below.

## `alertOnBidChange` (type: `boolean`):

Also alert when the current price changes on a watched auction (see watchlist IDs).

## `watchlistAuctionIds` (type: `array`):

Specific auction ids to track for price changes when 'Alert on bid/price changes' is on.

## `webhookUrl` (type: `string`):

POST endpoint for new-lot alert payloads (Make / Zapier / n8n / custom). One JSON body per alert.

## `slackWebhookUrl` (type: `string`):

Slack incoming-webhook URL for formatted new-lot cards.

## `emailRecipients` (type: `array`):

Email addresses for the new-lot digest (sent via apify/send-mail).

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

Proxy settings. Datacenter rotation is enough for this site.

## `requestConcurrency` (type: `integer`):

Max parallel requests for page and detail fetches. Keep modest to respect the site's rate limits.

## `diagnose` (type: `boolean`):

Dev only. Dumps the raw search + detail HTML to the key-value store (DEBUG\_SEARCH\_HTML / DEBUG\_DETAIL\_HTML) and logs the parsed first row + pagination check, then exits. Use to verify selectors; leave off for normal runs.

## Actor input object example

```json
{
  "searchType": "state",
  "states": [
    "tx"
  ],
  "radiusMiles": 100,
  "endWithinHours": 0,
  "listedWithinHours": 0,
  "sortBy": "default",
  "fetchDetails": true,
  "maxLots": 0,
  "monitorMode": false,
  "alertOnNewLot": true,
  "alertOnBidChange": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  },
  "requestConcurrency": 5,
  "diagnose": false
}
```

# Actor output Schema

## `lots` (type: `string`):

The dataset of scraped auctions (one item per lot).

# 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 = {
    "states": [
        "tx"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapersdelight/publicsurplus-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 = { "states": ["tx"] }

# Run the Actor and wait for it to finish
run = client.actor("scrapersdelight/publicsurplus-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 '{
  "states": [
    "tx"
  ]
}' |
apify call scrapersdelight/publicsurplus-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "PublicSurplus Scraper & Auction Monitor",
        "description": "Scrape PublicSurplus government surplus auctions by state, category, keyword, ZIP, or price, or run on a schedule as a new-lot monitor with Slack/email/webhook alerts.",
        "version": "0.1",
        "x-build-id": "XMuO8GtQN3lWrhvFY"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/scrapersdelight~publicsurplus-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-scrapersdelight-publicsurplus-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/scrapersdelight~publicsurplus-scraper/runs": {
            "post": {
                "operationId": "runs-sync-scrapersdelight-publicsurplus-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/scrapersdelight~publicsurplus-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-scrapersdelight-publicsurplus-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "properties": {
                    "searchType": {
                        "title": "Search type",
                        "enum": [
                            "state",
                            "category",
                            "keyword",
                            "zipcode",
                            "all"
                        ],
                        "type": "string",
                        "description": "How to scope the search. PublicSurplus filters server-side, so only matching auctions are fetched. 'all' pulls every active posting.",
                        "default": "state"
                    },
                    "states": {
                        "title": "States / regions",
                        "type": "array",
                        "description": "Two-letter state (region) codes, e.g. tx, ca, ny. Used when Search type = By state.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "categoryId": {
                        "title": "Category ID",
                        "type": "string",
                        "description": "PublicSurplus category id (catId), e.g. 403 = Auto. Used when Search type = By category. Find ids by browsing a category on the site."
                    },
                    "keyword": {
                        "title": "Keyword",
                        "type": "string",
                        "description": "Free-text keyword (keyWord) matched against auction titles/descriptions."
                    },
                    "zipcode": {
                        "title": "ZIP code",
                        "type": "string",
                        "description": "ZIP code center when Search type = By ZIP + radius. Pair with the radius below."
                    },
                    "radiusMiles": {
                        "title": "Radius (miles)",
                        "type": "integer",
                        "description": "Search radius around the ZIP (milesLocation). Common values: 25, 50, 100, 200, 500.",
                        "default": 100
                    },
                    "priceMin": {
                        "title": "Min price ($)",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Only return auctions with a current price at/above this (lowerPrice). Leave empty for no floor."
                    },
                    "priceMax": {
                        "title": "Max price ($)",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Only return auctions with a current price at/below this (higherPrice) — bargain filter. Leave empty for no cap."
                    },
                    "endWithinHours": {
                        "title": "Ending within (hours)",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Only auctions ending within this many hours (endHours) — urgency / closing-soon filter. 0 = no limit.",
                        "default": 0
                    },
                    "listedWithinHours": {
                        "title": "Listed within (hours)",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Only auctions POSTED within this many hours (startHours). Server-side 'new lots' filter — pair with Monitor mode + a Schedule for cheap, fast recurring runs. 0 = no limit.",
                        "default": 0
                    },
                    "sortBy": {
                        "title": "Sort by",
                        "enum": [
                            "default",
                            "newest",
                            "ending",
                            "price"
                        ],
                        "type": "string",
                        "description": "Result ordering. 'newest' surfaces freshly listed lots first (good for monitors).",
                        "default": "default"
                    },
                    "fetchDetails": {
                        "title": "Fetch full details",
                        "type": "boolean",
                        "description": "Open each auction's detail page for full description, agency/seller, full address, bid count, increment, quantity, condition, and all photos. One extra request per lot.",
                        "default": true
                    },
                    "maxLots": {
                        "title": "Max lots per run",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Hard cap on auctions scraped this run (cost/safety guard). 0 = unlimited.",
                        "default": 0
                    },
                    "monitorMode": {
                        "title": "Monitor mode (new-lot watcher)",
                        "type": "boolean",
                        "description": "Recurring watcher: diff against the prior run's seen lots (per scope) and output/alert ONLY newly-listed lots. Pair with an Apify Schedule. Tip: also set 'Listed within' to narrow server-side.",
                        "default": false
                    },
                    "alertOnNewLot": {
                        "title": "Alert on new lots",
                        "type": "boolean",
                        "description": "In monitor mode, deliver an alert for each newly-listed lot via the channels below.",
                        "default": true
                    },
                    "alertOnBidChange": {
                        "title": "Alert on bid/price changes (watchlist)",
                        "type": "boolean",
                        "description": "Also alert when the current price changes on a watched auction (see watchlist IDs).",
                        "default": false
                    },
                    "watchlistAuctionIds": {
                        "title": "Watchlist auction IDs",
                        "type": "array",
                        "description": "Specific auction ids to track for price changes when 'Alert on bid/price changes' is on.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "webhookUrl": {
                        "title": "Webhook URL",
                        "type": "string",
                        "description": "POST endpoint for new-lot alert payloads (Make / Zapier / n8n / custom). One JSON body per alert."
                    },
                    "slackWebhookUrl": {
                        "title": "Slack webhook URL",
                        "type": "string",
                        "description": "Slack incoming-webhook URL for formatted new-lot cards."
                    },
                    "emailRecipients": {
                        "title": "Email recipients",
                        "type": "array",
                        "description": "Email addresses for the new-lot digest (sent via apify/send-mail).",
                        "items": {
                            "type": "string"
                        }
                    },
                    "proxyConfiguration": {
                        "title": "Proxy",
                        "type": "object",
                        "description": "Proxy settings. Datacenter rotation is enough for this site.",
                        "default": {
                            "useApifyProxy": true
                        }
                    },
                    "requestConcurrency": {
                        "title": "Request concurrency",
                        "minimum": 1,
                        "maximum": 10,
                        "type": "integer",
                        "description": "Max parallel requests for page and detail fetches. Keep modest to respect the site's rate limits.",
                        "default": 5
                    },
                    "diagnose": {
                        "title": "Diagnostic mode (dev)",
                        "type": "boolean",
                        "description": "Dev only. Dumps the raw search + detail HTML to the key-value store (DEBUG_SEARCH_HTML / DEBUG_DETAIL_HTML) and logs the parsed first row + pagination check, then exits. Use to verify selectors; leave off for normal runs.",
                        "default": false
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
