# LoopNet Scraper — Commercial Listings for Sale & Lease (`crawloop/loopnet-scraper`) Actor

Extract commercial property listings from LoopNet search results. Each row has price, size, cap rate when shown, broker, brokerage, and address for sale, lease, or auction searches.

- **URL**: https://apify.com/crawloop/loopnet-scraper.md
- **Developed by:** [Andrej Kiva](https://apify.com/crawloop) (community)
- **Categories:** Real estate, Lead generation, Automation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.50 / 1,000 listings

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
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

## LoopNet Scraper — Commercial Listings for Sale & Lease

> **Disclaimer:** Unofficial tool. Not affiliated with, sponsored by, or endorsed by the listing site or its affiliates. Rows come from public search results. No login. You are responsible for complying with applicable law and the site’s terms. No warranty on accuracy or availability.

**LoopNet scraper** for US commercial property **for sale**, **for lease**, or at **auction**. Each row has asking price, size, cap rate when the card states one, broker, brokerage, address, and map coordinates. Use it as a **LoopNet API alternative** from **Python**, **Node.js**, **cURL**, or **Apify MCP**.

**Best for:** sale and lease comps in one city, broker lists from public search cards, and a scheduled check that saves only new listing ids.

| Actor | Role |
| :--- | :--- |
| LoopNet Scraper ◄── you are here | US commercial sale, lease, and auctions |
| [Subito Real Estate Scraper](https://apify.com/crawloop/subito-real-estate-scraper) | Italy sale and rent |
| [realestate.com.au Scraper](https://apify.com/crawloop/realestate-com-au-scraper) | Australia sold comps and listing monitor |

### When to use this Actor

- **City search** — Set a location such as `Austin, TX` and choose sale, lease, or auctions.
- **A filtered search you already built** — Paste the search URL. Location fields are ignored when Start URLs is set.
- **New-listing monitor** — Schedule the same search. Later runs save listing ids that were not stored last time. A quiet tick writes zero rows.
- **Broker and address from the card** — Name, brokerage, price, and size are taken from the search result. This run does not open each property page.

### When not to use this Actor

- **Residential portals** — This Actor reads commercial search results. For Italy sale and rent, use [Subito Real Estate Scraper](https://apify.com/crawloop/subito-real-estate-scraper). For Australia sold comps, use [realestate.com.au Scraper](https://apify.com/crawloop/realestate-com-au-scraper).
- **Phone, email, or a full rent roll** — Those fields are not on the search card. This Actor does not log in and does not open detail pages.
- **A national dump in one run** — Cap `maxItems`. Split by city instead of paging an entire country.

### Key features

- **Search cards** — One page request returns about 25 listings. Default **256 MB**.
- **Sale, lease, and auctions** — City plus transaction, or a pasted search URL.
- **Price, size, cap rate** — Cap rate is filled when the card summary states one.
- **Broker and brokerage** — Names shown on the public card.
- **Monitor** — Named key-value store of listing ids already saved for that search.

### Input

| Field | Required | Default | What it does |
| :--- | :--- | :--- | :--- |
| Location | No | Austin, TX | City and state. Ignored when Start URLs is set. |
| Sale, lease, or auction | No | For sale | Search type for the location. |
| Property path | No | all commercial | Optional path segment such as `office-space` or `land`. |
| Start URLs | No | empty | Search URLs. Overrides the fields above. |
| Max listings | No | 25 | Cap across all searches. Maximum 250. |
| Monitor mode | No | off | Save only listing ids not seen on the previous run of this search. |
| Proxy | No | Unblocker, US | Required. Datacenter and residential IPs are denied before the page loads. |

```json
{
  "location": "Austin, TX",
  "transaction": "for-sale",
  "maxItems": 25,
  "monitorMode": false,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": ["UNBLOCKER"],
    "apifyProxyCountry": "US"
  }
}
```

### Output

One dataset row per listing.

| Field | Meaning |
| :--- | :--- |
| `listingId` | Listing id |
| `url` | Listing URL |
| `name` | Address line from the card |
| `city`, `state`, `zip`, `country` | Location |
| `transaction` | `for-sale`, `for-lease`, or `auctions` |
| `propertyType`, `spaceUse` | Type and use on the card |
| `price`, `priceText`, `currency` | Asking price |
| `sizeText`, `sizeSqft` | Size |
| `capRate` | Percent, when the summary states a cap rate |
| `brokerName`, `brokerage` | Public card contacts |
| `latitude`, `longitude` | Map point |
| `description` | Short summary |
| `image` | Primary photo |
| `sourceUrl` | Search page |
| `scrapedAt` | UTC timestamp |

```json
{
  "listingId": "42186648",
  "url": "https://www.loopnet.com/Listing/8701-Menchaca-Rd-Austin-TX/42186648/",
  "name": "8701 Menchaca Rd, Austin, TX 78748",
  "city": "Austin",
  "state": "TX",
  "zip": "78748",
  "transaction": "for-sale",
  "propertyType": "Office",
  "price": 3400000,
  "currency": "USD",
  "sizeSqft": 6368,
  "capRate": 7.76,
  "brokerName": "Jackson Williams",
  "brokerage": "Quest Realty"
}
```

### Use cases

- Pull office and retail listings for sale in one metro and compare asking price and cap rate in a spreadsheet.
- Build a broker list from the names printed on public search cards.
- Schedule a morning run in monitor mode and export only listing ids that were not in yesterday’s file.
- Feed address, price, and size into an internal comps sheet. For Italian residential inventory, continue with [Subito Real Estate Scraper](https://apify.com/crawloop/subito-real-estate-scraper).

### Integration examples

Replace `APIFY_TOKEN`. The slug below is the Store name.

#### Node.js

```javascript
import { ApifyClient } from "apify-client";

const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor("crawloop/loopnet-scraper").call({
  location: "Austin, TX",
  transaction: "for-sale",
  maxItems: 25,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

#### Python

```python
import os
from apify_client import ApifyClient

client = ApifyClient(os.environ["APIFY_TOKEN"])
run = client.actor("crawloop/loopnet-scraper").call(run_input={
    "location": "Austin, TX",
    "transaction": "for-lease",
    "maxItems": 25,
})
items = client.dataset(run["defaultDatasetId"]).list_items().items
print(len(items))
```

#### cURL

```bash
curl -X POST "https://api.apify.com/v2/acts/crawloop~loopnet-scraper/runs?token=$APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"location":"Austin, TX","transaction":"for-sale","maxItems":10}'
```

### MCP and AI assistants

Use this Actor from AI tools via [Apify MCP](https://docs.apify.com/platform/integrations/mcp).
Connect your Apify account, then call this Actor by its Store name `crawloop/loopnet-scraper`.

Example prompts:

- "Run LoopNet Scraper for Austin, TX for-sale listings and return the top 20 rows as JSON"
- "Scrape LoopNet lease listings in Chicago and summarize price, size, and broker"
- "Run LoopNet Scraper in monitor mode for Dallas offices, then use Subito Real Estate Scraper when the next market is Italy"

### Suite next step

This Actor covers US commercial search cards. For residential markets already on the Store, run [Subito Real Estate Scraper](https://apify.com/crawloop/subito-real-estate-scraper) for Italy or [realestate.com.au Scraper](https://apify.com/crawloop/realestate-com-au-scraper) for Australia sold comps.

### FAQ

**Does this open every property page?**
No. Rows are the search cards: price, size, summary, broker name, and brokerage. Phone and email are not on that card.

**Why is a proxy required?**
The search page is denied from datacenter and ordinary residential IPs. The default proxy is Apify Unblocker in the US.

**What does monitor mode skip?**
Listing ids already stored for that same search URL. Change the city or the transaction and it is a new cursor. A run with no new ids writes zero rows.

# Actor input Schema

## `location` (type: `string`):

City and state, for example Austin, TX. Ignored when Start URLs is set.

## `transaction` (type: `string`):

Search type used with Location. Ignored when Start URLs is set.

## `propertySlug` (type: `string`):

Optional LoopNet search path segment such as office-space, industrial-space, retail-space, or land. Leave empty for all commercial types.

## `startUrls` (type: `array`):

LoopNet search or listing URLs. When this list is set, Location and the filters above are ignored.

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

Maximum listing rows across all searches. One search page is about 25 cards.

## `monitorMode` (type: `boolean`):

Save only listing ids that were not saved for this search on a previous run. A quiet tick writes zero rows.

## `monitorStateStore` (type: `string`):

Named key-value store for listing ids already seen. Used only when monitor mode is on.

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

Apify Unblocker in the United States. Datacenter and residential IPs are denied before the search page loads.

## Actor input object example

```json
{
  "location": "Austin, TX",
  "transaction": "for-sale",
  "maxItems": 25,
  "monitorMode": false,
  "monitorStateStore": "loopnet-monitor",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "UNBLOCKER"
    ],
    "apifyProxyCountry": "US"
  }
}
```

# Actor output Schema

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

Default dataset items — one listing per row.

# 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 = {
    "location": "Austin, TX",
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "UNBLOCKER"
        ],
        "apifyProxyCountry": "US"
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("crawloop/loopnet-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 = {
    "location": "Austin, TX",
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["UNBLOCKER"],
        "apifyProxyCountry": "US",
    },
}

# Run the Actor and wait for it to finish
run = client.actor("crawloop/loopnet-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 '{
  "location": "Austin, TX",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "UNBLOCKER"
    ],
    "apifyProxyCountry": "US"
  }
}' |
apify call crawloop/loopnet-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,crawloop/loopnet-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/2S5lzPRVjbmB0fver/builds/JOCq2jId6VlJy7Gg4/openapi.json
