Loopnet Scraper avatar
Loopnet Scraper
Try for free

3 days trial then $30.00/month - No credit card required now

View all Actors
Loopnet Scraper

Loopnet Scraper

epctex/loopnet-scraper
Try for free

3 days trial then $30.00/month - No credit card required now

Scrape loopnet.com for millions of properties or businesses. Extract real estate properties, descriptions, images, contact information, tax properties, zone information, and detailed information like size and price. You can specify search terms, filters, and much more. Extremely fast! No limits!

The code examples below show how to run the Actor and get its results. To run the code, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token, which you can find under Settings > Integrations in Apify Console. Learn more

Node.js

Python

curl

1import { ApifyClient } from 'apify-client';
2
3// Initialize the ApifyClient with your Apify API token
4const client = new ApifyClient({
5    token: '<YOUR_API_TOKEN>',
6});
7
8// Prepare Actor input
9const input = {
10    "startUrls": [
11        "https://www.loopnet.com/biz/new-york-businesses-for-sale/",
12        "https://www.loopnet.com/biz/Business-Opportunity/six-figure-income-selling-raising-champion-ragdoll-kittens/2048785/",
13        "https://www.loopnet.com/search/office-buildings/usa/for-sale/?sk=c6f67af77ac46e004033dd553ebc1429&e=u",
14        "https://www.loopnet.com/Listing/701-Technology-Dr-Canonsburg-PA/27506067/",
15        "https://www.loopnet.com/Listing/825-Third-Ave-New-York-NY/13877304/",
16        "https://www.loopnet.com/Listing/240-Riverside-Blvd-New-York-NY/17114174/"
17    ],
18    "maxItems": 20,
19    "endPage": 1,
20    "extendOutputFunction": ($) => { return {} },
21    "customMapFunction": (object) => { return {...object} },
22    "proxy": {
23        "useApifyProxy": true
24    }
25};
26
27(async () => {
28    // Run the Actor and wait for it to finish
29    const run = await client.actor("epctex/loopnet-scraper").call(input);
30
31    // Fetch and print Actor results from the run's dataset (if any)
32    console.log('Results from dataset');
33    console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
34    const { items } = await client.dataset(run.defaultDatasetId).listItems();
35    items.forEach((item) => {
36        console.dir(item);
37    });
38})();
39
40// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs
Developer
Maintained by Community
Actor metrics
  • 19 monthly users
  • 98.6% runs succeeded
  • 0.05 days response time
  • Created in Mar 2023
  • Modified about 6 hours ago