# Edmonton Business Licences Scraper (`bigibyte/edmonton-business-licences-scraper`) Actor

Scrape City of Edmonton business licences including names, categories, addresses, wards, and expiry dates. Filter or search records and export clean JSON, CSV, or Excel datasets for lead generation, market research, and directory builds.

- **URL**: https://apify.com/bigibyte/edmonton-business-licences-scraper.md
- **Developed by:** [BigiByte](https://apify.com/bigibyte) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

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

## 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

## Edmonton Business Licences Scraper

![Edmonton Business Licences Scraper cover](https://images.bigibyte.com/cdn-cgi/image/width=1260,height=540,fit=cover,format=webp/apify-actors-covers/edmonton-business-licences-scraper-cover.png)

Collect business licence records from the City of Edmonton, Alberta. Search businesses, retrieve records in bulk, or apply custom filters to find business names, licence categories, addresses, neighbourhoods, wards, and expiry dates. Export the results in JSON, CSV, or Excel for business research, lead generation, and data analysis.

### What It Does

The Edmonton Business Licences Scraper collects publicly available business licence records from the City of Edmonton's open-data collection.

Choose from four collection modes:

- **All Rows:** Retrieve business licence records in paginated batches.
- **Search:** Find matching records using full-text search.
- **Filter:** Apply custom conditions to narrow down the results.
- **Dataset Metadata:** Retrieve available column names, data types, and descriptions.

All collected records are saved to your Apify dataset, ready for analysis and export.

### Scraping Modes

| Mode | Description |
|---|---|
| `all_rows` | Retrieves business licence records in paginated batches. |
| `search` | Searches available text fields using a keyword or phrase. |
| `filter` | Collects records that match custom filter conditions. |
| Dataset metadata | Retrieves information about available columns, data types, and descriptions. |

### Input Configuration

#### Input Examples

**Collect business licence records:**

```json
{
  "mode": "all_rows",
  "maxItems": 50,
  "orderBy": ":id",
  "requestDelayMs": 500
}
```

**Search for businesses:**

```json
{
  "mode": "search",
  "searchText": "inc",
  "maxItems": 25,
  "requestDelayMs": 500
}
```

**Filter records by update date:**

```json
{
  "mode": "filter",
  "where": ":updated_at>'2020-01-01'",
  "maxItems": 25,
  "requestDelayMs": 500
}
```

#### Input Parameters

| Parameter | Type | Description |
|---|---|---|
| `mode` | String | Select the collection mode: `all_rows`, `search`, `filter`, or the dataset metadata option configured in the input schema. |
| `maxItems` | Integer | Maximum number of records to collect. |
| `orderBy` | String | Specifies the sorting order for collected records. |
| `searchText` | String | Keyword or phrase used to find matching business records. |
| `where` | String | Custom filter condition for selecting specific records. |
| `requestDelayMs` | Integer | Delay between requests in milliseconds. |

### Output Example

Each collected record includes business details, licence information, address, neighbourhood, and geographic coordinates.

```json
{
  "business_licence_category": "Construction, Contracting, and Labour Service",
  "business_name": "B & T FENCING",
  "business_address": "12208 - 66 STREET NW",
  "externalid": "100031017-001",
  "most_recent_issue_date": "2025-12-03T00:00:00.000",
  "expiry_date": "2026-12-17T00:00:00.000",
  "neighbourhood_id": "2550",
  "neighbourhood": "Montrose",
  "ward": "Métis",
  "latitude": "53.57702644931355",
  "longitude": "-113.4434181376541",
  "location": "(53.57702644931355,-113.4434181376541)",
  "count": "1",
  "geometry_point": {
    "type": "Point",
    "coordinates": [-113.4434181376541, 53.57702644931355]
  },
  "originalissuedate": "2010-11-29T00:00:00.000",
  "licenceduration": "1 Year",
  "licencetype": "Commercial",
  "scraped_at": "2026-10-26T00:00:00+00:00"
}
```

#### Output Fields

| Field | Description |
|---|---|
| `business_licence_category` | Category of the business licence. |
| `business_name` | Registered or listed business name. |
| `business_address` | Business location address. |
| `externalid` | Unique external business licence identifier. |
| `most_recent_issue_date` | Most recent licence issue date. |
| `expiry_date` | Licence expiry date. |
| `neighbourhood_id` | Identifier of the associated neighbourhood. |
| `neighbourhood` | Name of the neighbourhood where the business is located. |
| `ward` | City ward associated with the business. |
| `latitude` | Geographic latitude. |
| `longitude` | Geographic longitude. |
| `location` | Combined geographic coordinates. |
| `count` | Record count value provided by the source. |
| `geometry_point` | Geographic point represented as GeoJSON coordinates. |
| `originalissuedate` | Original licence issue date. |
| `licenceduration` | Licence duration. |
| `licencetype` | Licence type, such as Commercial. |
| `scraped_at` | Date and time the record was collected. |

### Use Cases

- **Business Lead Generation:** Find licensed businesses across Edmonton and organize potential business contacts by neighbourhood or ward.
- **Local Market Research:** Analyze business licence categories, locations, and expiry dates to understand local commercial activity.
- **Licence Monitoring:** Review issue and expiry dates to identify records that may require further verification.
- **Neighbourhood Analysis:** Compare business activity across Edmonton neighbourhoods and city wards.
- **GIS and Mapping Projects:** Use latitude, longitude, and geographic point data to map licensed businesses.
- **Business Directory Creation:** Search business names and export organized records into CSV or Excel for directory projects.
- **Scheduled Data Collection:** Use Apify Schedules to run recurring collections and maintain refreshed datasets.

### Frequently Asked Questions

**What information does this actor collect?**

It collects publicly available Edmonton business licence records, including business names, licence categories, addresses, neighbourhoods, wards, issue dates, expiry dates, and geographic information.

**Can I search for a specific business or category?**

Yes. Select search mode and provide a keyword or phrase through `searchText` to find matching records.

**Can I filter businesses by neighbourhood?**

Yes. Use filter mode with a custom condition, such as `neighbourhood='Montrose'`, to retrieve matching records.

**Can I collect the complete business licence dataset?**

Yes. Select `all_rows` mode to retrieve records in paginated batches. Use `maxItems` to control the number of records collected.

**Can I use the collected coordinates for mapping?**

Yes. The output includes latitude, longitude, and geographic point information that can be used in GIS software and mapping projects.

**What export formats are available?**

You can export your results in JSON, CSV, Excel, and other formats supported by Apify datasets.

**Can I schedule recurring runs?**

Yes. Configure an Apify Schedule to run the actor automatically at your preferred intervals.

### Related Tools

Explore other data collection solutions from BigiByte:

- **Montgomery County MD Alcohol Licensees Scraper** – Collect public alcohol licence records for business and local market research.
- **New Jersey Construction Permits Scraper** – Retrieve public construction permit records for property and development research.
- **NYS Notaries Public Scraper** – Collect public notary commission records from New York State.

Need business data from another city, government portal, or website? BigiByte builds custom web scrapers and data solutions to help businesses collect, organize, and use the information they need.

Visit [BigiByte](https://bigibyte.com) to explore custom scraping solutions.

### Trademark Notice

The City of Edmonton name, logo, and related trademarks belong to their respective owners. They are referenced solely to identify the source of the collected information. This actor is not affiliated with, sponsored by, or endorsed by the City of Edmonton.

### Disclaimer

This actor is an independent data collection tool and is not an official product of the City of Edmonton. The accuracy and availability of collected information depend on the source dataset. Users are responsible for verifying records and ensuring that their use of the collected data complies with applicable laws and regulations.

### Is Web Scraping Legal?

This actor extracts publicly accessible data without bypassing login screens, paywalls, or technical security layers. While collecting public web data is widely permitted, compliance depends on how data is gathered and used:

- **Personal Data:** Business records may contain personal identifiers. Follow applicable privacy laws, including GDPR and CCPA, when collecting, storing, or processing personal information.
- **Copyrighted Content:** Publicly accessible information may still contain copyrighted text, images, or creative assets. Avoid copying or redistributing protected material without permission.
- **Platform Terms and Rate Limits:** Collect data responsibly, avoid excessive traffic, and respect applicable platform policies and collection limits.

This information is provided for general guidance only and does not constitute legal advice. For a more detailed explanation, read [Apify's guide to web scraping legality](https://blog.apify.com/is-web-scraping-legal/).

# Actor input Schema

## `mode` (type: `string`):

What to collect.

## `searchText` (type: `string`):

Full-text search across all columns ($q).

## `where` (type: `string`):

SoQL WHERE clause, e.g. :updated_at>'2020-01-01'.

## `orderBy` (type: `string`):

SoQL $order. Stable paging needs a unique order.

## `appToken` (type: `string`):

Optional Socrata app token (X-App-Token) for higher limits.

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

Stop after this many successful rows. Hard max is 1000.

## `requestDelayMs` (type: `integer`):

Polite pacing in milliseconds.

## `userAgent` (type: `string`):

User-Agent header sent with each request.

## `timeoutSecs` (type: `integer`):

Overall run budget in seconds.

## `requestTimeoutSecs` (type: `integer`):

Per-request timeout in seconds.

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

Optional proxy. Leave off unless you need it.

## Actor input object example

```json
{
  "mode": "all_rows",
  "searchText": "inc",
  "where": ":updated_at>'2020-01-01'",
  "orderBy": ":id",
  "maxItems": 100,
  "requestDelayMs": 500,
  "userAgent": "ActorResearch/1.0",
  "timeoutSecs": 300,
  "requestTimeoutSecs": 30,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `overview` (type: `string`):

Dataset rows in the overview table.

## `dataset` (type: `string`):

Full dataset for this run.

## `items` (type: `string`):

Dataset items as JSON.

# 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 = {
    "searchText": "inc"
};

// Run the Actor and wait for it to finish
const run = await client.actor("bigibyte/edmonton-business-licences-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 = { "searchText": "inc" }

# Run the Actor and wait for it to finish
run = client.actor("bigibyte/edmonton-business-licences-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 '{
  "searchText": "inc"
}' |
apify call bigibyte/edmonton-business-licences-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,bigibyte/edmonton-business-licences-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/ReUNc9Vd6bq1vZhOb/builds/4H48CUwGjLbedgPtL/openapi.json
