# Loopnet — Wrapped API

> **You are on:** `https://api.paywithlocus.com/api` | [llms.txt](https://paywithlocus.com/llms.txt) | [docs](https://docs.paywithlocus.com)
>
> Locus runs on multiple environments -- make sure every URL you call matches your expected environment.
> | Environment | Landing | API | Docs |
> |---|---|---|---|
> | Production | paywithlocus.com | api.paywithlocus.com | docs.paywithlocus.com |
> | Beta | beta.paywithlocus.com | api.beta.paywithlocus.com | docs.paywithlocus.com |
> | Stage | stage.paywithlocus.com | api.stage.paywithlocus.com | docs.paywithlocus.com |
>
> If the API URL above doesn't match your expected environment, re-fetch this file from the correct domain.

> Access LoopNet's commercial real estate data programmatically. Search listings by location, property type, and transaction type; retrieve full listing details including pricing and property facts; and find and profile commercial real estate brokers.

**Category:** Real Estate | **Website:** [loopnet.com/](https://loopnet.com/) | **Docs:** [parse.bot/marketplace/9d3a7974-d466-4963-8354-1c33ff2e98fb/loopnet-com-api](https://parse.bot/marketplace/9d3a7974-d466-4963-8354-1c33ff2e98fb/loopnet-com-api)

Pay-per-use API proxy. Each call is automatically billed to your wallet in USDC.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/parse-loopnet-com-api-9d3a7974/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_broker_profile

Get broker profile and contact information including phone numbers, company name, and professional designations. The profile_url can be a full URL or relative path obtainable from search_brokers results or get_listing_detail broker_links.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `profile_url` | string | Yes | Full URL or relative path to the broker profile (e.g., '/commercial-real-estate-brokers/profile/glenn-frankel/jlvz546b'). Obtainable from search_brokers results or get_listing_detail broker_links. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-loopnet-com-api-9d3a7974/get_broker_profile \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"profile_url":"<string>"}'
```

### get_listing_detail

Get detailed information for a specific commercial listing including property name, description, pricing, images, broker contacts, and broker profile links. The listing_id is a numeric string obtainable from search_listings results. The slug parameter defaults to 'listing' which triggers a redirect to the canonical URL.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `listing_id` | string | Yes | The numeric listing ID (e.g., '37277760'). Obtainable from search_listings results. |
| `slug` | string | No | URL slug for the listing. Use 'listing' as default if the actual slug is unknown. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-loopnet-com-api-9d3a7974/get_listing_detail \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"listing_id":"<string>","slug":"<string>"}'
```

### search_brokers

Search for commercial real estate brokers by location. Returns a list of broker profiles with names and profile URLs. The location format is 'City, ST' (e.g., 'Los Angeles, CA').

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `location` | string | Yes | Location to search, in 'City, ST' format (e.g., 'Los Angeles, CA', 'New York, NY'). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-loopnet-com-api-9d3a7974/search_brokers \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"location":"<string>"}'
```

### search_listings

Search for commercial real estate listings by location. Returns paginated results with listing names, addresses, and IDs. Each page returns up to 25 listings. Use page_index to paginate through results. The location slug format uses city-state hyphenated lowercase (e.g. 'los-angeles-ca'). Property type and transaction type narrow results.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `location` | string | Yes | Location slug in city-state format (e.g., 'los-angeles-ca', 'new-york-ny', 'chicago-il'). |
| `max_acres` | string | No | Maximum acres filter for land searches. |
| `max_price` | string | No | Maximum asking price filter (e.g., '2000000'). |
| `min_acres` | string | No | Minimum acres filter for land searches. |
| `min_price` | string | No | Minimum asking price filter (e.g., '500000'). |
| `page_index` | integer | No | Page number for pagination, starting at 1. |
| `property_type` | string | No | Property type slug. |
| `transaction_type` | string | No | Transaction type. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-loopnet-com-api-9d3a7974/search_listings \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"location":"<string>","max_acres":"<string>","max_price":"<string>","min_acres":"<string>","min_price":"<string>","page_index":"<integer>","property_type":"<string>","transaction_type":"<string>"}'
```
