{
  "openapi": "3.0.1",
  "info": {
    "title": "Centris.ca Scraper — Quebec Real Estate Data & MLS API",
    "description": "Scrape Centris.ca Quebec and Montreal real estate listings into clean structured data. Search by city, region, map polygon, coordinates or listing URL; filter by price, beds, baths, property type and foreclosure; export full listing details, photos and geocoordinates with an HTML report.",
    "version": "1.0",
    "x-build-id": "wKgtrblg72L3i9Qrz"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/sian.agency~centris-ca-property-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-sian.agency-centris-ca-property-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/sian.agency~centris-ca-property-scraper/runs": {
      "post": {
        "operationId": "runs-sync-sian.agency-centris-ca-property-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/sian.agency~centris-ca-property-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-sian.agency-centris-ca-property-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",
        "properties": {
          "mode": {
            "title": "🧭 Mode",
            "enum": [
              "location",
              "coordinates",
              "polygon",
              "searchUrl",
              "listingDetail",
              "autocomplete"
            ],
            "type": "string",
            "description": "What to run.\n\n• **location** — search active listings by city, region or neighbourhood name\n• **coordinates** — search within a radius of a lat/lng point\n• **polygon** — search inside an arbitrary map polygon\n• **searchUrl** — run a search straight from a Centris search-results URL\n• **listingDetail** — fetch full dossiers for specific listing numbers and/or URLs\n• **autocomplete** — look up valid locations for the location mode (no per-row charge)",
            "default": "location"
          },
          "location": {
            "title": "📍 Location (location mode)",
            "type": "string",
            "description": "City, region or neighbourhood to search, e.g. \"Montreal\" or \"Quebec City\". Resolved to the matching Centris area automatically.",
            "default": "Montreal"
          },
          "searchType": {
            "title": "🏷 Listing Type",
            "enum": [
              "For_Sale",
              "For_Rent"
            ],
            "type": "string",
            "description": "Which side of the market to search. Applies to location, coordinates and polygon modes. Centris has no sold data.",
            "default": "For_Sale"
          },
          "category": {
            "title": "🏢 Category",
            "enum": [
              "Residential",
              "Commercial"
            ],
            "type": "string",
            "description": "Property category. Leave empty for the Centris default (Residential)."
          },
          "propertyType": {
            "title": "🏠 Property Types",
            "type": "string",
            "description": "Comma-separated property types. Residential: House, Condo, Loft, Plex, Duplex, Triplex, Quadruplex, Quintuplex, Intergenerational, Mobile Home, Cottage, Lot, Multi-Family. Commercial: Office, Industrial, Commercial, Business, Accommodation, Agricultural."
          },
          "minPrice": {
            "title": "💵 Min price (CAD)",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum asking price (sale) or monthly rent (rent). Leave empty for no minimum."
          },
          "maxPrice": {
            "title": "💵 Max price (CAD)",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum asking price (sale) or monthly rent (rent). Leave empty for no maximum."
          },
          "bedrooms": {
            "title": "🛏 Bedrooms",
            "type": "string",
            "description": "Bedrooms — exact (e.g. \"3\") or N-or-more (e.g. \"3+\"). Leave empty for any."
          },
          "bathrooms": {
            "title": "🛁 Bathrooms",
            "type": "string",
            "description": "Bath / powder rooms, N-or-more (e.g. \"2+\"). Leave empty for any."
          },
          "parking": {
            "title": "🅿️ Parking",
            "type": "string",
            "description": "Parking spaces, N-or-more (e.g. \"1+\"). Leave empty for any."
          },
          "garage": {
            "title": "🚗 Garage",
            "type": "string",
            "description": "Garages, N-or-more (e.g. \"1+\"). Leave empty for any."
          },
          "pool": {
            "title": "🏊 Pool",
            "type": "boolean",
            "description": "Only listings with a pool.",
            "default": false
          },
          "waterfront": {
            "title": "🌊 Waterfront",
            "type": "boolean",
            "description": "Only waterfront / near-water listings.",
            "default": false
          },
          "elevator": {
            "title": "🛗 Elevator",
            "type": "boolean",
            "description": "Only listings with an elevator.",
            "default": false
          },
          "openHouse": {
            "title": "🚪 Open house",
            "type": "boolean",
            "description": "Only listings with an upcoming open house.",
            "default": false
          },
          "furnished": {
            "title": "🛋 Furnished",
            "type": "boolean",
            "description": "Only furnished listings.",
            "default": false
          },
          "petsAllowed": {
            "title": "🐾 Pets allowed",
            "type": "boolean",
            "description": "Only pet-friendly rentals.",
            "default": false
          },
          "foreclosure": {
            "title": "⚖️ Foreclosure",
            "type": "boolean",
            "description": "Only repossession / foreclosed listings.",
            "default": false
          },
          "maxResults": {
            "title": "📊 Max results per search",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Hard cap on listings returned per search. Auto-paginates (up to 60 per page) until the cap is reached or the search is drained. FREE tier is always capped at 25 results per run.",
            "default": 25
          },
          "enrichDetails": {
            "title": "🧾 Enrich with full detail (PAID)",
            "type": "boolean",
            "description": "When ON, each search row is enriched with the full listing dossier — characteristics, units, financials, taxes, community and geocoordinates (1 extra call per listing, adds a Property Detail Enriched charge). PAID tier only.",
            "default": false
          },
          "latitude": {
            "title": "🌐 Latitude (coordinates mode)",
            "type": "number",
            "description": "Latitude of the centre point, e.g. 45.5017."
          },
          "longitude": {
            "title": "🌐 Longitude (coordinates mode)",
            "type": "number",
            "description": "Longitude of the centre point, e.g. -73.5673."
          },
          "radius": {
            "title": "📏 Radius km (coordinates mode)",
            "minimum": 0.1,
            "maximum": 200,
            "type": "number",
            "description": "Search radius in kilometres around the point. Default 3."
          },
          "polygon": {
            "title": "🗺 Polygon (polygon mode)",
            "type": "string",
            "description": "Space-separated \"lat,lng\" points (at least 3), e.g. \"45.50,-73.58 45.52,-73.58 45.52,-73.55 45.50,-73.55\"."
          },
          "searchUrl": {
            "title": "🔗 Search URL (searchUrl mode)",
            "type": "string",
            "description": "A Centris search-results URL copied from your browser address bar."
          },
          "listingIds": {
            "title": "🆔 Listing numbers (listingDetail mode)",
            "uniqueItems": true,
            "type": "array",
            "description": "One or more Centris listing numbers (e.g. 23630164) to fetch full dossiers for.",
            "items": {
              "type": "string"
            }
          },
          "listingUrls": {
            "title": "🔗 Listing URLs (listingDetail mode)",
            "uniqueItems": true,
            "type": "array",
            "description": "One or more full Centris listing URLs to fetch dossiers for.",
            "items": {
              "type": "string"
            }
          },
          "query": {
            "title": "🔎 Query (autocomplete mode)",
            "type": "string",
            "description": "At least 3 characters, e.g. \"montreal\" — returns matching Centris locations."
          },
          "limit": {
            "title": "🔢 Max suggestions (autocomplete mode)",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Maximum location suggestions to return (1–50). Default 20."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}