# Mergernetwork — 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.

> 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 for Locus Pro. Each call burns credits from your workspace balance.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/credits/mergernetwork/`
**Auth:** `Authorization: Bearer <LOCUS_CREDITS_SECRET_KEY>` (an `lcr_` secret key or a scoped `lcac_` agent credential)
**Required header:** `Idempotency-Key: <fresh UUID per call>`. A retry with the same key replays the stored result without a new charge.
**Response:** the provider response after any endpoint-specific normalization. `X-Locus-Credits-Charged` carries the charge and `X-Locus-Credits-Balance` the remaining balance. Insufficient credits return `402` before the provider is called.
**Pricing:** estimated costs below are USD. Locus debits the credit equivalent at your workspace rate.

Full call contract: https://docs.paywithlocus.com/api-reference/introduction

> Using a Pay With Locus wallet key (`claw_` prefix)? Wallet routes are documented separately: https://docs.paywithlocus.com/wrapped-apis/for-agents

## 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.paywithlocus.com/api/wrapped/credits/mergernetwork/get-business-listing-detail \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -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.paywithlocus.com/api/wrapped/credits/mergernetwork/get-listing-contact-info \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -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.paywithlocus.com/api/wrapped/credits/mergernetwork/get-new-arrivals \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -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.paywithlocus.com/api/wrapped/credits/mergernetwork/list-business-categories \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -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.paywithlocus.com/api/wrapped/credits/mergernetwork/search-businesses-by-location \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -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.paywithlocus.com/api/wrapped/credits/mergernetwork/search-businesses-for-sale \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -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.paywithlocus.com/api/wrapped/credits/mergernetwork/search-financial-assets \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -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.paywithlocus.com/api/wrapped/credits/mergernetwork/search-funding-wanted \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -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.paywithlocus.com/api/wrapped/credits/mergernetwork/search-land-for-sale \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -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.paywithlocus.com/api/wrapped/credits/mergernetwork/search-oil-gas-listings \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -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.paywithlocus.com/api/wrapped/credits/mergernetwork/search-real-estate-listings \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -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.paywithlocus.com/api/wrapped/credits/mergernetwork/search-space-for-lease \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -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.paywithlocus.com/api/wrapped/credits/mergernetwork/search-wanted-listings \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"page":"<integer>","query":"<string>"}'
```

## Next steps

- [All wrapped API providers](https://paywithlocus.com/wapi/index.md): pick another provider.
- [Find and call tools](https://paywithlocus.com/agent/tools.md): price ceilings, async results, and errors.
- [Credits and billing](https://paywithlocus.com/agent/billing.md): what a call costs and how to add credits.
- [Agent docs index](https://paywithlocus.com/agent/index.md): every Locus agent page.