{
  "openapi": "3.0.1",
  "info": {
    "title": "Realtor.ca Canada ($1 per 1000 results)",
    "description": "Scrape Realtor.ca listings across Canada for buy, rent or sold properties. Export structured MLS-style data with prices, beds, baths, agents, photos, filters and URLs for market analysis, comps, investors, brokers and real estate lead generation.",
    "version": "0.0",
    "x-build-id": "zGpE94CePujHmfd3A"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/igolaizola~realtor-canada-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-igolaizola-realtor-canada-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/igolaizola~realtor-canada-scraper/runs": {
      "post": {
        "operationId": "runs-sync-igolaizola-realtor-canada-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/igolaizola~realtor-canada-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-igolaizola-realtor-canada-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "required": [
          "maxItems",
          "location"
        ],
        "properties": {
          "maxItems": {
            "title": "Max Items",
            "minimum": 1,
            "type": "integer",
            "description": "Maximum number of properties to scrape",
            "default": 10
          },
          "location": {
            "title": "Location",
            "type": "string",
            "description": "Location to search for properties"
          },
          "operation": {
            "title": "Operation",
            "enum": [
              "buy",
              "rent",
              "sold"
            ],
            "type": "string",
            "description": "Operation type (buy, rent, sold)",
            "default": "buy"
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "newest",
              "oldest",
              "lowPrice",
              "highPrice"
            ],
            "type": "string",
            "description": "Sorting method for results",
            "default": "newest"
          },
          "propertyType": {
            "title": "Property Type",
            "enum": [
              "",
              "residential",
              "condoStrata",
              "vacantLand",
              "recreational",
              "multifamily",
              "agricultural",
              "parking"
            ],
            "type": "string",
            "description": "Type of property to search for",
            "default": ""
          },
          "ownershipType": {
            "title": "Ownership Type",
            "enum": [
              "",
              "freehold",
              "condoStrata",
              "timeshareFractional",
              "leasehold"
            ],
            "type": "string",
            "description": "Ownership type filter",
            "default": ""
          },
          "zoningTypes": {
            "title": "Zoning Types (vacant land only)",
            "type": "array",
            "description": "Zoning types to include when property type is Vacant Land",
            "items": {
              "type": "string",
              "enum": [
                "commercialRetail",
                "commercialOffice",
                "commercialMixed",
                "industrial",
                "industrialLight",
                "industrialMedium",
                "industrialHeavy",
                "residentialLowDensity",
                "residentialMediumDensity",
                "residentialHighDensity",
                "institutional",
                "agricultural",
                "recreational",
                "other"
              ],
              "enumTitles": [
                "Commercial - Retail",
                "Commercial - Office",
                "Commercial - Mixed",
                "Industrial",
                "Industrial - Light",
                "Industrial - Medium",
                "Industrial - Heavy",
                "Residential - Low Density",
                "Residential - Medium Density",
                "Residential - High Density",
                "Institutional",
                "Agricultural",
                "Recreational",
                "Other"
              ]
            }
          },
          "listedSince": {
            "title": "Listed since",
            "pattern": "^(\\d{4})-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])$",
            "type": "string",
            "description": "Select listed since date in format YYYY-MM-DD"
          },
          "minPrice": {
            "title": "Min Price",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum price of the property (0 for any)",
            "default": 0
          },
          "maxPrice": {
            "title": "Max Price",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum price of the property (0 for any)",
            "default": 0
          },
          "minBeds": {
            "title": "Min Bedrooms",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum number of bedrooms (0 for any)",
            "default": 0
          },
          "maxBeds": {
            "title": "Max Bedrooms",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum number of bedrooms (0 for any)",
            "default": 0
          },
          "minBathrooms": {
            "title": "Min Bathrooms",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum number of bathrooms (0 for any)",
            "default": 0
          },
          "maxBathrooms": {
            "title": "Max Bathrooms",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum number of bathrooms (0 for any)",
            "default": 0
          },
          "minYearBuilt": {
            "title": "Min Year Built",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum year built (0 for any)",
            "default": 0
          },
          "maxYearBuilt": {
            "title": "Max Year Built",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum year built (0 for any)",
            "default": 0
          },
          "minSquareFootage": {
            "title": "Min Square Footage",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum square footage (0 for any)",
            "default": 0
          },
          "maxSquareFootage": {
            "title": "Max Square Footage",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum square footage (0 for any)",
            "default": 0
          },
          "minLandSize": {
            "title": "Min Land Size (acres)",
            "minimum": 0,
            "type": "number",
            "description": "Minimum land size in acres (0 for any)",
            "default": 0
          },
          "maxLandSize": {
            "title": "Max Land Size (acres)",
            "minimum": 0,
            "type": "number",
            "description": "Maximum land size in acres (0 for any)",
            "default": 0
          },
          "minStoreys": {
            "title": "Min Storeys",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum number of storeys (0 for any)",
            "default": 0
          },
          "maxStoreys": {
            "title": "Max Storeys",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum number of storeys (0 for any)",
            "default": 0
          },
          "minMaintenanceFees": {
            "title": "Min Maintenance Fees (monthly)",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum maintenance fees (0 for any)",
            "default": 0
          },
          "maxMaintenanceFees": {
            "title": "Max Maintenance Fees (monthly)",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum maintenance fees (0 for any)",
            "default": 0
          },
          "minPropertyTax": {
            "title": "Min Property Tax (yearly)",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum property tax (0 for any)",
            "default": 0
          },
          "maxPropertyTax": {
            "title": "Max Property Tax (yearly)",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum property tax (0 for any)",
            "default": 0
          },
          "minUnits": {
            "title": "Min Units (multi-family only)",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum number of units when property type is Multi Family",
            "default": 0
          },
          "maxUnits": {
            "title": "Max Units (multi-family only)",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum number of units when property type is Multi Family",
            "default": 0
          },
          "minExteriorBuildingSize": {
            "title": "Min Exterior Building Size (sqft, multi-family only)",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum exterior building size when property type is Multi Family",
            "default": 0
          },
          "maxExteriorBuildingSize": {
            "title": "Max Exterior Building Size (sqft, multi-family only)",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum exterior building size when property type is Multi Family",
            "default": 0
          },
          "buildingType": {
            "title": "Building Type",
            "enum": [
              "",
              "house",
              "rowTownhouse",
              "apartment",
              "duplex",
              "triplex",
              "fourplex",
              "gardenHome",
              "mobileHome",
              "manufacturedHomeMobile",
              "specialPurpose",
              "residentialCommercialMix",
              "manufacturedHome",
              "commercialApartment",
              "twoApartmentHouse",
              "parkModelMobileHome",
              "floathome"
            ],
            "type": "string",
            "description": "Type of building",
            "default": ""
          },
          "constructionTypes": {
            "title": "Construction Styles (house or townhouse only)",
            "type": "array",
            "description": "Construction styles to filter when the building type is House or Row/Townhouse",
            "items": {
              "type": "string",
              "enum": [
                "detached",
                "semiDetached",
                "attached",
                "linked"
              ],
              "enumTitles": [
                "Detached",
                "Semi-Detached",
                "Attached",
                "Linked"
              ]
            }
          },
          "parkingTypes": {
            "title": "Parking Types (parking property type only)",
            "type": "array",
            "description": "Parking types to filter when property type is Parking",
            "items": {
              "type": "string",
              "enum": [
                "boatHouse",
                "concrete",
                "heatedGarage",
                "attachedGarage",
                "integratedGarage",
                "detachedGarage",
                "garage",
                "carport",
                "underground",
                "indoor",
                "open",
                "covered",
                "parkingPad",
                "pavedYard",
                "additionalParking"
              ],
              "enumTitles": [
                "Boat House",
                "Concrete",
                "Heated Garage",
                "Attached Garage",
                "Integrated Garage",
                "Detached Garage",
                "Garage",
                "Carport",
                "Underground",
                "Indoor",
                "Open",
                "Covered",
                "Parking Pad",
                "Paved Yard",
                "Additional Parking"
              ]
            }
          },
          "farmTypes": {
            "title": "Farm Types (vacant land only)",
            "type": "array",
            "description": "Farm types to filter when property type is Vacant Land",
            "items": {
              "type": "string",
              "enum": [
                "animal",
                "cashCrop",
                "hobbyFarm",
                "marketGardening",
                "nursery",
                "greenhouse",
                "orchard",
                "vineyard",
                "feedLot",
                "boarding",
                "mixed"
              ],
              "enumTitles": [
                "Animal",
                "Cash Crop",
                "Hobby Farm",
                "Market Gardening",
                "Nursery",
                "Greenhouse",
                "Orchard",
                "Vineyard",
                "Feed Lot",
                "Boarding",
                "Mixed"
              ]
            }
          },
          "openHousesOnly": {
            "title": "Open Houses Only",
            "type": "boolean",
            "description": "Filter results to only include properties with open houses (not applicable to sold listings)",
            "default": false
          },
          "liveStreamsOnly": {
            "title": "Live Streams Only",
            "type": "boolean",
            "description": "Filter results to only include properties with live streams (not applicable to sold listings)",
            "default": false
          },
          "keywords": {
            "title": "Keywords",
            "type": "array",
            "description": "Keywords to include in the search",
            "items": {
              "type": "string"
            }
          },
          "soldWithinDays": {
            "title": "Sold within days (sold operation only)",
            "minimum": 0,
            "type": "integer",
            "description": "Limit sold listings to those closed within the given number of days",
            "default": 0
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}