# LoopNet Listings Scraper (`mrdoe/loopnet-scraper`) Actor

Scrapes commercial real estate listings from LoopNet search result pages: price, size, property type, address and listing URL, with automatic pagination.

- **URL**: https://apify.com/mrdoe/loopnet-scraper.md
- **Developed by:** [MrDoe](https://apify.com/mrdoe) (community)
- **Categories:** Real estate, Lead generation, Business
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% 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?

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 hero](https://api.apify.com/v2/key-value-stores/kE36venAoVchGsE6b/records/loopnet-scraper--hero.png)

### What does LoopNet Listings Scraper do?

**LoopNet Listings Scraper** extracts commercial real estate listings from [LoopNet](https://www.loopnet.com/) search result pages - price, size, property type, address, coordinates, and more. Give it a for-sale or for-lease search URL and it paginates through result pages automatically. Running it on the Apify platform gets you scheduling, API access to results, proxy rotation, and monitoring out of the box.

### Why use LoopNet Listings Scraper?

- Track commercial listings and pricing trends in a market without manually browsing LoopNet.
- Feed commercial real estate data into research, investment analysis, or market-comparison tools.
- Monitor new listings or price changes over time by scheduling recurring runs.

### How to use LoopNet Listings Scraper

![How loopnet-scraper works](https://api.apify.com/v2/key-value-stores/kE36venAoVchGsE6b/records/loopnet-scraper--how-it-works.png)

1. Click **Try for free** (or **Start**) to open the Actor.
2. Paste one or more LoopNet search result page URLs into **Start URLs**, e.g. `https://www.loopnet.com/search/commercial-real-estate/austin-tx/for-lease/`.
3. Make sure **Proxy configuration** uses a residential proxy (enabled by default) - LoopNet blocks requests that don't come through one.
4. Optionally adjust **Max items** to cap how many listings are scraped (defaults to 5, and the first 5 listings are free).
5. Click **Start** and wait for the run to finish, then open the **Dataset** tab to view, filter, and export the results.

### Input

![loopnet-scraper input options](https://api.apify.com/v2/key-value-stores/kE36venAoVchGsE6b/records/loopnet-scraper--input.png)

| Field                | Type               | Description                                                             |
| -------------------- | ------------------ | ----------------------------------------------------------------------- |
| `startUrls`          | array (required)   | LoopNet search result page URLs to scrape.                              |
| `maxItems`           | integer (optional) | Stop the run after this many listings have been scraped. Defaults to 5. |
| `proxyConfiguration` | object (optional)  | Proxy settings. A **residential** proxy is required - see Tips below.   |

See the **Input** tab for the full schema.

### Output

![loopnet-scraper dataset output](https://api.apify.com/v2/key-value-stores/kE36venAoVchGsE6b/records/loopnet-scraper--output.png)

![loopnet-scraper data fields](https://api.apify.com/v2/key-value-stores/kE36venAoVchGsE6b/records/loopnet-scraper--fields.png)

Each dataset item looks like this:

```json
{
    "id": "L-9182736",
    "title": "Downtown Austin Office Space",
    "listingType": "For Lease",
    "price": null,
    "pricePerSqft": 32.5,
    "sqft": 18500,
    "streetAddress": "301 Congress Ave",
    "city": "Austin",
    "state": "TX",
    "zip": "78701",
    "latitude": 30.267,
    "longitude": -97.743,
    "propertyType": "Office",
    "photoUrl": "https://images.loopnet.com/301-congress-ave.jpg",
    "url": "https://www.loopnet.com/Listing/301-Congress-Ave-Austin-TX/9182736/"
}
```

You can download the dataset in various formats such as JSON, HTML, CSV, or Excel.

#### Data table

| Field                                                            | Description                                                                  |
| ---------------------------------------------------------------- | ---------------------------------------------------------------------------- |
| `id`                                                             | Listing identifier, when available                                           |
| `title`                                                          | Listing headline                                                             |
| `listingType`                                                    | For Sale or For Lease, when available                                        |
| `price`, `pricePerSqft`, `sqft`                                  | Core listing details (not every field is always published for every listing) |
| `streetAddress`, `city`, `state`, `zip`, `latitude`, `longitude` | Location                                                                     |
| `propertyType`, `photoUrl`                                       | Extra metadata, when available                                               |
| `url`                                                            | Link to the listing's LoopNet page                                           |

### Cost estimation

This Actor uses pay-per-result pricing: the first 5 listings scraped are free, and usage beyond that is billed per listing. See the **Pricing** tab for current rates. Use **Max items** to scope smaller, cheaper runs.

### Tips

- **A residential proxy is required, not just recommended.** LoopNet blocks non-residential IPs and automated requests, so runs without a residential proxy are likely to fail.
- Scope `startUrls` to smaller areas or narrower property-type filters instead of large metro-wide searches to reduce run time and cost.

### FAQ, disclaimers, and support

This Actor only collects publicly listed LoopNet data. It is not affiliated with or endorsed by LoopNet. Respect LoopNet's Terms of Service when using the scraped data. Found a bug or have a feature request? Use the Issues tab on this Actor's page.

# Actor input Schema

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

LoopNet search result page URLs to scrape (for-sale or for-lease commercial property search pages), e.g. https://www.loopnet.com/search/commercial-real-estate/austin-tx/for-lease/.

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

Stop the run once this many listings have been scraped across all start URLs. The first 5 listings per month are free; scraping more is billed per listing.

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

LoopNet actively blocks non-residential IPs and headless browsers with a 403 challenge. A residential Apify Proxy is required - runs without one will fail.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.loopnet.com/search/commercial-real-estate/austin-tx/for-lease/"
    }
  ],
  "maxItems": 5,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  }
}
```

# 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 = {
    "startUrls": [
        {
            "url": "https://www.loopnet.com/search/commercial-real-estate/austin-tx/for-lease/"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("mrdoe/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 = { "startUrls": [{ "url": "https://www.loopnet.com/search/commercial-real-estate/austin-tx/for-lease/" }] }

# Run the Actor and wait for it to finish
run = client.actor("mrdoe/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 '{
  "startUrls": [
    {
      "url": "https://www.loopnet.com/search/commercial-real-estate/austin-tx/for-lease/"
    }
  ]
}' |
apify call mrdoe/loopnet-scraper --silent --output-dataset

```

## MCP server setup

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