# Connecticut Real Estate Sales Scraper (`kawsar/connecticut-real-estate-sales-scraper`) Actor

Collect Connecticut real estate sales records from 2001 to 2024, including town, address, assessed value, sale amount, and property type. Filter by town or sale price, set a row limit, and export your results in JSON, CSV, or Excel formats.

- **URL**: https://apify.com/kawsar/connecticut-real-estate-sales-scraper.md
- **Developed by:** [Kawsar](https://apify.com/kawsar) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

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

## Connecticut Real Estate Sales Scraper

![Connecticut Real Estate Sales Scraper cover](https://images.bigibyte.com/cdn-cgi/image/width=1260,height=540,fit=cover,format=webp/apify-actors-covers/connecticut-real-estate-sales-scraper-cover.png)

Collect Connecticut property sales records from 2001 through 2024 in a structured dataset. Retrieve property details such as town, address, assessed value, sale amount, sales ratio, and property type. Filter records, search for specific properties, or collect a larger dataset for research and analysis.

### What This Actor Does

This actor collects public property sales records from the Connecticut Real Estate Sales dataset. You can search records using text queries, apply filters, or collect records in bulk.

The results include available property and sales information, organized into an Apify dataset for convenient analysis and export.

### Available Modes

- **Dataset Query (`query`):** Search and filter property sales records using optional conditions and text searches.
- **Full Export (`full_export`):** Collect records from the dataset in order until the requested `maxItems` value is reached.

### Input

Choose a collection mode and optionally configure search conditions, sorting, and the number of records to collect.

#### Input Example

**Search by text:**

```json
{
  "mode": "query",
  "search": "Ashford",
  "maxItems": 50,
  "orderBy": ":id",
  "requestDelayMs": 1000,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

**Filter by sale amount:**

```json
{
  "mode": "query",
  "where": "saleamount > 500000",
  "maxItems": 25,
  "requestDelayMs": 1000
}
```

**Full export:**

```json
{
  "mode": "full_export",
  "maxItems": 100,
  "orderBy": ":id",
  "requestDelayMs": 1000
}
```

#### Input Parameters

| Parameter | Type | Default | Description |
|---|---|---|---|
| `mode` | string | `query` | Collection mode: `query` or `full_export`. |
| `where` | string | Empty | Optional filter conditions for property sales records. |
| `search` | string | Empty | Optional full-text search term. |
| `orderBy` | string | `:id` | Sorting order for collected records. |
| `maxItems` | integer | `100` | Maximum number of records to collect. |
| `requestDelayMs` | integer | `1000` | Delay between requests in milliseconds. |
| `userAgent` | string | `ActorResearch/1.0` | User-Agent used for requests. |
| `timeoutSecs` | integer | `300` | Overall run time budget in seconds. |
| `requestTimeoutSecs` | integer | `30` | Timeout for an individual request. |
| `proxyConfiguration` | object | Proxy off | Optional proxy configuration. |

### Output

Each dataset record contains available information about a Connecticut property sale, including its town, address, assessment, and sale details. Additional source fields are retained when available.

#### Output Example

```json
{
  "serialnumber": "24079",
  "listyear": "2024",
  "daterecorded": "2025-09-26T00:00:00.000",
  "town": "Ashford",
  "address": "SECKAR RD",
  "assessedvalue": "54460",
  "saleamount": "95000",
  "salesratio": "0.5732",
  "remarks": "MBL 23 D 4",
  "scrapedAt": "2026-10-26T00:00:00+00:00"
}
```

#### Output Fields

| Field | Description |
|---|---|
| `serialnumber` | Property sales record serial number. |
| `listyear` | Assessment list year associated with the record. |
| `daterecorded` | Date the sale was recorded. |
| `town` | Connecticut town associated with the property. |
| `address` | Property address. |
| `assessedvalue` | Assessed property value. |
| `saleamount` | Recorded sale amount. |
| `salesratio` | Ratio between assessed value and sale amount. |
| `remarks` | Additional remarks provided in the record. |
| `scrapedAt` | Timestamp when the record was collected. |

### Use Cases

- **Real Estate Market Research:** Compare property sales across Connecticut towns and list years.
- **Comparable Sales Analysis:** Find properties within selected towns or sale-price ranges for appraisal research.
- **Portfolio Screening:** Review higher-value property transactions and identify relevant sales.
- **Assessment Analysis:** Compare assessed values with recorded sale amounts to examine sales ratios.
- **Bulk Data Research:** Export property sales records for offline analysis in spreadsheets.
- **Scheduled Data Collection:** Run recurring collections to review changes in the available dataset.

### Frequently Asked Questions

**What data does this actor collect?**

It collects Connecticut property sales records, including town, address, list year, recorded date, assessed value, sale amount, sales ratio, and property type, along with additional available source fields.

**Can I search for a specific town?**

Yes. Use `query` mode and set `search` to a town name, such as `Ashford`, or use `where` to apply a specific filter.

**How can I filter by sale amount?**

Use the `where` parameter. For example, `saleamount > 500000` selects records with sale amounts above 500,000.

**What is the difference between query and full export modes?**

`query` mode lets you search and filter records. `full_export` mode collects records in order without requiring a search condition.

**Can I export the collected records?**

Yes. Apify supports JSON, CSV, Excel, and other available dataset export formats.

**Can I schedule recurring collections?**

Yes. You can configure Apify Schedules to run the actor at your preferred intervals.

### Trademark Notice

Connecticut Office of Policy and Management are referenced solely to identify the source of the property sales data. This actor is independent and does not imply any official affiliation or endorsement.

### Is Web Scraping Legal?

This actor collects publicly accessible Connecticut property sales records. It does not bypass login screens, paywalls, or technical security measures. How collected information can be used depends on applicable laws and the source dataset's policies.

- **Personal Data:** Property records may contain addresses and information associated with property owners. Handle potentially identifiable information responsibly and consider applicable GDPR and CCPA requirements.
- **Copyright and Licensing:** Review the dataset's licensing and attribution requirements before redistributing or republishing collected records.
- **Platform Terms and Rate Limits:** Respect data.ct.gov policies, applicable terms, and reasonable request limits.
- **Disclaimer:** This information is general guidance, not legal advice. Consult a qualified legal professional about your intended use.

For more information, read [Is web scraping legal?](https://blog.apify.com/is-web-scraping-legal/).

# Actor input Schema

## `mode` (type: `string`):

What to scrape. Query applies optional SoQL filters. Full export pages the whole dataset until maxItems.

## `where` (type: `string`):

SoQL $where clause, e.g. saleamount > 500000 or town='Ashford'.

## `search` (type: `string`):

Full-text $q search across text columns.

## `orderBy` (type: `string`):

SoQL $order. Keep :id for stable paging.

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

Stop after this many successful rows. Hard max is 1000.

## `requestDelayMs` (type: `integer`):

Polite pacing in milliseconds. Default 1000 (~1 request/second).

## `userAgent` (type: `string`):

User-Agent header sent with each request.

## `timeoutSecs` (type: `integer`):

Overall run budget in seconds.

## `requestTimeoutSecs` (type: `integer`):

Per-request timeout in seconds.

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

Optional proxy. Leave off unless you need it.

## Actor input object example

```json
{
  "mode": "query",
  "where": "saleamount > 500000",
  "search": "Ashford",
  "orderBy": ":id",
  "maxItems": 100,
  "requestDelayMs": 1000,
  "userAgent": "ActorResearch/1.0",
  "timeoutSecs": 300,
  "requestTimeoutSecs": 30,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `overview` (type: `string`):

Dataset rows in the overview table.

## `dataset` (type: `string`):

Full dataset for this run.

## `items` (type: `string`):

Dataset items as JSON.

# 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 = {
    "search": "Ashford"
};

// Run the Actor and wait for it to finish
const run = await client.actor("kawsar/connecticut-real-estate-sales-scraper").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 = { "search": "Ashford" }

# Run the Actor and wait for it to finish
run = client.actor("kawsar/connecticut-real-estate-sales-scraper").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 '{
  "search": "Ashford"
}' |
apify call kawsar/connecticut-real-estate-sales-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,kawsar/connecticut-real-estate-sales-scraper"
        }
    }
}
```

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/sa9KgKVtdMfFOjaao/builds/sdS4krhCdzKhwJ2zZ/openapi.json
