Kijiji.ca Apartments & Condos Scraper (Canada) avatar

Kijiji.ca Apartments & Condos Scraper (Canada)

Pricing

from $0.40 / 1,000 list-tier listings

Go to Apify Store
Kijiji.ca Apartments & Condos Scraper (Canada)

Kijiji.ca Apartments & Condos Scraper (Canada)

Public Kijiji.ca long-term rental (apartments-condos) listings from search results: price (CAD), beds/baths, address, landlord/broker when public, amenities, photos, and optional detail page. No start fee.

Pricing

from $0.40 / 1,000 list-tier listings

Rating

0.0

(0)

Developer

Stone Jade

Stone Jade

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Categories

Features

Limited permissions

Share

Kijiji Canada Apartments Scraper

Extract structured Canadian apartment and condo rental listings from public Kijiji.ca apartments-condos search and listing pages. Collect asking rent in CAD, bedrooms, bathrooms, square footage, street/city address, neighbourhood, amenities, photo URLs, coordinates, and public landlord or broker details into clean JSON, CSV, or Excel datasets without copying listings by hand.

Built for speed and low memory footprint (256 MB default container), the Actor reads Kijiji's embedded __NEXT_DATA__ Apollo (RealEstateListing) JSON payload directly from public HTML pages—with an automatic URL fallback—and drops raw HTML immediately after parsing.

Overview and use cases

  • Targeted Canadian rental coverage: Focuses specifically on Kijiji.ca long-term rentals (/b-apartments-condos/..., category 37), defaulting to Ontario (/b-apartments-condos/ontario/c37l9004) when startUrls is omitted, or accepting any Kijiji.ca apartments-condos province/city search or direct /v-apartments-condos/.../{id} listing URL.
  • Structured __NEXT_DATA__ / Apollo parsing: Normalizes Kijiji cent-denominated prices to CAD dollars (169000 -> 1690), decodes tenths-encoded bathroom attributes (15 -> 1.5), resolves neighbourhood references, maps boolean amenity flags, and records both page and position.
  • Two collection tiers (listing and listing-detail): Run in fast list-only mode (scrapeDetails: false, ~40–46 listings per search page) or enable scrapeDetails: true to fetch each listing page for full descriptions, richer amenities, availability dates, and public business contact numbers.
  • Privacy-first contact handling: Public property-management and broker phone numbers and emails published on the listing are retained, while purely private owner (Ownr / FSBO / unknown seller) phone numbers and emails are stripped (phones: [], emails: []).
  • Built-in resilience and transparent diagnostics: Enforces minimum request pacing (>= 1200 ms), deduplicates ads within a run (duplicatesSkipped), backs off cleanly on HTTP 403/412/429 or Cloudflare challenges, caps optional fallback residential proxy bandwidth at 5 MB per run, and writes a complete OUTPUT run summary plus an uncharged run-notice record if a run stops early.

Common use cases

  • Rental market benchmarking: Track monthly CAD asking rents across Ontario, Alberta, British Columbia, and other Canadian provinces by bedroom count, unit type (Apartment, Condo, Basement), and neighbourhood.
  • Relocation & corporate housing shortlists: Compare furnished vs. unfurnished inventory, square footage, included utilities (Heat, Hydro, Water), and pet-friendly or laundry amenities across target postal areas.
  • Property management & brokerage research: Monitor competitor supply, featured/top-ad placement, and publicly listed leasing office contacts across regional apartments-condos feeds.
  • Automated downstream pipelines: Export datasets via the Apify API or ApifyClient SDK directly into spreadsheets, BI dashboards, PostgreSQL, or analytics notebooks.

Input parameters and JSON examples

Configure runs visually in the Apify Console using four grouped input sections (Search & Target URLs, Limits & Detail Enrichment, Pacing & Runtime, and Proxy Configuration) or pass JSON directly via the API.

