# Alberta Purchasing Connection (APC) Tenders & Awards Scraper (`lum_invader/alberta-purchasing-tenders-scraper`) Actor

Extract public procurement opportunities, RFPs, RFQs, tenders, buyer contact details, and contract award notices from Alberta Purchasing Connection (purchasing.alberta.ca).

- **URL**: https://apify.com/lum_invader/alberta-purchasing-tenders-scraper.md
- **Developed by:** [Tobias Greyson](https://apify.com/lum_invader) (community)
- **Security:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 alberta purchasing connection (apc) tenders & awards scrapers

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Alberta Purchasing Connection (APC) Government Tenders & Awards Scraper

Extract active public procurement tenders, RFPs, RFQs, ITBs, buyer contact details, and historical contract award records from **Alberta Purchasing Connection (`purchasing.alberta.ca`)** — the official public procurement portal for the Province of Alberta, provincial ministries, Crown corporations, municipalities, school divisions, and health authorities.

No login, API key, or expensive proxies required. Built for fast, lightweight HTTP extraction and ready for **Apify Pay-Per-Event (PPE)** and **MCP AI Agent** workflows.

***

### What Data Does This Scraper Extract?

For every tender or award notice on Alberta Purchasing Connection, this Actor extracts:

- **Core Tender Identifiers:** `id` (UUID), `referenceNumber` (e.g., `AB-2026-07108`), `solicitationNumber` (e.g., `COL-26-109`), `title`, `shortTitle`, and direct `url`
- **Classification & Status:** `statusCode` (`OPEN`, `AWARD`, `EVALUATION`, `CLOSED`, etc.), `categoryCode` (`SRV` Services, `GD` Goods, `CNST` Construction), `solicitationTypeCode` (`RFP`, `RFQ`, `ITB`, `NRFP`, `NOA`, `PQR`, etc.), and `opportunityTypeCode`
- **Contracting Authority & Timeline:** `contractingOrganization`, `postDateTime`, `closeDateTime`, `regionOfDelivery`, and `externalOriginLink` (direct link to Bids\&Tenders / Ariba / Bonfire portals when applicable)
- **UNSPSC Commodity Classification:** `commodityCodes` and human-readable `commodityCodeTitles`
- **Scope & Requirements:** Full `projectDescription` and `additionalRequirements`
- **Procurement Officer Contact Details:** `contactName`, `contactTitle`, `contactEmail`, `contactPhone`, and `contactAddress`
- **Contract Award & Winning Supplier Intelligence:** `estimatedValue`, `actualValue`, `awardTotalValue` (CAD), and the full `awards` array containing winning supplier names, operating names, award amounts, dates, phone numbers, and street addresses

***

### Common B2B Use Cases

1. **GovCon Bid & RFP Monitoring:** Automatically alert construction, engineering, IT, and consulting sales teams the moment relevant RFPs or ITBs are published in Alberta.
2. **Subcontractor & Partner Lead Generation:** Filter by `status: "AWARD"` to identify general contractors and prime vendors who just won multi-million-dollar provincial or municipal contracts, complete with award dollar amounts and supplier contact info.
3. **Public Sector Buyer Intelligence:** Build verified contact lists of municipal and provincial procurement officers (`contactName`, `contactEmail`, `contactPhone`) segmented by UNSPSC commodity category.
4. **Competitive Pricing Analysis:** Track historical contract award amounts across specific commodity codes and municipalities to benchmark competitor bidding strategies.

***

### Input Parameters

All parameters have pre-filled defaults so you can test the Actor in **1 click**:

| Field | Type | Default | Description |
| :--- | :--- | :--- | :--- |
| `query` | `string` | `""` (Prefill: `"construction"`) | Keyword search across titles, solicitation numbers, descriptions, and organizations. |
| `status` | `string` | `"OPEN"` | Filter by `OPEN`, `AWARD`, `EVALUATION`, `CLOSED`, `CANCELLED`, `UNAWARDABLE`, `SELECTION`, or `ALL`. |
| `category` | `string` | `"ALL"` | Filter by `SRV` (Services), `GD` (Goods), `CNST` (Construction), or `ALL`. |
| `solicitationType` | `string` | `"ALL"` | Filter by `RFP`, `ITB`, `RFQ`, `NRFP`, `NOA`, `PQR`, `RFQual`, `ACAN`, `RFEI`, `NOI`, or `ALL`. |
| `includeDetails` | `boolean` | `true` | Fetches the detail endpoint for each notice to enrich buyer contact info and winning supplier awards. |
| `maxItems` | `integer` | `10` | Maximum number of tender/award records to extract (`1`–`10000`). |

***

### Example JSON Output

```json
{
  "id": "3ec7e399-40ec-40f7-8824-f61b36c59eb3",
  "referenceNumber": "AB-2026-07108",
  "solicitationNumber": "COL-26-109",
  "title": "City of Lethbridge - Request for Proposal - Wastewater Treatment Plant (WWTP) Train 2 – 20 ML/D Expansion",
  "shortTitle": "Wastewater Treatment Plant (WWTP) Train 2 – 20 ML/D Expansion",
  "statusCode": "OPEN",
  "categoryCode": "CNST",
  "solicitationTypeCode": "RFP",
  "opportunityTypeCode": "OPEN-COMPETITIVE",
  "contractingOrganization": "City of Lethbridge",
  "postDateTime": "2026-10-23T15:57:49",
  "closeDateTime": "2026-11-27T14:00:00",
  "regionOfDelivery": [
    "Alberta",
    "Lethbridge"
  ],
  "commodityCodes": [
    "30000000"
  ],
  "commodityCodeTitles": [
    "Structures and Building and Construction and Manufacturing Components and Supplies"
  ],
  "projectDescription": "The WWTP Train 2 Expansion will add new wastewater treatment plant infrastructure to increase the plant's treatment capacity by 20 ML/D using a Construction Manager at Risk (CMAR) delivery method.",
  "additionalRequirements": "",
  "externalOriginLink": null,
  "url": "https://purchasing.alberta.ca/posting/AB-2026-07108",
  "contactName": "Ibukun Awolala",
  "contactTitle": "Corporate Buyer",
  "contactEmail": "tenders@lethbridge.ca",
  "contactPhone": "(999) 999-9999",
  "contactAddress": "910 4 Ave S, Lethbridge, CA-AB, T1J 0P6",
  "estimatedValue": 0,
  "actualValue": null,
  "awardTotalValue": null,
  "awards": []
}
```

***

### How to Call via Apify API, CLI & MCP Server

#### 1. Apify CLI

```bash
apify call lum_invader/alberta-purchasing-tenders-scraper \
  -i '{"query": "construction", "status": "OPEN", "includeDetails": true, "maxItems": 25}'
```

#### 2. REST API (cURL)

```bash
curl -X POST "https://api.apify.com/v2/acts/lum_invader~alberta-purchasing-tenders-scraper/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"query": "road", "status": "AWARD", "includeDetails": true, "maxItems": 20}'
```

#### 3. Model Context Protocol (MCP) for AI Agents

Connect this Actor directly to Claude Desktop, Cursor, or custom AI agents via the Apify MCP Server (`https://mcp.apify.com`):

```json
{
  "mcpServers": {
    "apify": {
      "command": "npx",
      "args": ["-y", "@apify/actors-mcp-server", "--actors", "lum_invader/alberta-purchasing-tenders-scraper"],
      "env": {
        "APIFY_TOKEN": "YOUR_APIFY_TOKEN"
      }
    }
  }
}
```

# Actor input Schema

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

Keyword search across tender titles, solicitation numbers, descriptions, and organizations (leave empty to match all opportunities).

## `status` (type: `string`):

Filter opportunities by status code (e.g. OPEN for active bids, AWARD for contract awards with supplier & dollar value, or ALL for everything).

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

Filter by procurement category: Services (SRV), Goods (GD), Construction (CNST), or ALL.

## `solicitationType` (type: `string`):

Filter by solicitation type (e.g., RFP, RFQ, ITB, NRFP) or ALL.

## `includeDetails` (type: `boolean`):

When enabled, fetches the detail endpoint for each opportunity to extract procurement officer contact details (name, email, phone, address), estimated/actual values, and winning supplier award records.

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

Maximum number of procurement opportunities to extract.

## Actor input object example

```json
{
  "query": "construction",
  "status": "OPEN",
  "category": "ALL",
  "solicitationType": "ALL",
  "includeDetails": true,
  "maxItems": 10
}
```

# Actor output Schema

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

Dataset items containing extracted procurement opportunities and award records.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "query": "construction",
    "status": "OPEN",
    "category": "ALL",
    "solicitationType": "ALL",
    "includeDetails": true,
    "maxItems": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("lum_invader/alberta-purchasing-tenders-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "query": "construction",
    "status": "OPEN",
    "category": "ALL",
    "solicitationType": "ALL",
    "includeDetails": True,
    "maxItems": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("lum_invader/alberta-purchasing-tenders-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "query": "construction",
  "status": "OPEN",
  "category": "ALL",
  "solicitationType": "ALL",
  "includeDetails": true,
  "maxItems": 10
}' |
apify call lum_invader/alberta-purchasing-tenders-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,lum_invader/alberta-purchasing-tenders-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/CIeOzHBa61ooj4i8K/builds/4HKbxyMgk5IDxrOT9/openapi.json
