# Canada Government Surplus Auctions (GCSurplus) (`agentumgroup/ca-gov-surplus`) Actor

Live auction lots from GCSurplus.ca — the federal government's official surplus-disposal platform. Vehicles, office equipment, machinery, IT gear, and more. Filter by category, region, and closing window.

- **URL**: https://apify.com/agentumgroup/ca-gov-surplus.md
- **Developed by:** [AgentumGroup](https://apify.com/agentumgroup) (community)
- **Categories:** E-commerce, Automation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 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/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/docs.md):

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

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python/docs.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/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

## Canada Government Surplus Auctions (GCSurplus)

Get live auction lots from **GCSurplus.ca** — the Government of Canada's official surplus-disposal platform — in one clean, normalized feed. Vehicles, IT equipment, machinery, office furniture, aircraft parts, boats, and more, all auctioned publicly by federal departments.

GCSurplus is the only place to source **federal Crown assets** being disposed of: RCMP vehicles, DND equipment, Canada Post fleet, Parks Canada machinery, and thousands of other lots. It has **zero actor coverage** on any scraping marketplace — this is a completely unserved niche.

### Why this Actor

- **Unique data source.** GCSurplus is operated by Public Works and Government Services Canada. No other automated feed exists for this inventory.
- **Public, open government data.** All listings are publicly browseable — no login, no paywall, no ToS grey zone.
- **Clean, consistent output.** One schema for every lot regardless of category. Closing dates, current bids, location, category, and image URLs normalized into structured fields.
- **Close-soon filter.** Set `closingWithinDays` and run on a schedule — only lots about to close, every time.

### Use cases

- **Resellers and flippers** — source undervalued government assets (vehicles, electronics, tools) before they close. Set up a scheduled daily run with `closingWithinDays: 3` for a closing-soon alert feed.
- **Equipment buyers** — contractors, farmers, and tradespeople looking for government-spec heavy equipment, trailers, power tools, or generators at auction prices.
- **Deal-alert agents** — feed lot data into an AI agent or n8n workflow to alert on specific categories, locations, or bid thresholds.
- **Market research** — track what the federal government disposes of, at what prices, and in what volumes. Useful for surplus dealers, appraisers, and asset-management consultants.
- **Competitive intelligence** — monitor what agencies are shedding inventory from (IT refresh cycles, fleet renewals, lab equipment decommissioning).

### Input

| Field | Type | Default | Description |
|---|---|---|---|
| `categories` | array | all | GCSurplus commodity codes to filter (e.g. `["2300"]` for cars and trucks). Leave empty for all categories. |
| `regions` | array | all | Province/territory codes (e.g. `["'ON '", "'BC '"]`). Leave empty for all regions. |
| `closingWithinDays` | integer | 30 | Only return lots closing within this many days. Set to `0` to disable. |
| `saleType` | string | `"A"` | `A`=All, `OB`=Open Bid, `BN`=Buy Now Only, `CB`=Closed Bid. |
| `maxRecords` | integer | 300 | Maximum lots to return. |

**Category codes** (common ones):

| Code | Category |
|---|---|
| `2300` | Cars and Light Trucks |
| `2400` | Heavy Equipment and Vehicles |
| `2700` | Construction Equipment |
| `7000` | Computer Equipment, Parts and Accessories |
| `3700` | Agricultural Machinery and Equipment |
| `1900` | Boats and Ships |
| `1501` | Aircraft Components, Parts and Instruments |
| `5000` | Furniture |
| `5500` | Building Materials, Hardware and Paint |

**Province codes** (wrap in single quotes as shown): `'AB '`, `'BC '`, `'MB '`, `'NB '`, `'NL '`, `'NT '`, `'NS '`, `'NU '`, `'ON '`, `'PE '`, `'QC '`, `'SK '`, `'YT '`