ParameterTypeDefault / PrefillConstraintsDescription
startUrlsarrayPrefill: Ontario search (c37l9004)Must be kijiji.ca /b-apartments-condos/... or /v-apartments-condos/.../{id}Optional array of URL strings or { "url": "..." } objects. Empty input defaults to Ontario apartments-condos (https://www.kijiji.ca/b-apartments-condos/ontario/c37l9004). Non-apartments Kijiji verticals (cars, jobs, etc.) are rejected before any charge.
maxItemsinteger50 / Prefill: 501 – 2000Maximum number of unique listings to store and charge in the dataset. Values above 2000 are clamped to 2000.
maxPagesintegernull (unlimited)1 – 2000Optional limit on search result pages fetched per seed URL. Each search page typically contains ~40–46 Apollo listings.
startPageinteger1 / Prefill: 11 – 2000First search page to fetch when a search URL does not already include /page-N/ or ?page=N.
scrapeDetailsbooleanfalse / Prefill: falseAlso accepts alias includeDetailsWhen true, opens each individual listing page to add full descriptions, enriched amenities, and public landlord/broker contacts. Charged as listing-detail instead of listing. If a detail fetch fails, the list row is preserved with detailError and charged as listing.
requestDelayMsinteger1200 / Prefill: 1200>= 1200 (alias requestIntervalMs)Minimum delay in milliseconds between request starts across all in-flight workers. A Crawl-delay directive in robots.txt can raise this interval further.
concurrencyinteger1 / Prefill: 11 – 3Maximum concurrent page requests. Rows are still emitted in page order while respecting requestDelayMs.
maxRunSecondsinteger3600 / Prefill: 360030 – 86400Soft runtime deadline in seconds; stops cleanly before the earlier of maxRunSeconds and ACTOR_TIMEOUT_AT - 20s, writing OUTPUT and a run-notice if truncated.
proxyConfigurationobject{ "useApifyProxy": false }Apify Proxy config objectDirect connection is used by default. Residential proxy usage should only be configured with useProxyFallback: true and is hard-capped at 5 MB per run.
useProxyFallbackbooleanfalseBooleanWhen true and a proxy is configured, requests start direct and switch to the configured proxy only after repeated HTTP 403 or 429 responses.
allowDetailOnResidentialbooleanfalseBooleanWhen a residential proxy group is configured, individual detail-page requests stay direct unless this option is explicitly enabled.

Input examples

Example 1: Default Ontario list-only crawl (fast, low-cost)
{
"startUrls": [
{
"url": "https://www.kijiji.ca/b-apartments-condos/ontario/c37l9004"
}
],
"maxItems": 100,
"maxPages": 5,
"startPage": 1,
"scrapeDetails": false,
"requestDelayMs": 1200,
"concurrency": 1,
"proxyConfiguration": {
"useApifyProxy": false
}
}
Example 2: Alberta search + direct listing URL with detail enrichment and proxy fallback
{
"startUrls": [
{
"url": "https://www.kijiji.ca/b-apartments-condos/alberta/c37l9003"
},
{
"url": "https://www.kijiji.ca/v-apartments-condos/st-catharines/rare-loft-st-catharines-loft-one-bedroom/1745171670"
}
],
"maxItems": 50,
"scrapeDetails": true,
"requestDelayMs": 1500,
"concurrency": 2,
"maxRunSeconds": 1800,
"proxyConfiguration": {
"useApifyProxy": true,
"apifyProxyGroups": ["RESIDENTIAL"]
},
"useProxyFallback": true,
"allowDetailOnResidential": false
}

Output example and dataset schema reference

Each item written to the default dataset represents one unique Kijiji.ca apartments-condos listing (normalized against .actor/dataset_schema.json). When a run stops early due to maxItems, max-charge-reached, run-time-limit, proxy-budget, cloudflare-challenge, empty-page, or errors, a single uncharged summary record with recordType: "run-notice" is appended at the end of the dataset.

Illustrative JSON output

Listing record (tier: "list" example matching dataset_schema.json)
{
"adId": "1745171670",
"title": "Rare Loft! St. Catharines Loft One Bedroom",
"price": 1690,
"currency": "CAD",
"pricePeriod": "month",
"priceRaw": "$1,690",
"beds": 1,
"baths": 1,
"address": "St. Catharines, ON L2R 2C7",
"location": "St. Catharines, ON L2R 2C7",
"neighbourhood": "The Haig",
"unitType": "apartment",
"categoryId": "37",
"landlord": "Owner",
"landlordId": "1001684937",
"isPrivateOwner": true,
"forRentBy": "Owner",
"phones": [],
"emails": [],
"amenities": [
"Yard",
"Laundry (In Building)",
"Fridge / Freezer",
"Water",
"Air Conditioning",
"Storage Space"
],
"areaSqft": 750,
"furnished": false,
"dateAvailable": "2026-11-01T00:00:00Z",
"photos": [
"https://media.kijiji.ca/api/v1/ca-prod-fsbo-ads/images/8b/8b730ee5-f5d0-49f8-b4f2-9a1a10f20d9f?rule=kijijica-200-jpg"
],
"description": "1 Bedroom Loft Apartment! Available Nov 1 or Dec 1 . Located near downtown in well maintained low rise building.",
"url": "https://www.kijiji.ca/v-apartments-condos/st-catharines/rare-loft-st-catharines-loft-one-bedroom/1745171670",
"postedDate": "2026-10-22T17:44:24.000Z",
"lat": 43.16378,
"lon": -79.25877,
"featured": true,
"status": null,
"page": 1,
"position": 1,
"listUrl": "https://www.kijiji.ca/b-apartments-condos/ontario/c37l9004",
"tier": "list",
"scrapedAt": "2026-11-21T00:00:00.000Z"
}
Truncation notice record (uncharged, emitted only on truncated runs)
{
"recordType": "run-notice",
"truncatedAfter": 50,
"reason": "maxItems"
}

Dataset fields reference

Every field defined in .actor/dataset_schema.json is listed below. Fields omitted by the source listing are stored as null (or [] for array fields).

FieldTypeDescription
adIdstring | nullStable Kijiji advert identifier as a string (e.g. "1745171670").
titlestring | nullListing headline as published on Kijiji.
pricenumber | nullAsking rent in CAD after converting Kijiji's cent-based price.amount to dollars.
currencystring | nullCurrency code published with the price; defaults to "CAD" when omitted.
pricePeriodstring | nullRent period reported for the price (typically "month").
priceRawstring | nullFormatted price string derived from the source amount (e.g. "$1,690").
bedsnumber | nullNumber of bedrooms when published (0 for bachelor/studio where reported).
bathsnumber | nullNumber of bathrooms, decoded from display values or tenths canonical values (e.g. 15 -> 1.5).
addressstring | nullStreet address or city/province/postal label when published.
locationstring | nullFull address when available, otherwise combined city and neighbourhood labels.
neighbourhoodstring | nullResolved neighbourhood name from Apollo neighbourhoodInfo when published.
unitTypestring | nullUnit type label from listing attributes (e.g. "Apartment", "Condo").
categoryIdstring | nullKijiji category identifier ("37" for apartments-condos).
landlordstring | nullPublic landlord or broker profile name, or "Owner" / "Professional" fallback label.
landlordIdstring | nullPublic Kijiji poster identifier when published.
isPrivateOwnerboolean | nulltrue for owner/FSBO or unknown sellers (defaulting private for contact protection); false for reprofessional / broker listings.
forRentBystring | nullPoster classification label ("Owner" or "Professional").
phonesstring[] | nullPublic business phone numbers for non-private landlords/brokers; always [] for private owners.
emailsstring[] | nullPublic business emails extracted for non-private landlords/brokers; always [] for private owners.
amenitiesstring[] | nullList of amenities marked "yes" / "1" (e.g. "Balcony", "Dishwasher", "Heat", "Hydro", "Pet Friendly").
areaSqftnumber | nullLiving area in square feet when published.
furnishedboolean | nulltrue if furnished, false if unfurnished, or null when omitted.
dateAvailablestring | nullMove-in or availability date string when published.
photosstring[] | nullPublic image URLs from listing.imageUrls.
descriptionstring | nullListing description text (truncated snippet on list cards unless scrapeDetails: true fetches the full detail page).
urlstring | nullCanonical public listing URL (https://www.kijiji.ca/v-apartments-condos/.../{adId}).
postedDatestring | nullActivation or sorting timestamp published by Kijiji.
latnumber | nullGeographic latitude when published.
lonnumber | nullGeographic longitude when published.
featuredboolean | nulltrue when flagged as a top ad (flags.topAd), false otherwise, or null if omitted.
statusstring | nullListing status text when published (e.g. "ACTIVE").
pageinteger | null1-based search page number for list-discovered rows; null for direct detail seeds.
positioninteger | null1-based position on the parsed search results page.
listUrlstring | nullSearch URL or direct seed URL from which the listing was collected.
tierstring | null"list" for search-card rows; "detail" for rows enriched or seeded from a detail page.
scrapedAtstring | nullISO 8601 timestamp recorded when the page was parsed.
detailErrorstring | nullError message attached only when scrapeDetails: true failed for a row and the list row was kept and charged as listing.
recordTypestring | null"run-notice" on the single extra dataset row emitted when a run truncates; absent on normal listing rows.
truncatedAfterinteger | nullNumber of charged listing rows stored before truncation (present on run-notice rows).
reasonstring | nullStop reason on run-notice rows, matching OUTPUT.stopReason.

Dataset views and Key-Value Store OUTPUT

  • Dataset overview view: Displays adId, title, price, currency, beds, baths, unitType, address, landlord, tier, and clickable url in the Apify Console table.
  • Key-Value Store OUTPUT record: Written at the end of every normal, truncated, or invalid-input run (declared in .actor/key_value_store_schema.json and .actor/output_schema.json). Includes startedAt, finishedAt, normalized input, pricing, per-seed progress (seeds), pushed (listing, listing-detail), duplicatesSkipped, pagesFetched, siteTotalEntries, errors, stopReason, truncated, unavailableFields, http transfer/status counters, robots status, robotsDisallowedHits, listSource (apollo vs htmlFallback), and notes.

Pricing and Store tier discounts

This Actor uses transparent Pay-Per-Event (PPE) billing in USD with no Actor start fee ($0.00 start fee) and no separate dataset-item charge. Uncharged records such as run-notice, duplicate ads skipped during a run, and failed zero-item runs incur $0.00 in event charges.

  • listing (List-tier listing): Charged once per unique listing parsed from a public search page without opening its detail page ($0.000475 base rate / $0.475 per 1,000 listings).
  • listing-detail (Listing with detail page): Charged when a listing is enriched from or seeded via its public detail page ($0.000475 base rate / $0.475 per 1,000 listings). Charged instead of listing, never in addition. If a detail page fails while scrapeDetails: true, the list row is preserved with detailError and charged at the listing rate.

Live Store subscription tier discounts

Apify Store subscription discounts apply automatically to both listing and listing-detail events:

Apify Plan TierDiscountPrice per listing / listing-detailEffective Cost per 1,000 Listings
FreeBase rate$0.000475$0.475
Bronze5% off$0.00045125$0.45125
Silver10% off$0.0004275$0.4275
Gold15% off$0.00040375$0.40375
Platinum15% off$0.00040375$0.40375
Diamond15% off$0.00040375$0.40375

Cost comparison

At the Free-tier rate of $0.000475 per listing with zero start fee, 1,000 listings cost $0.475 in Actor event charges (or as low as $0.40375 on Gold/Platinum/Diamond plans)—compared with alternative Kijiji scrapers such as memo23 ($0.00095 per result + $0.005 start fee = $0.955 per 1,000 results). Platform compute and storage usage are billed separately by Apify according to your plan.

Quickstart with JavaScript and Python SDKs

Call Stone_JadeX/kijiji-ca-apartments-scraper programmatically from Node.js or Python using the official Apify Client libraries.

JavaScript (apify-client)

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('Stone_JadeX/kijiji-ca-apartments-scraper').call({
startUrls: [
{ url: 'https://www.kijiji.ca/b-apartments-condos/ontario/c37l9004' },
],
maxItems: 50,
scrapeDetails: false,
requestDelayMs: 1200,
concurrency: 1,
proxyConfiguration: { useApifyProxy: false },
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
const listings = items.filter((item) => item.recordType !== 'run-notice');
console.log(`Fetched ${listings.length} Kijiji listings`);
console.log(listings[0]);
const summary = await client.keyValueStore(run.defaultKeyValueStoreId).getRecord('OUTPUT');
console.log('Stop reason:', summary?.value?.stopReason);

Python (apify-client)

import os
from apify_client import ApifyClient
client = ApifyClient(os.environ["APIFY_TOKEN"])
run = client.actor("Stone_JadeX/kijiji-ca-apartments-scraper").call(
run_input={
"startUrls": [
{"url": "https://www.kijiji.ca/b-apartments-condos/ontario/c37l9004"}
],
"maxItems": 50,
"scrapeDetails": False,
"requestDelayMs": 1200,
"concurrency": 1,
"proxyConfiguration": {"useApifyProxy": False},
}
)
dataset_items = client.dataset(run["defaultDatasetId"]).list_items().items
listings = [row for row in dataset_items if row.get("recordType") != "run-notice"]
print(f"Fetched {len(listings)} Kijiji listings")
if listings:
print(listings[0])
output_record = client.key_value_store(run["defaultKeyValueStoreId"]).get_record("OUTPUT")
print("Stop reason:", (output_record or {}).get("value", {}).get("stopReason"))

Scraping publicly accessible web pages that do not require authentication is generally lawful in many jurisdictions, provided you respect applicable laws (including privacy rules such as PIPEDA in Canada and anti-circumvention / terms obligations) and evaluate your own use case. You are responsible for reviewing Kijiji.ca's Terms of Use and complying with local regulations for how collected data is stored and used.

How this Actor handles technical boundaries, robots.txt, and contact privacy:

  • Public pages only (isLoginOrAccountUrl refusal): The Actor only fetches public /b-apartments-condos/ and /v-apartments-condos/ pages. Any login, signup, auth, or account URL (/login, /signin, /account, /mypage, etc.) is strictly refused and never requested.
  • robots.txt transparency and warn-only tracking: https://www.kijiji.ca/robots.txt is fetched at the start of every run and any Crawl-delay directive increases the minimum request spacing. Category-style VIP paths (/v-*/*/*/c*) and contact/AJAX endpoints appear in Kijiji's robots.txt: the Actor never constructs contact/AJAX URLs, while /v-*/*/*/c* is Disallow'd; a URL that robots.txt disallows is still requested, logged as a warning and counted in robotsDisallowedHits.
  • Contact privacy policy: Phone numbers and email addresses are kept only for commercial/professional landlord or broker listings where business contact details are publicly posted; purely private owner (Owner / FSBO / unknown) contacts are always dropped (phones: [], emails: []). Note that Kijiji may partially mask public broker phone numbers (e.g., 905357xxxx), which are preserved as published.

Limitations, FAQ, and changelog

Limitations and FAQ

Which Kijiji categories and locales are supported? This Actor is scoped strictly to Kijiji.ca long-term rentals under /b-apartments-condos/... and /v-apartments-condos/.../{id} (category 37). Other Kijiji verticals such as cars, jobs, or buy-and-sell are rejected with a validation error before any request or charge occurs. French (Québec) pages are not a separate input mode in v0.1, though French URLs under /b-apartments-condos/ that embed the same Apollo payload will parse when supplied in startUrls.

Why is maxItems capped at 2,000 and what happens on early stops? To keep runs predictable inside the default 256 MB memory container and 1-hour timeout, maxItems and maxPages are capped at 2000. If a run hits maxItems, max-charge-reached, run-time-limit, proxy-budget, cloudflare-challenge, or empty-page, it stops cleanly, writes OUTPUT, and appends an uncharged { "recordType": "run-notice", "truncatedAfter": ..., "reason": "..." } item.

How are anti-bot blocks and proxies handled? Direct connections are used by default (useApifyProxy: false) with at least 1200 ms between request starts. On HTTP 403, 412, or 429 (including Cloudflare challenge pages), the Actor performs escalating 30 s / 60 s backoffs (up to 2 retries) without attempting to bypass challenges. If you configure an Apify residential proxy, enable useProxyFallback: true so direct requests are attempted first; residential proxy traffic is capped at a fixed 5 MB per run (RESIDENTIAL_MAX_MB = 5, not user-overridable) and detail pages remain direct unless allowDetailOnResidential: true is set.

Why does description look shorter when scrapeDetails is false? Search result cards embedded in __NEXT_DATA__ / Apollo often contain an abbreviated description snippet and omit full amenity/contact fields. Set scrapeDetails: true (or pass direct /v-apartments-condos/.../{id} URLs in startUrls) to fetch full detail pages.

Is this an official Kijiji tool or live monitoring service? No. This is an independent tool and is not affiliated with Kijiji. Each run captures a point-in-time snapshot; use Apify Schedules or webhooks for recurring comparisons.

Changelog

  • 2026-11-21 (v0.1 Documentation & Schema Polish):
    • Added explicit prefill defaults (startUrls, maxItems, startPage, scrapeDetails, requestDelayMs, concurrency, maxRunSeconds, proxyConfiguration) and clean sectionCaption UI groupings in .actor/input_schema.json.
    • Upgraded README.md with full input/dataset schema tables, fixture-verified JSON examples, live Store subscription tier discounts (Free through Diamond), JavaScript and Python ApifyClient quickstarts, and updated CHANGELOG.md.
    • Restored .actor/actor.json meta.generatedBy consistency and brought all unit tests to 100% pass.
  • 2026-10-26 (v0.1.0):
    • Initial release of kijiji-ca-apartments-scraper supporting __NEXT_DATA__ / Apollo RealEstateListing list & detail extraction, HTML link fallback, cent-to-CAD price conversion, tenths bathroom decoding, privacy-filtered contacts, Pay-Per-Event billing (listing / listing-detail), warn-only robots.txt tracking (robotsDisallowedHits), login/account URL refusal, and 256 MB memory-safe HTML body disposal.