# Cogeco Internet Availability Checker (`pyronets/cogeco-internet-availability-checker`) Actor

Check Cogeco Internet availability at Canadian addresses: available or not, Cogeco's message, the Internet packages offered and the matched address.

- **URL**: https://apify.com/pyronets/cogeco-internet-availability-checker.md
- **Developed by:** [Pyronets](https://apify.com/pyronets) (community)
- **Categories:** Business, Lead generation, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$25.00 / 1,000 address checkeds

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

## Cogeco Internet Availability Checker

Check whether Cogeco Internet service is available at Canadian addresses: available or
not, Cogeco's own message for the address, the Internet packages offered there, and the
address as Cogeco has it. Paste addresses, press Start, and download the results as JSON,
CSV or Excel, or pull them through the API.

### What you get

Each address is one result:

| Field | Example | Meaning |
|---|---|---|
| `query` | `426 Brant St, Burlington, ON L7R 2G2` | The address checked |
| `reference` | `A-1001` | Your own id for the address, when you give one |
| `status` | `checked` | `checked`; `address_not_found` when Cogeco knows no such address; `address_mismatch` when it only offers a different address, or a building with several units |
| `internetAvailable` | `true` | Whether Cogeco Internet is available at the address; null when the address was not matched |
| `availability` | `available` | `available`, `coming_soon` or `not_available` |
| `message` | `Good news, Cogeco internet is available at your address!` | Cogeco's message for the address |
| `internetPackages` | `["UltraFibre 1Gig Unlimited", "UltraFibre 360 Unlimited"]` | The Internet packages offered there, fastest first; empty when none, null when they could not be read this time |
| `matchedAddress` | `426 Brant St, Burlington, ON, L7R 3Z6` | The address Cogeco matched |
| `site`, `scrapedAt` | | The source, and when the address was checked |

### How to use it

1. Paste addresses into **Addresses**, one per line, civic number first, with the city,
   province and postal code: `426 Brant St, Burlington, ON L7R 2G2`.
2. Or give **Addresses as fields**: a JSON list with `street` (civic number first),
   `city`, `province`, `postalCode` and, optionally, a `reference` of your own that comes
   back with the result.
3. Click **Start**. Results appear in the **Output** tab as addresses are checked.

Example input:

```json
{"addresses": ["426 Brant St, Burlington, ON L7R 2G2"],
 "structuredAddresses": [{"street": "415 Rue Lindsay", "city": "Drummondville",
                          "province": "QC", "postalCode": "J2B 1G8", "reference": "A-1001"}]}
```

Give the postal code whenever you can: an address only counts as `checked` when its civic
number and postal code match the address Cogeco offers, so you never get the answer for a
neighbour's address.

### How long it takes

About 30 to 60 seconds an address. Several addresses are checked at the same time
(**Addresses at the same time**): 1,000 addresses take about 3 hours at 4 at a time.

### Pricing

You pay per result plus a small charge when the run starts. Each address is one result,
whatever the answer, including addresses not found or not matched. Use **Max results** or a
maximum cost per run to cap a run.

### Good to know

- Cogeco serves parts of Quebec and Ontario. Elsewhere, addresses come back not available
  or not found.
- An address in a building with several units (apartments) comes back as
  `address_mismatch`, with the building in `matchedAddress`.
- Each run checks live, so answers are current at `scrapedAt`.
- The same address twice in one run is checked once.
- On the free Apify plan, you can check a few addresses a day.

### Integrations

Send results to Google Sheets, Slack, Zapier, Make or your own webhook with Apify's
integrations, or call the actor from your code through the Apify API.

### Questions and issues

Open an issue on this actor's **Issues** tab and include the run link.

Running at a high volume, or need another site or field? Ask in an issue.

This actor checks publicly available service information. You are responsible for using it
in line with the law and the terms that apply to you.

# Actor input Schema

## `addresses` (type: `array`):

One address per line, civic number first, with the city, province and postal code, as in 426 Brant St, Burlington, ON L7R 3Z6.

## `structuredAddresses` (type: `array`):

Optional, instead of or as well as Addresses: a JSON list of objects with street (civic number first), city, province, postalCode and an optional reference of your own, which comes back with the result.

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

Stop after this many results in total. Leave empty for no limit.

## `maxConcurrency` (type: `integer`):

How many addresses are collected in parallel.

## Actor input object example

```json
{
  "addresses": [
    "426 Brant St, Burlington, ON L7R 2G2"
  ],
  "maxItems": 20,
  "maxConcurrency": 2
}
```

# 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 = {
    "addresses": [
        "426 Brant St, Burlington, ON L7R 2G2"
    ],
    "maxItems": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("pyronets/cogeco-internet-availability-checker").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 = {
    "addresses": ["426 Brant St, Burlington, ON L7R 2G2"],
    "maxItems": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("pyronets/cogeco-internet-availability-checker").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 '{
  "addresses": [
    "426 Brant St, Burlington, ON L7R 2G2"
  ],
  "maxItems": 20
}' |
apify call pyronets/cogeco-internet-availability-checker --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,pyronets/cogeco-internet-availability-checker"
        }
    }
}
```

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/Xkv0p95OQXf0vNScF/builds/aIovcVBYIsUrToL0n/openapi.json
