# Livinginsider Scraper (`dadhalfdev/livinginsider-scraper`) Actor

Scrape condo and property listings from livinginsider.com (Thailand). Use filters (sale/rent, type, price band) or paste a search URL — the URL wins when set. Returns THB price, location, and photos.

- **URL**: https://apify.com/dadhalfdev/livinginsider-scraper.md
- **Developed by:** [Marco Rodrigues](https://apify.com/dadhalfdev) (community)
- **Categories:**
- **Stats:** 3 total users, 2 monthly users, 83.3% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.50 / 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?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## 🏠 Livinginsider Scraper

Want Thai condos and homes from [Livinginsider](https://www.livinginsider.com/en) without clicking through pages? This scraper makes it easy.

Use **structured filters** (sale/rent, property type, price band) — structured filters work better for AI agents — **or** paste an **`input_url`** from your browser once you've already filtered on Livinginsider. When `input_url` is set it overrides the filters below. Either way, you get clean CSV/JSON with THB prices, types, and photos.

### 💡 Perfect for...

- **Buyers & Investors:** Track condos and houses across Bangkok and Pattaya.
- **Estate Agencies:** Monitor competitor supply.
- **Market Research:** Analyze THB asking prices by type (sale vs rent).
- **Data Analysts:** Export structured Livinginsider data for dashboards.
- **🤖 AI Agents:** Power bots and OpenClaw workflows with live Livinginsider results.
- **📚 RAG Systems:** Feed titles and prices into retrieval pipelines.
- **🔗 AI Workflows:** Plug into LangChain, AutoGPT, CrewAI, and similar stacks.

### ✨ Why you'll love this scraper

- 🔗 **Input URL or Filters:** Paste a Livinginsider English `/en/...` URL (`input_url`) if you already filtered in the browser, or use structured filters (better for AI agents). `input_url` always wins when set.
- 🎯 **Website-Matched Filters:** Listing type and price bands use the **same path slugs as livinginsider.com**.
- 🇹🇭 **Built for Thailand:** Covers condo, house, land, and more for sale or rent.

### 📦 What's inside the data?

For every property listing, you will get:

- **Core Details:** `id`, `url`, `transaction`, `property_type`, `title`
- **Pricing:** `price`, `price_label`, `price_currency` (THB)
- **Specs / Media:** `bedrooms`, `location`, `image_url`

### 🚀 Quick start

**Option A — Input URL**

1. Open [Livinginsider English](https://www.livinginsider.com/en), apply filters, copy the URL — e.g. `https://www.livinginsider.com/en/condo-buysell`.
2. Paste it into `input_url`.
3. Set `max_results` and click **Start**.

**Option B — Structured filters (better for AI agents)**

1. Leave `input_url` empty.
2. Pick listing type and optional sale or rent price band.
3. Set `max_results` (up to 2000) and click **Start**.

***

#### Tech details for developers 🧑‍💻

**Input Example (filters):**

```json
{
  "listing_type": "condo-buysell",
  "price_band_sale": "3m-5m",
  "max_results": 100
}
```

**Input Example (URL override):**

```json
{
  "input_url": "https://www.livinginsider.com/en/condo-rent/10000-15000",
  "max_results": 50
}
```

**Output Example:**

```json
{
  "id": "2777654",
  "url": "https://www.livinginsider.com/detail_en/condo-for-sale-the-seed-musee-sukhumvit-26-2bedroom-2777654",
  "transaction": "sale",
  "property_type": "condo",
  "title": "Condo For Sale The Seed Musee Sukhumvit 26 2Bedroom",
  "price_currency": "THB",
  "bedrooms": 2,
  "image_url": "https://www.livinginsider.com/uploadpic/...."
}
```

### 📋 Input reference (detailed)

| Parameter | Type | Required | Default | Description |
|-----------|------|----------|---------|-------------|
| `input_url` | string | No | — | Paste a Livinginsider `/en/...` URL; overrides filters when set. |
| `listing_type` | string enum | No | `condo-buysell` | Same nav slugs as the English site (`condo-rent`, `house-buysell`, …). |
| `price_band_sale` | string enum | No | any | Sale buckets (`less-than-1m`, `1m-2m`, `2m-3m`, `3m-5m`, `5m-10m`, `more-than-10m`). |
| `price_band_rent` | string enum | No | any | Rent buckets (`less-than-5000`, `5000-10000`, … `more-than-50000`). |
| `max_results` | integer | No | `50` | Maximum listings (`1`–`2000`). |

#### Notes on filters

- Prefer exact enum strings from the Apify input dropdowns (same values as Livinginsider).
- Sale price band applies when `listing_type` ends with `-buysell`; rent band when it ends with `-rent`.
- `input_url` always wins over filters when provided.

# Actor input Schema

## `input_url` (type: `string`):

Paste a Livinginsider English search URL (e.g. /en/condo-buysell or /en/condo-rent/10000-15000).

## `listing_type` (type: `string`):

Same path slugs as on Livinginsider English nav. Ignored when input\_url is set.

## `price_band_sale` (type: `string`):

Same sale price buckets as Livinginsider condo/house for-sale pages. Used when listing\_type ends with -buysell. Ignored when input\_url is set.

## `price_band_rent` (type: `string`):

Same rent price buckets as Livinginsider for-rent pages. Used when listing\_type ends with -rent. Ignored when input\_url is set.

## `max_results` (type: `integer`):

How many listings to return (1–2000).

## Actor input object example

```json
{
  "listing_type": "condo-buysell",
  "price_band_sale": "",
  "price_band_rent": "",
  "max_results": 50
}
```

# Actor output Schema

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

Table view of scraped listings using the dataset 'overview' view.

## `results` (type: `string`):

All scraped listings from the default dataset without view transformation.

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("dadhalfdev/livinginsider-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 = {}

# Run the Actor and wait for it to finish
run = client.actor("dadhalfdev/livinginsider-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 '{}' |
apify call dadhalfdev/livinginsider-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,dadhalfdev/livinginsider-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/yJyhQLWf9lCmVD7rX/builds/mw8zz7WNNgMaUwMdo/openapi.json