```json
{
    "categories": ["2300", "2400"],
    "regions": ["'ON '", "'BC '"],
    "closingWithinDays": 7,
    "saleType": "OB",
    "maxRecords": 100
}
````

### Output

One dataset item per auction lot:

```json
{
    "source": "gcsurplus.ca",
    "lotId": "756380",
    "saleNumber": "595724",
    "saleAccount": "R6TO0017778-6TO015941-5P315-JF",
    "title": "2014 Chevrolet Silverado 1500 2WD",
    "saleType": "Open Bidding",
    "categoryCode": "2300",
    "category": "Cars and light trucks",
    "description": null,
    "location": "North York, ON",
    "currentBid": 2125.00,
    "currentBidCurrency": "CAD",
    "closingDate": "2026-07-20T13:45:00.000Z",
    "postedDate": "2026-07-13T15:35:00.000Z",
    "imageUrls": ["https://gcsurplus.ca/lotImages/2976304.jpeg"],
    "url": "https://gcsurplus.ca/mn-eng.cfm?snc=wfsav&sc=enc-bid&scn=595724&lcn=756380&lct=L",
    "fetchedAt": "2026-07-19T20:00:00.000Z",
    "raw": {
        "title": "2014 Chevrolet Silverado 1500 2WD",
        "commodity": "2300 - Cars and light trucks",
        "closingRaw": "20-July-2026 @ 9:45 a.m.",
        "postedRaw": "13-July-2026 @ 11:35 a.m.",
        "currentBidRaw": "$2,125.00",
        "locationRaw": "North York, ON",
        "saleTypeRaw": "Open Bidding"
    }
}
```

Field notes:

- `lotId` — GCSurplus internal lot number (stable for the life of the lot).
- `saleNumber` — GCSurplus sale/auction number (parent of the lot).
- `saleAccount` — government internal disposal reference code.
- `currentBid` — current high bid in CAD, or `null` for Buy Now lots with fixed prices.
- `closingDate` — auction close time in UTC (GCSurplus shows Eastern Time — converted on fetch).
- `description` — GCSurplus does not show description text on the listing page; visit `url` for full details.
- `imageUrls` — thumbnail image from the listing page.
- `raw` — original page values before normalization.
- A `RUN_SUMMARY` object (total count, input params) is saved in the run's key-value store.

### Legality

GCSurplus is operated by Public Works and Government Services Canada. All auction listings are publicly accessible without registration. No login is used. No personal data is collected. Rate limiting is applied (≥1.5 s between requests).

# Actor input Schema

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

Filter by item category. Leave empty for all categories.

## `regions` (type: `array`):

Filter by region or province. Leave empty for all locations.

## `closingWithinDays` (type: `integer`):

Only include lots closing within this many days from now. Set to 0 to disable this filter.

## `saleType` (type: `string`):

A=All sales (default), OB=Open Bid, BN=Buy Now only, CB=Closed Bid.

## `maxRecords` (type: `integer`):

Maximum total lots to return across all pages.

## Actor input object example

```json
{
  "categories": [],
  "regions": [],
  "closingWithinDays": 30,
  "saleType": "A",
  "maxRecords": 300
}
```

# 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 = {
    "categories": [],
    "regions": [],
    "closingWithinDays": 30,
    "saleType": "A",
    "maxRecords": 300
};

// Run the Actor and wait for it to finish
const run = await client.actor("agentumgroup/ca-gov-surplus").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 = {
    "categories": [],
    "regions": [],
    "closingWithinDays": 30,
    "saleType": "A",
    "maxRecords": 300,
}

# Run the Actor and wait for it to finish
run = client.actor("agentumgroup/ca-gov-surplus").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 '{
  "categories": [],
  "regions": [],
  "closingWithinDays": 30,
  "saleType": "A",
  "maxRecords": 300
}' |
apify call agentumgroup/ca-gov-surplus --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Canada Government Surplus Auctions (GCSurplus)",
        "description": "Live auction lots from GCSurplus.ca — the federal government's official surplus-disposal platform. Vehicles, office equipment, machinery, IT gear, and more. Filter by category, region, and closing window.",
        "version": "1.0",
        "x-build-id": "DaG8fcBRFOWOFJVgr"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/agentumgroup~ca-gov-surplus/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-agentumgroup-ca-gov-surplus",
                "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/agentumgroup~ca-gov-surplus/runs": {
            "post": {
                "operationId": "runs-sync-agentumgroup-ca-gov-surplus",
                "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/agentumgroup~ca-gov-surplus/run-sync": {
            "post": {
                "operationId": "run-sync-agentumgroup-ca-gov-surplus",
                "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": {
                    "categories": {
                        "title": "Categories",
                        "uniqueItems": true,
                        "type": "array",
                        "description": "Filter by item category. Leave empty for all categories.",
                        "items": {
                            "type": "string",
                            "enum": [
                                "1501",
                                "1900",
                                "2300",
                                "2400",
                                "2700",
                                "2800",
                                "3100",
                                "3700",
                                "4500",
                                "5000",
                                "5500",
                                "6000",
                                "6800",
                                "7000",
                                "7600",
                                "8300"
                            ],
                            "enumTitles": [
                                "Aircraft Components, Parts and Instruments",
                                "Boats and Ships",
                                "Cars and Light Trucks",
                                "Heavy Equipment and Vehicles",
                                "Construction Equipment",
                                "Trailers",
                                "Power Generation and Distribution",
                                "Agricultural Machinery and Equipment",
                                "Plumbing, Heating and Air Conditioning",
                                "Furniture",
                                "Building Materials, Hardware and Paint",
                                "Scientific and Laboratory Equipment",
                                "Chemicals and Chemical Products",
                                "Computer Equipment, Parts and Accessories",
                                "Books, Maps and Other Publications",
                                "Textiles, Leather, Fur, Clothing and Footwear"
                            ]
                        },
                        "default": []
                    },
                    "regions": {
                        "title": "Regions / Provinces",
                        "uniqueItems": true,
                        "type": "array",
                        "description": "Filter by region or province. Leave empty for all locations.",
                        "items": {
                            "type": "string",
                            "enum": [
                                "'AB '",
                                "'BC '",
                                "'MB '",
                                "'NB '",
                                "'NL '",
                                "'NT '",
                                "'NS '",
                                "'NU '",
                                "'ON '",
                                "'PE '",
                                "'QC '",
                                "'SK '",
                                "'YT '"
                            ],
                            "enumTitles": [
                                "Alberta",
                                "British Columbia",
                                "Manitoba",
                                "New Brunswick",
                                "Newfoundland and Labrador",
                                "Northwest Territories",
                                "Nova Scotia",
                                "Nunavut",
                                "Ontario",
                                "Prince Edward Island",
                                "Quebec",
                                "Saskatchewan",
                                "Yukon"
                            ]
                        },
                        "default": []
                    },
                    "closingWithinDays": {
                        "title": "Closing within days",
                        "minimum": 0,
                        "maximum": 365,
                        "type": "integer",
                        "description": "Only include lots closing within this many days from now. Set to 0 to disable this filter.",
                        "default": 30
                    },
                    "saleType": {
                        "title": "Sale type",
                        "enum": [
                            "A",
                            "OB",
                            "BN",
                            "CB"
                        ],
                        "type": "string",
                        "description": "A=All sales (default), OB=Open Bid, BN=Buy Now only, CB=Closed Bid.",
                        "default": "A"
                    },
                    "maxRecords": {
                        "title": "Max records",
                        "minimum": 1,
                        "maximum": 5000,
                        "type": "integer",
                        "description": "Maximum total lots to return across all pages.",
                        "default": 300
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
