# Kijiji Scraper (`service-paradis/kijiji-crawler`) Actor

Scrape Kijiji search results and ads: price, location with coordinates, category, attributes, images, seller type and dates.

- **URL**: https://apify.com/service-paradis/kijiji-crawler.md
- **Developed by:** [Alexandre Paradis](https://apify.com/service-paradis) (community)
- **Categories:** E-commerce
- **Features:** Limited permissions
- **Stats:** 73 total users, 1 monthly users, 98.9% runs succeeded, 3 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.40 / 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

## Kijiji Scraper

Kijiji Scraper extracts listings from [Kijiji](https://www.kijiji.ca), Canada's classifieds site. Give it a search page (any category, city, price range or sort you set on kijiji.ca), ad pages, or plain keywords. You get one clean row per listing with its price, location and coordinates, category, attributes, images and seller type.

It reads the data Kijiji embeds in its pages, so it does not run a browser. Runs are fast and cheap.

### What data can you get from Kijiji?

| Field | Example |
|---|---|
| Title, description, URL | 2024 Acura MDX Type S, full text, link to the ad |
| Price | 59988 CAD, price type (fixed, give away, swap, contact), previous price, MSRP and market rating for dealer cars |
| Category | Cars & Trucks, with its path (Cars & Vehicles > Cars & Trucks) |
| Location | City, address, latitude and longitude |
| Dates | Posted, last bumped, expiry |
| Attributes | Every attribute Kijiji shows: year, mileage, bedrooms, condition... |
| Images | Image URLs and count |
| Seller | Seller type (private or business), profile link, business name and website for dealers |
| Other | Views, promoted (top ad) or not |

Some fields come only from the ad page itself. Turn on **Open each ad for details** to get them (see below).

### How to scrape Kijiji

1. Open [kijiji.ca](https://www.kijiji.ca), search for what you want and set the location, category, filters and sort.
2. Copy the URL of the results page and paste it into **Start URLs**. You can add several searches, or ad URLs.
3. Set **Maximum listings per search** to the number of listings you want from each search.
4. Click **Start**. Download the results as JSON, CSV, Excel or HTML, or get them through the Apify API.

To search all of Canada without opening the site, type keywords into **Search queries** instead.

### Input

| Field | Description | Default |
|---|---|---|
| `startUrls` | Kijiji search result pages or ad pages | none |
| `searchQueries` | Keywords searched across Canada, one search each | none |
| `maxItems` | Maximum number of listings from each start URL or search query | 100 |
| `includeDetails` | Open each listing's ad page for the full description, readable attributes, views, dates and dealer name | `false` |
| `excludePromoted` | Leave out the paid top ads Kijiji repeats at the top of every page | `false` |
| `proxyConfiguration` | Proxy settings. Apify Proxy is recommended | Apify Proxy |

Give at least one start URL or one search query.

```json
{
  "startUrls": [
    { "url": "https://www.kijiji.ca/b-cars-trucks/ville-de-montreal/c174l1700281" }
  ],
  "maxItems": 200,
  "includeDetails": true,
  "excludePromoted": true
}
```

### Output

One item per listing. This one comes from an ad page (`includeDetails` on), shortened:

```json
{
  "id": "1743890485",
  "url": "https://www.kijiji.ca/v-cars-trucks/ville-de-montreal/2024-acura-mdx-advance-type-s-ultra-4x4-cuir-nav-toit-7-plac/1743890485",
  "title": "2024 Acura MDX ADVANCE Type S Ultra 4X4, Cuir, Nav, Toit, 7 plac",
  "description": "4X4, Cuir, Nav, Toit, 7 places, Carplay, Wi-Fi, Bluetooth, Caméra, Phares à DEL…",
  "price": {
    "amount": 59988,
    "currency": "CAD",
    "type": "FIXED",
    "originalAmount": null,
    "msrp": null,
    "rating": "FAIR"
  },
  "category": {
    "id": 174,
    "name": "Cars & Trucks",
    "path": ["Cars & Vehicles", "Cars & Trucks"]
  },
  "location": {
    "id": 1700281,
    "name": "City of Montréal",
    "address": "2301 Place Transcanadienne, Dorval, QC, H9P 2X7",
    "latitude": 45.479751,
    "longitude": -73.7904223
  },
  "postedAt": "2026-09-24T04:00:20.000Z",
  "sortedAt": "2026-10-15T04:00:20.000Z",
  "endsAt": null,
  "status": "ACTIVE",
  "isPromoted": true,
  "imageUrls": [
    "https://media.kijiji.ca/api/v1/ca-prod-dealer-ads/images/9c/9cb1b7cc-58d5-4f27-95dd-6f529ac13b5b?rule=kijijica-640-webp"
  ],
  "imageCount": 37,
  "attributes": [
    { "name": "vehicletype", "label": "Condition", "values": ["Used"] }
  ],
  "seller": {
    "id": "COMMERCIAL_8632",
    "type": "COMMERCIAL",
    "name": "Honda des Sources",
    "profileUrl": "https://www.kijiji.ca/o-honda-des-sources/8632/listings/1",
    "websiteUrl": "https://www.hondadessources.ca/fr/?utm_source=kijiji.ca&utm_medium=referral",
    "verified": false
  },
  "views": 359,
  "scrapedFrom": "ad",
  "searchUrl": "https://www.kijiji.ca/b-cars-trucks/ville-de-montreal/c174l1700281",
  "scrapedAt": "2026-10-15T15:20:41.512Z"
}
```

Without **Open each ad for details**, items come straight from the search pages (`scrapedFrom: "search"`). The description is shortened by Kijiji, attributes have internal names and values, and `postedAt`, `endsAt`, `status`, `views`, `category.name` and `seller.name` are often `null`.

The **Overview** view of the dataset shows the main columns. The **Ad details** view adds the fields from ad pages.

### How much does it cost to scrape Kijiji?

The actor charges per listing in the dataset. The current price is on the **Pricing** tab. **Open each ad for details** makes one extra request per listing, so those runs take longer but cost the same per listing.

### Tips

- Each Kijiji results page has 40 listings, and the actor moves to the next page until it reaches **Maximum listings per search** or the last page.
- Promoted top ads appear at the top of every results page. The actor keeps each listing once per run.
- Sort your search by date on kijiji.ca (`sort=dateDesc`) to get the newest listings first.

### Migrating from version 0.x

Version 1.0 is a rewrite with a new output:

- One item per listing. Version 0.x pushed one item per search page with the listings nested in `results`.
- Prices are in dollars and correct. Version 0.x read `$3,999` as 39.99.
- New inputs: `searchQueries`, `maxItems`, `includeDetails`, `excludePromoted`. `maxPagesToSearch`, `fetchAdsFromSearch` and `debug` are gone: use `maxItems` and `includeDetails`.
- Private sellers' names are not collected.

### Is it legal to scrape Kijiji?

The actor only collects listings that Kijiji shows publicly, and it does not collect private sellers' names or contact details. You are responsible for how you use the data. Follow Kijiji's terms of use and the laws that apply to you, including privacy laws, before you store or reuse personal data.

### Support

Found a bug or need a field? Open an issue on the actor's **Issues** tab.

# Changelog

This Actor's version history is a separate document: https://apify.com/service-paradis/kijiji-crawler/changelog.md

# Actor input Schema

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

Kijiji search result pages or ad pages. Open a search on kijiji.ca, set the category, location, price range and sort you want, then paste its URL here.

## `searchQueries` (type: `array`):

Keywords searched across all of Canada, one search per line. To search a city or a category, use a search URL in Start URLs instead.

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

Each start URL and search query adds at most this many listings. Each results page has 40 listings. A listing found twice is kept once.

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

Visits every listing's ad page to add the full description, readable attribute names, views, posting and expiry dates, the seller type and the dealer's name. One extra request per listing, so runs take longer.

## `excludePromoted` (type: `boolean`):

Leaves out the paid top ads that Kijiji repeats at the top of every results page.

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

Apify Proxy is recommended. Kijiji may block requests from a single IP address.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.kijiji.ca/b-motorcycles/ville-de-montreal/kawasaki/k0c30l1700281?sort=dateDesc"
    }
  ],
  "maxItems": 100,
  "includeDetails": false,
  "excludePromoted": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `listings` (type: `string`):

One item per Kijiji listing.

# 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-motorcycles/ville-de-montreal/kawasaki/k0c30l1700281?sort=dateDesc"
        }
    ],
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("service-paradis/kijiji-crawler").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-motorcycles/ville-de-montreal/kawasaki/k0c30l1700281?sort=dateDesc" }],
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("service-paradis/kijiji-crawler").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-motorcycles/ville-de-montreal/kawasaki/k0c30l1700281?sort=dateDesc"
    }
  ],
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call service-paradis/kijiji-crawler --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,service-paradis/kijiji-crawler"
        }
    }
}
```

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/PtqfxadmY8UUelaYN/builds/Z5mmF809KyT2Doliz/openapi.json
