# Calgary Building Permits: Contractors, Costs and Units (`buildingsignal/calgary-building-permits`) Actor

All City of Calgary building permits: permit number, status, applied, issued and completed dates, class and work type, applicant and contractor names, estimated project cost, floor area, housing units, address, community and coordinates. Filter by date, status, use, work type, community and cost.

- **URL**: https://apify.com/buildingsignal/calgary-building-permits.md
- **Developed by:** [BuildingSignal](https://apify.com/buildingsignal) (community)
- **Categories:** Real estate, Lead generation, Business
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $15.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.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## Calgary Building Permits: Contractors, Costs and Units

Every building permit filed with the City of Calgary, from new homes and apartment towers to renovations and demolitions. Each permit comes with the applicant and contractor names, the estimated project cost, floor area and the number of housing units, so you can see who is building what, where and for how much.

### What you get

| Field | Example |
|---|---|
| `permitNumber`, `status` | BP2026-21748, Issued Permit |
| `appliedDate`, `issuedDate`, `completedDate` | 2026-11-16, 2026-11-17 |
| `permitType`, `permitClass`, `landUse` | Single Construction Permit, 1106 - Single Family House, Residential |
| `workClass`, `workClassGroup` | New, New |
| `description` | SFD, FIREPLACE, GARAGE, DECK |
| `applicantName`, `contractorName` | GRACEDEN RIDGE HOMES, KING MAKER DEVELOPMENTS |
| `estimatedProjectCost`, `totalSqft`, `housingUnits` | 246089.8, 1678, 1 |
| `address`, `community`, `latitude`, `longitude` | 38 BUTLER CR NW, BRENTWOOD, 51.09, -114.12 |

### Filters

- Issued or applied in the last N days, or an exact date range.
- Status: issued, completed, in review, application received, cancelled, expired, refused and more.
- Use (residential or non-residential) and work class (new, improvement, demolition).
- Community names.
- Keyword in the description, applicant or contractor, and contractor name search.
- Minimum estimated cost and minimum housing units.

Results come newest first.

### Example input

```json
{
    "withinDays": 30,
    "landUse": ["Residential"],
    "workClass": ["New"],
    "minUnits": 4,
    "maxRecords": 500
}
```

### Use cases

- Trades, suppliers and subcontractors finding builders with fresh permits.
- Developers and investors tracking new housing supply by community.
- Lenders, insurers and analysts following construction activity and costs.

### Coverage and freshness

All permits in the City of Calgary since 1999, updated daily by the city.

### Pricing

You pay per permit returned. If nothing matches your filters you get one explanation row and you are not charged. Free Apify plans get up to 10 permits per run.

# Actor input Schema

## `withinDays` (type: `integer`):

Only permits dated in the last N days. 0 means no limit. Ignored when a start date is set.

## `dateField` (type: `string`):

Results come newest first by this date.

## `dateFrom` (type: `string`):

YYYY-MM-DD. Overrides the days filter.

## `dateTo` (type: `string`):

YYYY-MM-DD.

## `statuses` (type: `array`):

For example: Issued Permit, Completed, In Review, Application Received, Cancelled, Expired, Refused.

## `landUse` (type: `array`):

Residential, Non-Residential or Unspecified.

## `workClass` (type: `array`):

New, Improvement or Demolition.

## `communities` (type: `array`):

Calgary community names, for example BELTLINE, SADDLE RIDGE, MAHOGANY.

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

Word found in the description, applicant or contractor, for example basement, solar, garage.

## `contractor` (type: `string`):

Part of a builder name, for example CEDARGLEN.

## `minCost` (type: `integer`):

Only permits with an estimated project cost at or above this value.

## `minUnits` (type: `integer`):

Only permits creating at least this many housing units.

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

Maximum permits to return. Free Apify plans are limited to 10 per run.

## Actor input object example

```json
{
  "withinDays": 90,
  "dateField": "issued",
  "maxRecords": 50
}
```

# Actor output Schema

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

No description

# API

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

## JavaScript example

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

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

// Prepare Actor input
const input = {
    "withinDays": 90,
    "maxRecords": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("buildingsignal/calgary-building-permits").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 = {
    "withinDays": 90,
    "maxRecords": 50,
}

# Run the Actor and wait for it to finish
run = client.actor("buildingsignal/calgary-building-permits").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 '{
  "withinDays": 90,
  "maxRecords": 50
}' |
apify call buildingsignal/calgary-building-permits --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,buildingsignal/calgary-building-permits"
        }
    }
}
```

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/wVAZSEGAPlZDWNWVH/builds/kI7kf1wASg7jl891u/openapi.json
