# Kijiji Rentals Scraper: Canadian Rental Listings (`santamaria-automations/kijiji-rentals-scraper`) Actor

Get rental listings from Kijiji.ca list pages: price, address, coordinates, bedrooms, bathrooms, size, unit type, poster type, photos and dates. One record per listing card. No login needed.

- **URL**: https://apify.com/santamaria-automations/kijiji-rentals-scraper.md
- **Developed by:** [NanoScrape](https://apify.com/santamaria-automations) (community)
- **Categories:** Real estate, Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 kijiji listing scrapeds

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

## Kijiji Rentals Scraper

Get rental listings from [Kijiji.ca](https://www.kijiji.ca/) list pages. Paste the address of a list page, such as the apartments and condos of a city, and the actor returns one record per listing card: title, price, address, coordinates, bedrooms, bathrooms, size, unit type, poster type, photos, dates and every other attribute the card shows. No login and no API key are needed.

### What you get

- One record per listing card, about 40 new listings per list page.
- Several pages in one run. Set `maxResults` and the actor reads as many pages as it needs.
- Each listing once per run. Top ads that repeat on every page are returned once.
- Prices as numbers in Canadian dollars, bathrooms and bedrooms as numbers, yes/no attributes as `"1"` and `"0"`.
- A run that is interrupted continues where it stopped. Listings already delivered are not delivered or charged again.
- You pay only for listings that were saved to the dataset.

The actor reads list pages only. It does not open single listing pages, because Kijiji's robots.txt disallows them, and it does not use the filter parameters that robots.txt disallows.

### Use with AI agents (MCP)

Connect this actor to any MCP-compatible AI client, such as Claude Desktop, Cursor, VS Code, LangChain or LlamaIndex.

**MCP server URL:**

```
https://mcp.apify.com?tools=santamaria-automations/kijiji-rentals-scraper
```

**Example prompt once connected:**

> "Use `kijiji-rentals-scraper` to list 80 apartments for rent in Toronto from Kijiji with price, bedrooms and address as a CSV."

### Data extracted

| Field | Example |
|-------|---------|
| `id` | `"1737964695"` |
| `title` | `"Fully Renovated 2 Bedroom Large, 2 Bath for Rent in Etobicoke!"` |
| `url` | Address of the listing page (the actor does not open it) |
| `description` | Short description as shown on the card |
| `price_amount`, `price_currency` | `2975`, `"CAD"` |
| `price_original_amount`, `price_type` | `null`, `"FIXED"` |
| `category_id`, `category` | `37`, `"Long Term Rentals"` |
| `location_id`, `location_name` | `1700273`, `"City of Toronto"` |
| `address` | `"165 La Rose Avenue, Etobicoke, ON, M9P 3S9"` |
| `nearest_intersection`, `neighbourhood` | `["La Rose Avenue", "Griggsden Avenue"]`, `"Islington"` |
| `latitude`, `longitude` | `43.68395`, `-79.5249` |
| `activation_date`, `sorting_date` | Date first posted, date used for sorting |
| `ad_source`, `is_top_ad`, `is_highlight`, `flags` | `"TOP_AD"`, `true`, `false`, all flags of the card |
| `image_count`, `image_url`, `image_urls` | Number of photos, first photo, photos on the card |
| `poster_id`, `poster_type`, `poster_verified`, `poster_rating` | Public poster ID, `"owner"` or `"professional"`, verified mark, rating |
| `bedrooms`, `bathrooms` | `2`, `2.5` (a studio has `0` bedrooms) |
| `unit_type`, `furnished`, `pets_allowed` | `"apartment"`, `false`, `true` |
| `size_sqft`, `parking_spots` | `750`, `1` |
| `date_available`, `agreement_type`, `logo_url` | Move-in date, lease term, agency logo |
| `attributes` | Every attribute of the card as the site gives it |
| `source_url`, `page`, `position`, `scraped_at` | The list page, its number, position on the page, read time |

Fields that a card does not show are returned empty.

### Pricing

Pay-per-event pricing. You pay only for listings that were saved to the dataset.

| Event | Price |
|-------|-------|
| Actor start (`actor-start`) | $0.001 per run |
| Listing scraped (`kijiji-listing-result`) | $0.001 per listing ($1.00 per 1,000) |

The start event is charged once per run, together with the first saved listing. A run that returns nothing is not charged. If you set a maximum cost per run, the actor stops before it goes over that limit.

### Input

| Field | Type | Description | Default |
|-------|------|-------------|---------|
| `startUrls` | array | Plain Kijiji list addresses, for example `https://www.kijiji.ca/b-apartments-condos/city-of-toronto/c37l1700273`. Page numbers in the path, such as `/page-2/`, are accepted. | none |
| `maxResults` | integer | Most listings to return in total, across all addresses in order. 0 uses 100. | `100` |
| `maxPages` | integer | Most list pages to read for each address. 0 means no limit besides `maxResults`. | `0` |

At least one address is required. An address with a question mark and filters (for example `?bedrooms=2`) is refused before any page is read, and so is a single listing page. Use the plain list address and filter the dataset afterwards.

### Usage examples

#### First 40 rentals in Toronto

```json
{
  "startUrls": [{ "url": "https://www.kijiji.ca/b-apartments-condos/city-of-toronto/c37l1700273" }],
  "maxResults": 40
}
```

#### Two cities, first page of each

Addresses are read in the order given, and `maxResults` is a total for the run. A busy first address can use up the whole total before the next one starts. Set `maxPages` to share the run between cities: here each city gives its first page (about 40 to 50 listings).

```json
{
  "startUrls": [
    { "url": "https://www.kijiji.ca/b-apartments-condos/city-of-toronto/c37l1700273" },
    { "url": "https://www.kijiji.ca/b-apartments-condos/ottawa/c37l1700185" }
  ],
  "maxResults": 100,
  "maxPages": 1
}
```

### Output sample

```json
{
  "id": "1745677953",
  "title": "Modern spacious 4 beds, 3 baths home for rent- DVP/Lawrence Av E",
  "url": "https://www.kijiji.ca/v-apartments-condos/city-of-toronto/modern-spacious-4-beds-3-baths-home-for-rent-dvp-lawrence-av-e/1745677953",
  "price_amount": 4000,
  "price_currency": "CAD",
  "price_type": "FIXED",
  "category": "Long Term Rentals",
  "location_name": "North York",
  "address": "North York, ON M4A 2J9",
  "latitude": 43.73693,
  "longitude": -79.31504,
  "neighbourhood": "Victoria Village",
  "activation_date": "2026-11-03T12:30:33.000Z",
  "ad_source": "TOP_AD",
  "poster_type": "owner",
  "bedrooms": 4,
  "bathrooms": 3,
  "unit_type": "house",
  "size_sqft": 1800,
  "date_available": "2026-11-25T00:00:00Z",
  "page": 1,
  "position": 6
}
```

Results are saved to the default dataset. Export them as JSON, CSV or Excel, or read them through the API.

### Limitations

- List cards only. Fields that exist only on the single listing page, such as the full description, the contact details and the full photo set, are not returned.
- The description on a card is shortened by Kijiji.
- Only plain list addresses work. Kijiji's robots.txt disallows many filter parameters and the listing pages, so the actor refuses them instead of reading them.
- Kijiji decides how deep a list goes. When a list ends, the run ends with the listings found so far.
- Prices on Kijiji.ca are in Canadian dollars. Some cards show no amount, for example "Please contact", and then `price_amount` is empty.
- Each list page is a large page (about 1.5 MB before compression), so runs are slower than runs on small JSON pages.
- Free Apify plans can fail on this site because the connection levels it needs are not part of the free plan.

### FAQ

**Which addresses should I use?**
List pages of a category and a place, such as `https://www.kijiji.ca/b-apartments-condos/city-of-toronto/c37l1700273`. Open Kijiji in your browser, choose the category and place, and copy the address without anything after a question mark.

**Can I use filters such as bedrooms or price?**
Not through the address. Kijiji's robots.txt disallows those parameters. Read the list and filter the dataset by `bedrooms`, `price_amount` or any other field.

**How many listings can I get from one list?**
The actor reads pages until it has `maxResults` listings or the list ends. Top ads that repeat on each page are counted once.

**What status does a run end with?**
The run status says how many listings were delivered. If Kijiji refuses every request, the run fails and nothing is charged. If a list has no listings, the run ends normally and says so.

**Can I get the contact details or the full text of a listing?**
No. That information is only on the single listing page, which this actor does not open.

# Actor input Schema

## `startUrls` (type: `array`):

Plain Kijiji list addresses, for example https://www.kijiji.ca/b-apartments-condos/city-of-toronto/c37l1700273. Each page holds about 40 listings and the actor reads the next pages until it has Max Results listings. Addresses with a question mark and filters, and single listing pages, are refused.

## `maxResults` (type: `integer`):

Most listings to return across all addresses. 0 or empty uses 100.

## `maxPages` (type: `integer`):

Most list pages to read for each address. 0 or empty means no limit besides Max Results.

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

Connection settings. The default works for most runs; the actor chooses the level it needs and uses Canadian addresses.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.kijiji.ca/b-apartments-condos/city-of-toronto/c37l1700273"
    }
  ],
  "maxResults": 40,
  "maxPages": 0,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `defaultDataset` (type: `string`):

Dataset with one record per Kijiji listing card

# 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 = {
    "startUrls": [
        {
            "url": "https://www.kijiji.ca/b-apartments-condos/city-of-toronto/c37l1700273"
        }
    ],
    "maxResults": 40,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("santamaria-automations/kijiji-rentals-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 = {
    "startUrls": [{ "url": "https://www.kijiji.ca/b-apartments-condos/city-of-toronto/c37l1700273" }],
    "maxResults": 40,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("santamaria-automations/kijiji-rentals-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 '{
  "startUrls": [
    {
      "url": "https://www.kijiji.ca/b-apartments-condos/city-of-toronto/c37l1700273"
    }
  ],
  "maxResults": 40,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call santamaria-automations/kijiji-rentals-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,santamaria-automations/kijiji-rentals-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/YmtOkDJ8iFNsjde96/builds/IySGqTG908bkhUnyN/openapi.json
