# Mergernetwork — Wrapped API

> **You are on:** `https://api.beta.paywithlocus.com/api` | [llms.txt](https://beta.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.

> Search and discover businesses for sale, real estate properties, land, commercial space, and funding opportunities across multiple categories and locations, while accessing detailed financial information and contact details for each listing. Find new market arrivals, filter by industry (including healthcare), and explore specialized deals in oil & gas, financial assets, and wanted listings all from a single platform.

**Category:** Marketplaces | **Website:** [mergernetwork.com/](https://mergernetwork.com/) | **Docs:** [parse.bot/marketplace/f1042af1-9c50-408b-9d13-1e3b22bc58ce/mergernetwork-com-api](https://parse.bot/marketplace/f1042af1-9c50-408b-9d13-1e3b22bc58ce/mergernetwork-com-api)

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

## Access

**Base URL:** `https://api.beta.paywithlocus.com/api/wrapped/parse-mergernetwork-com-api-f1042af1/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### Get business listing detail

Retrieve full details for a specific business or funding listing by its URL path. Returns structured data including financials and industry classification. The url parameter can be obtained from search results' url field.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `url` | string | Yes | Listing URL path (e.g. /d/biz-sale/chiropractic/l1cfes) or full URL. Can be obtained from search results. |

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/parse-mergernetwork-com-api-f1042af1/get_business_listing_detail \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"<string>"}'
```

### Get listing contact info

Retrieve broker/seller contact information for a listing.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `url` | string | Yes | Listing URL or path |

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/parse-mergernetwork-com-api-f1042af1/get_listing_contact_info \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"<string>"}'
```

### Get new arrivals

Retrieve the newest arrivals in business listings. Returns up to 25 of the most recently posted listings.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/parse-mergernetwork-com-api-f1042af1/get_new_arrivals \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### List business categories

List available business industry categories, locations, and size filters with their URL slugs. Useful for discovering valid category_slug and location_slug values for search endpoints.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/parse-mergernetwork-com-api-f1042af1/list_business_categories \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### Search businesses by location

Search businesses for sale by location (state, country, or city) using the location's slug. Valid location slugs can be found via list_business_categories. Returns paginated results with up to 25 listings per page.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `location_slug` | string | Yes | Location slug without leading slash (e.g. florida-businesses-for-sale, california-businesses-for-sale). Available from list_business_categories. |
| `page` | integer | No | Page number for pagination. |
| `query` | string | No | Search keyword. |

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/parse-mergernetwork-com-api-f1042af1/search_businesses_by_location \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"location_slug":"<string>","page":"<integer>","query":"<string>"}'
```

### Search businesses for sale

Search for businesses for sale with filters for keyword, price, and category. Returns paginated results with up to 25 listings per page. Omitting all filters returns all businesses for sale.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `category_slug` | string | No | Category path slug to filter by (e.g. /health-care-businesses-for-sale). Available slugs can be retrieved from list_business_categories. |
| `page` | integer | No | Page number for pagination. |
| `price_max` | integer | No | Maximum asking price filter. |
| `price_min` | integer | No | Minimum asking price filter. |
| `query` | string | No | Search keyword to filter listings. |

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/parse-mergernetwork-com-api-f1042af1/search_businesses_for_sale \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"category_slug":"<string>","page":"<integer>","price_max":"<integer>","price_min":"<integer>","query":"<string>"}'
```

### Search financial assets

Search financial assets listings including crypto licenses, shelf companies, and public shells. Returns paginated results with up to 25 listings per page.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `page` | integer | No | Page number for pagination. |
| `query` | string | No | Search keyword. |

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/parse-mergernetwork-com-api-f1042af1/search_financial_assets \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"page":"<integer>","query":"<string>"}'
```

### Search funding wanted

Search funding wanted (investment opportunities) listings from businesses seeking capital. Returns paginated results with up to 25 listings per page.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `page` | integer | No | Page number for pagination. |
| `query` | string | No | Search keyword. |

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/parse-mergernetwork-com-api-f1042af1/search_funding_wanted \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"page":"<integer>","query":"<string>"}'
```

### Search land for sale

Search land for sale listings. Returns paginated results with up to 25 listings per page.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `page` | integer | No | Page number for pagination. |
| `query` | string | No | Search keyword. |

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/parse-mergernetwork-com-api-f1042af1/search_land_for_sale \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"page":"<integer>","query":"<string>"}'
```

### Search oil gas listings

Search oil and gas property listings including production wells and royalties. Returns paginated results with up to 25 listings per page.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `page` | integer | No | Page number for pagination. |
| `query` | string | No | Search keyword. |

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/parse-mergernetwork-com-api-f1042af1/search_oil_gas_listings \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"page":"<integer>","query":"<string>"}'
```

### Search real estate listings

Search commercial and investment real estate listings. Returns paginated results with up to 25 listings per page.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `page` | integer | No | Page number for pagination. |
| `query` | string | No | Search keyword. |

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/parse-mergernetwork-com-api-f1042af1/search_real_estate_listings \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"page":"<integer>","query":"<string>"}'
```

### Search space for lease

Search space for lease listings including commercial and office spaces. Returns paginated results with up to 25 listings per page.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `page` | integer | No | Page number for pagination. |
| `query` | string | No | Search keyword. |

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/parse-mergernetwork-com-api-f1042af1/search_space_for_lease \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"page":"<integer>","query":"<string>"}'
```

### Search wanted listings

Search 'Wanted' listings from buyers and investors looking to acquire businesses. Returns paginated results with up to 25 listings per page.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `page` | integer | No | Page number for pagination. |
| `query` | string | No | Search keyword. |

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/parse-mergernetwork-com-api-f1042af1/search_wanted_listings \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"page":"<integer>","query":"<string>"}'
```
