# Medical Office Space for Lease

**Use case:** 

Export medical office suites for lease with address, asking rate per SF, available space, building year, GPS, photos and listing broker contact.

## Input

```json
{
  "mode": "search",
  "locationMode": "bylocation",
  "location": "Phoenix, AZ",
  "latitude": 34.0522,
  "longitude": -118.2437,
  "radiusMiles": 5,
  "zipCode": "90064",
  "searchUrl": "https://www.loopnet.com/search/office-space/los-angeles-ca/for-lease/",
  "searchType": "For_Lease",
  "propertyType": "Office",
  "propertySubType": "medical_office",
  "priceRange": "min:1000000,max:10000000",
  "leaseRateRange": "min:15,max:60",
  "buildingSizeRange": "min:5000,max:200000",
  "spaceSizeRange": "min:1000,max:50000",
  "lotSizeRange": "min:0.5,max:10",
  "capRateRange": "min:5,max:12",
  "yearBuiltRange": "min:1990,max:2020",
  "sortOrder": "Recommended",
  "subLease": false,
  "netLeased": false,
  "distressed": false,
  "opportunityZone": false,
  "maxResultsPerQuery": 25,
  "startPage": 1,
  "listingId": "29122043",
  "listingUrl": "https://www.loopnet.com/Listing/11340-W-Olympic-Blvd-Los-Angeles-CA/29122043/",
  "autocompleteTerm": "Los Angeles",
  "taxonomyCountry": "USA"
}
```

## Output

```json
{
  "mode": {
    "label": "Operation",
    "format": "text"
  },
  "listingId": {
    "label": "Listing ID",
    "format": "text"
  },
  "propertyId": {
    "label": "Property ID",
    "format": "text"
  },
  "url": {
    "label": "URL",
    "format": "link"
  },
  "listingName": {
    "label": "Listing Name",
    "format": "text"
  },
  "listingType": {
    "label": "Listing Type",
    "format": "text"
  },
  "listingStatus": {
    "label": "Status",
    "format": "text"
  },
  "address": {
    "label": "Address",
    "format": "text"
  },
  "cityState": {
    "label": "City, State",
    "format": "text"
  },
  "addressStreet": {
    "label": "Street",
    "format": "text"
  },
  "addressCity": {
    "label": "City",
    "format": "text"
  },
  "addressState": {
    "label": "State",
    "format": "text"
  },
  "addressZip": {
    "label": "ZIP",
    "format": "text"
  },
  "addressCountry": {
    "label": "Country",
    "format": "text"
  },
  "county": {
    "label": "County",
    "format": "text"
  },
  "latitude": {
    "label": "Latitude",
    "format": "number"
  },
  "longitude": {
    "label": "Longitude",
    "format": "number"
  },
  "price": {
    "label": "Price / Rate",
    "format": "text"
  },
  "priceCurrency": {
    "label": "Currency",
    "format": "text"
  },
  "availableSpace": {
    "label": "Available Space",
    "format": "text"
  },
  "propertyType": {
    "label": "Property Type",
    "format": "text"
  },
  "buildingClass": {
    "label": "Building Class",
    "format": "text"
  },
  "spaces": {
    "label": "Space Count",
    "format": "number"
  },
  "spaceCount": {
    "label": "Space Count",
    "format": "number"
  },
  "sizeLabel": {
    "label": "Size Range",
    "format": "text"
  },
  "size": {
    "label": "Size Range",
    "format": "text"
  },
  "buildingInfo": {
    "label": "Building Info",
    "format": "text"
  },
  "propertyDescription": {
    "label": "Description",
    "format": "text"
  },
  "highlights": {
    "label": "Highlights",
    "format": "array"
  },
  "availableSpaces": {
    "label": "Available Spaces",
    "format": "array"
  },
  "availableSpacesCount": {
    "label": "Available Spaces Count",
    "format": "number"
  },
  "facts": {
    "label": "Building Facts",
    "format": "text"
  },
  "searchType": {
    "label": "Listing Mode",
    "format": "text"
  },
  "exposure": {
    "label": "Ad Exposure Tier",
    "format": "text"
  },
  "photo": {
    "label": "Photo",
    "format": "image"
  },
  "photos": {
    "label": "All Photos",
    "format": "array"
  },
  "photoCount": {
    "label": "Photo Count",
    "format": "number"
  },
  "brokers": {
    "label": "Brokers",
    "format": "array"
  },
  "company": {
    "label": "Listing Company",
    "format": "text"
  },
  "walkScore": {
    "label": "Walk Score",
    "format": "number"
  },
  "walkDescription": {
    "label": "Walk Description",
    "format": "text"
  },
  "transitScore": {
    "label": "Transit Score",
    "format": "number"
  },
  "transitDescription": {
    "label": "Transit Description",
    "format": "text"
  },
  "bikeScore": {
    "label": "Bike Score",
    "format": "number"
  },
  "bikeDescription": {
    "label": "Bike Description",
    "format": "text"
  },
  "driveScore": {
    "label": "Drive Score",
    "format": "number"
  },
  "driveDescription": {
    "label": "Drive Description",
    "format": "text"
  },
  "transportation": {
    "label": "Nearby Transportation",
    "format": "text"
  },
  "ownerName": {
    "label": "Owner Name",
    "format": "text"
  },
  "ownerLogo": {
    "label": "Owner Logo",
    "format": "image"
  },
  "ownerDescription": {
    "label": "Owner Description",
    "format": "text"
  },
  "trafficCounts": {
    "label": "Traffic Counts",
    "format": "array"
  },
  "dataPoints": {
    "label": "Data Points",
    "format": "array"
  },
  "locationId": {
    "label": "Location ID",
    "format": "text"
  },
  "name": {
    "label": "Location Name",
    "format": "text"
  },
  "geographyType": {
    "label": "Geography Type",
    "format": "number"
  },
  "city": {
    "label": "City",
    "format": "text"
  },
  "state": {
    "label": "State",
    "format": "text"
  },
  "country": {
    "label": "Country",
    "format": "text"
  },
  "taxonomyCountry": {
    "label": "Taxonomy Country",
    "format": "text"
  },
  "leaseOrSale": {
    "label": "For Lease / For Sale",
    "format": "text"
  },
  "typeId": {
    "label": "Type ID",
    "format": "number"
  },
  "typeName": {
    "label": "Type Name",
    "format": "text"
  },
  "subTypeId": {
    "label": "Subtype ID",
    "format": "number"
  },
  "subTypeName": {
    "label": "Subtype Name",
    "format": "text"
  },
  "sourceQuery": {
    "label": "Source Query",
    "format": "text"
  },
  "scrapingDate": {
    "label": "Scraping Date",
    "format": "date"
  }
}
```

## About this Actor

This example demonstrates how to use [LoopNet API — Commercial Real Estate Listings & Site Data](https://apify.com/sian.agency/loopnet-property-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/sian.agency/loopnet-property-scraper.md) to learn more, explore other use cases, and run it yourself.


## 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.
This Task's input is already configured above — use it as-is rather than inventing a new one.

- **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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/sian.agency/loopnet-property-scraper.md

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).
