# LoopNet Commercial Real Estate Scraper (`jungle_synthesizer/loopnet-scraper`) Actor

Scrape commercial property listings from LoopNet -- the #1 US commercial real estate marketplace. Extract addresses, prices, square footage, broker contacts, and more. Filter by property type (office, retail, industrial), listing type (for-sale/for-lease), and location.

- **URL**: https://apify.com/jungle\_synthesizer/loopnet-scraper.md
- **Developed by:** [BowTiedRaccoon](https://apify.com/jungle_synthesizer) (community)
- **Categories:** Real estate
- **Stats:** 1 total users, 1 monthly users, 87.5% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per event

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/platform/actors/running/actors-in-store#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

## LoopNet Commercial Real Estate Scraper

Scrape commercial property listings from LoopNet — the #1 US commercial real estate marketplace owned by CoStar Group. Extract addresses, prices, square footage, broker contacts, and more. Filter by property type, listing type (for-sale/for-lease), and US state.

### What it scrapes

- Property name and full address (street, city, state, ZIP)
- Listing type (for-sale / for-lease) and property type
- Price and price per sq ft (when listed)
- Square footage
- Broker contact info (name, company, phone when present)
- Property images
- Last updated date

### Input parameters

| Parameter | Type | Default | Description |
|-----------|------|---------|-------------|
| `propertyTypes` | array | `["commercial-real-estate"]` | LoopNet property type URL slugs (see below) |
| `listingType` | string | `""` | `for-sale`, `for-lease`, or blank for both |
| `location` | string | `""` | US state code (`ny`, `ca`, `tx`, `il`) — leave blank for nationwide |
| `startUrls` | array | `[]` | Direct LoopNet search URLs — overrides propertyTypes/location |
| `maxPagesPerType` | integer | `2` | Max search result pages per property type (25 listings/page) |
| `maxItems` | integer | `25` | Maximum total listings to collect |

#### Property type slugs

Common values for `propertyTypes`:

- `commercial-real-estate` — all commercial listings
- `office-space` — office buildings
- `retail-space` — retail properties
- `industrial-space` — industrial/warehouse
- `multifamily-apartment-buildings` — apartment buildings
- `land` — commercial land
- `special-purpose`, `flex-space`, `coworking-space`, `health-care-real-estate`, `businesses-for-sale`

#### Location format

Use two-letter US state codes: `ny`, `ca`, `tx`, `il`, `fl`, `wa`, etc. Leave blank for a nationwide search.

#### Start URL examples

```
https://www.loopnet.com/search/office-space/ny/for-lease/
https://www.loopnet.com/search/industrial-space/ca/for-sale/
```

### Output format

Each listing produces one record:

```json
{
  "listing_id": "20044350",
  "property_name": "667 Madison Ave, New York, NY 10065",
  "property_type": "Office",
  "listing_type": "for-lease",
  "address": "667 Madison Ave",
  "city": "New York",
  "state": "NY",
  "zip": "10065",
  "price": null,
  "price_per_sqft": null,
  "square_footage": 50675,
  "lot_size": null,
  "year_built": null,
  "cap_rate": null,
  "noi": null,
  "zoning": null,
  "broker_name": "Glenn Frankel",
  "broker_company": "Hartz Mountain Industries, Inc.",
  "broker_phone": null,
  "broker_email": null,
  "property_highlights": [],
  "amenities": [],
  "images": ["https://images1.loopnet.com/..."],
  "listing_url": "https://www.loopnet.com/Listing/667-Madison-Ave-New-York-NY/20044350/",
  "days_on_market": null,
  "last_updated": "2026-06-01T00:00:00.000Z",
  "scraped_at": "2026-06-24T16:00:00.000Z"
}
```

### Notes

- Each search page returns up to 25 listings. Use `maxPagesPerType` to control how many pages to scrape per property type.
- Financial metrics (cap rate, NOI, zoning) and contact details are only available on listing detail pages; some listings do not disclose them.
- This actor uses Bright Data Web Unlocker to bypass LoopNet's Akamai anti-bot protection — no proxy configuration required.

# Actor input Schema

## `sp_intended_usage` (type: `string`):

What will this data feed? E.g. lead lists, KYB checks, price tracking.

## `sp_improvement_suggestions` (type: `string`):

Provide any feedback or suggestions for improvements.

## `sp_contact` (type: `string`):

We'll personally help with your use case. No spam.

## `resumeCursor` (type: `string`):

Leave empty for a fresh crawl. To CONTINUE a previous run where it stopped — without paying again for records you already received — paste the `resumeCursor` value from that run's Output (the run's OUTPUT key). Resume promptly: the previous run's data expires with your account's retention window (free tier: your ~10 most recent runs).

## `propertyTypes` (type: `array`):

LoopNet property type slugs to scrape. Valid values: commercial-real-estate, office-space, retail-space, industrial-space, multifamily-apartment-buildings, land, special-purpose, flex-space, coworking-space, health-care-real-estate, businesses-for-sale. Defaults to commercial-real-estate.

## `listingType` (type: `string`):

Filter by listing type. Leave blank to include both for-sale and for-lease listings.

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

Geographic filter using US state codes (e.g. ny, ca, tx, il). Leave blank for a nationwide search. Use two-letter state codes matching the LoopNet URL format.

## `maxPagesPerType` (type: `integer`):

Maximum number of search result pages per property type. Each page shows ~25 listings.

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

Maximum total number of property listings to collect.

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

Directly specify LoopNet search result page URLs. If provided, overrides propertyTypes and location. Each item should be a LoopNet search URL.

## Actor input object example

```json
{
  "sp_intended_usage": "Describe your intended use...",
  "sp_improvement_suggestions": "Share your suggestions here...",
  "sp_contact": "Share your email here...",
  "propertyTypes": [
    "commercial-real-estate"
  ],
  "maxPagesPerType": 2,
  "maxItems": 2,
  "startUrls": []
}
```

# Actor output Schema

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

No description

# 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 = {
    "sp_intended_usage": "Describe your intended use...",
    "sp_improvement_suggestions": "Share your suggestions here...",
    "sp_contact": "Share your email here...",
    "propertyTypes": [
        "commercial-real-estate"
    ],
    "listingType": "",
    "location": "",
    "maxPagesPerType": 2,
    "maxItems": 2,
    "startUrls": []
};

// Run the Actor and wait for it to finish
const run = await client.actor("jungle_synthesizer/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 = {
    "sp_intended_usage": "Describe your intended use...",
    "sp_improvement_suggestions": "Share your suggestions here...",
    "sp_contact": "Share your email here...",
    "propertyTypes": ["commercial-real-estate"],
    "listingType": "",
    "location": "",
    "maxPagesPerType": 2,
    "maxItems": 2,
    "startUrls": [],
}

# Run the Actor and wait for it to finish
run = client.actor("jungle_synthesizer/loopnet-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "sp_intended_usage": "Describe your intended use...",
  "sp_improvement_suggestions": "Share your suggestions here...",
  "sp_contact": "Share your email here...",
  "propertyTypes": [
    "commercial-real-estate"
  ],
  "listingType": "",
  "location": "",
  "maxPagesPerType": 2,
  "maxItems": 2,
  "startUrls": []
}' |
apify call jungle_synthesizer/loopnet-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=jungle_synthesizer/loopnet-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/acts/fby4WYxsWbK9LGQ0U/builds/vSqVLaZglfWzZnjzx/openapi.json
