Kijiji.ca Apartments & Condos Scraper (Canada)
Pricing
from $0.40 / 1,000 list-tier listings
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
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
2 days ago
Last modified
Categories
Features
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/..., category37), defaulting to Ontario (/b-apartments-condos/ontario/c37l9004) whenstartUrlsis omitted, or accepting any Kijiji.caapartments-condosprovince/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 bothpageandposition. - Two collection tiers (
listingandlisting-detail): Run in fast list-only mode (scrapeDetails: false, ~40–46 listings per search page) or enablescrapeDetails: trueto 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 HTTP403/412/429or Cloudflare challenges, caps optional fallback residential proxy bandwidth at 5 MB per run, and writes a completeOUTPUTrun summary plus an unchargedrun-noticerecord 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-condosfeeds. - Automated downstream pipelines: Export datasets via the Apify API or
ApifyClientSDK 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.
| Parameter | Type | Default / Prefill | Constraints | Description |
|---|---|---|---|---|
startUrls | array | Prefill: 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. |
maxItems | integer | 50 / Prefill: 50 | 1 – 2000 | Maximum number of unique listings to store and charge in the dataset. Values above 2000 are clamped to 2000. |
maxPages | integer | null (unlimited) | 1 – 2000 | Optional limit on search result pages fetched per seed URL. Each search page typically contains ~40–46 Apollo listings. |
startPage | integer | 1 / Prefill: 1 | 1 – 2000 | First search page to fetch when a search URL does not already include /page-N/ or ?page=N. |
scrapeDetails | boolean | false / Prefill: false | Also accepts alias includeDetails | When 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. |
requestDelayMs | integer | 1200 / 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. |
concurrency | integer | 1 / Prefill: 1 | 1 – 3 | Maximum concurrent page requests. Rows are still emitted in page order while respecting requestDelayMs. |
maxRunSeconds | integer | 3600 / Prefill: 3600 | 30 – 86400 | Soft runtime deadline in seconds; stops cleanly before the earlier of maxRunSeconds and ACTOR_TIMEOUT_AT - 20s, writing OUTPUT and a run-notice if truncated. |
proxyConfiguration | object | { "useApifyProxy": false } | Apify Proxy config object | Direct connection is used by default. Residential proxy usage should only be configured with useProxyFallback: true and is hard-capped at 5 MB per run. |
useProxyFallback | boolean | false | Boolean | When true and a proxy is configured, requests start direct and switch to the configured proxy only after repeated HTTP 403 or 429 responses. |
allowDetailOnResidential | boolean | false | Boolean | When 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).
| Field | Type | Description |
|---|---|---|
adId | string | null | Stable Kijiji advert identifier as a string (e.g. "1745171670"). |
title | string | null | Listing headline as published on Kijiji. |
price | number | null | Asking rent in CAD after converting Kijiji's cent-based price.amount to dollars. |
currency | string | null | Currency code published with the price; defaults to "CAD" when omitted. |
pricePeriod | string | null | Rent period reported for the price (typically "month"). |
priceRaw | string | null | Formatted price string derived from the source amount (e.g. "$1,690"). |
beds | number | null | Number of bedrooms when published (0 for bachelor/studio where reported). |
baths | number | null | Number of bathrooms, decoded from display values or tenths canonical values (e.g. 15 -> 1.5). |
address | string | null | Street address or city/province/postal label when published. |
location | string | null | Full address when available, otherwise combined city and neighbourhood labels. |
neighbourhood | string | null | Resolved neighbourhood name from Apollo neighbourhoodInfo when published. |
unitType | string | null | Unit type label from listing attributes (e.g. "Apartment", "Condo"). |
categoryId | string | null | Kijiji category identifier ("37" for apartments-condos). |
landlord | string | null | Public landlord or broker profile name, or "Owner" / "Professional" fallback label. |
landlordId | string | null | Public Kijiji poster identifier when published. |
isPrivateOwner | boolean | null | true for owner/FSBO or unknown sellers (defaulting private for contact protection); false for reprofessional / broker listings. |
forRentBy | string | null | Poster classification label ("Owner" or "Professional"). |
phones | string[] | null | Public business phone numbers for non-private landlords/brokers; always [] for private owners. |
emails | string[] | null | Public business emails extracted for non-private landlords/brokers; always [] for private owners. |
amenities | string[] | null | List of amenities marked "yes" / "1" (e.g. "Balcony", "Dishwasher", "Heat", "Hydro", "Pet Friendly"). |
areaSqft | number | null | Living area in square feet when published. |
furnished | boolean | null | true if furnished, false if unfurnished, or null when omitted. |
dateAvailable | string | null | Move-in or availability date string when published. |
photos | string[] | null | Public image URLs from listing.imageUrls. |
description | string | null | Listing description text (truncated snippet on list cards unless scrapeDetails: true fetches the full detail page). |
url | string | null | Canonical public listing URL (https://www.kijiji.ca/v-apartments-condos/.../{adId}). |
postedDate | string | null | Activation or sorting timestamp published by Kijiji. |
lat | number | null | Geographic latitude when published. |
lon | number | null | Geographic longitude when published. |
featured | boolean | null | true when flagged as a top ad (flags.topAd), false otherwise, or null if omitted. |
status | string | null | Listing status text when published (e.g. "ACTIVE"). |
page | integer | null | 1-based search page number for list-discovered rows; null for direct detail seeds. |
position | integer | null | 1-based position on the parsed search results page. |
listUrl | string | null | Search URL or direct seed URL from which the listing was collected. |
tier | string | null | "list" for search-card rows; "detail" for rows enriched or seeded from a detail page. |
scrapedAt | string | null | ISO 8601 timestamp recorded when the page was parsed. |
detailError | string | null | Error message attached only when scrapeDetails: true failed for a row and the list row was kept and charged as listing. |
recordType | string | null | "run-notice" on the single extra dataset row emitted when a run truncates; absent on normal listing rows. |
truncatedAfter | integer | null | Number of charged listing rows stored before truncation (present on run-notice rows). |
reason | string | null | Stop reason on run-notice rows, matching OUTPUT.stopReason. |
Dataset views and Key-Value Store OUTPUT
- Dataset
overviewview: DisplaysadId,title,price,currency,beds,baths,unitType,address,landlord,tier, and clickableurlin the Apify Console table. - Key-Value Store
OUTPUTrecord: Written at the end of every normal, truncated, or invalid-input run (declared in.actor/key_value_store_schema.jsonand.actor/output_schema.json). IncludesstartedAt,finishedAt, normalizedinput,pricing, per-seed progress (seeds),pushed(listing,listing-detail),duplicatesSkipped,pagesFetched,siteTotalEntries,errors,stopReason,truncated,unavailableFields,httptransfer/status counters,robotsstatus,robotsDisallowedHits,listSource(apollovshtmlFallback), andnotes.
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.000475base rate /$0.475per 1,000 listings).listing-detail(Listing with detail page): Charged when a listing is enriched from or seeded via its public detail page ($0.000475base rate /$0.475per 1,000 listings). Charged instead oflisting, never in addition. If a detail page fails whilescrapeDetails: true, the list row is preserved withdetailErrorand charged at thelistingrate.
Live Store subscription tier discounts
Apify Store subscription discounts apply automatically to both listing and listing-detail events:
| Apify Plan Tier | Discount | Price per listing / listing-detail | Effective Cost per 1,000 Listings |
|---|---|---|---|
| Free | Base rate | $0.000475 | $0.475 |
| Bronze | 5% off | $0.00045125 | $0.45125 |
| Silver | 10% off | $0.0004275 | $0.4275 |
| Gold | 15% off | $0.00040375 | $0.40375 |
| Platinum | 15% off | $0.00040375 | $0.40375 |
| Diamond | 15% 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 osfrom apify_client import ApifyClientclient = 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().itemslistings = [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"))
Is it legal to scrape Kijiji.ca?
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 (
isLoginOrAccountUrlrefusal): 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.txttransparency and warn-only tracking:https://www.kijiji.ca/robots.txtis fetched at the start of every run and anyCrawl-delaydirective increases the minimum request spacing. Category-style VIP paths (/v-*/*/*/c*) and contact/AJAX endpoints appear in Kijiji'srobots.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 inrobotsDisallowedHits.- 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
prefilldefaults (startUrls,maxItems,startPage,scrapeDetails,requestDelayMs,concurrency,maxRunSeconds,proxyConfiguration) and cleansectionCaptionUI groupings in.actor/input_schema.json. - Upgraded
README.mdwith full input/dataset schema tables, fixture-verified JSON examples, live Store subscription tier discounts (FreethroughDiamond), JavaScript and PythonApifyClientquickstarts, and updatedCHANGELOG.md. - Restored
.actor/actor.jsonmeta.generatedByconsistency and brought all unit tests to 100% pass.
- Added explicit
- 2026-10-26 (v0.1.0):
- Initial release of
kijiji-ca-apartments-scrapersupporting__NEXT_DATA__/ ApolloRealEstateListinglist & detail extraction, HTML link fallback, cent-to-CAD price conversion, tenths bathroom decoding, privacy-filtered contacts, Pay-Per-Event billing (listing/listing-detail), warn-onlyrobots.txttracking (robotsDisallowedHits), login/account URL refusal, and 256 MB memory-safe HTML body disposal.
- Initial release of