# Trustmrr — 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 a verified database of profitable startups and businesses for sale with real revenue data authenticated by Stripe and other payment processors, then filter results by category, performance metrics, and acquisition status to find investment opportunities. Access detailed company information including leaderboard rankings, growth statistics, and acquisition listings all in clean JSON format.

**Category:** Finance & Markets | **Website:** [trustmrr.com/](https://trustmrr.com/) | **Docs:** [parse.bot/marketplace/25bd22fb-4820-4878-bb53-c78ec70d025f/trustmrr-com-api](https://parse.bot/marketplace/25bd22fb-4820-4878-bb53-c78ec70d025f/trustmrr-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-trustmrr-com-api-25bd22fb/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_all_startups

Fetches startups across all categories, deduplicated by slug. Iterates through category pages until the limit is reached. Useful for comprehensive database export.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `limit` | integer | No | Maximum number of startups to return. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-trustmrr-com-api-25bd22fb/get_all_startups \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"limit":"<integer>"}'
```

### get_homepage

Fetches the TrustMRR homepage data including the revenue leaderboard (top startups by last 30 days revenue), best deals this week, and recently added startups. The leaderboard contains up to 100 entries. Categories may be empty if not embedded in the homepage payload.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-trustmrr-com-api-25bd22fb/get_homepage \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_startup_detail

Fetches comprehensive details for a specific startup including revenue data, tech stack, AI enrichment, founder info, growth metrics, and pricing history. The slug is obtainable from search_startups, list_startups_by_category, or get_homepage results.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `slug` | string | Yes | Startup slug (URL identifier), obtainable from search_startups, list_startups_by_category, or get_homepage results. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-trustmrr-com-api-25bd22fb/get_startup_detail \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"slug":"<string>"}'
```

### get_stats

Fetches comprehensive startup ecosystem statistics including revenue distribution, follower distribution, growth milestones, top countries by revenue, most profitable categories, and top tech stacks. Combines HTML parsing with RSC stream extraction for complete data.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-trustmrr-com-api-25bd22fb/get_stats \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### list_startups_by_category

Lists startups within a specific category with pagination support. Returns up to ~30 startups per page along with total count and a hasMore flag for pagination.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `category` | string | Yes | Category slug. |
| `page` | integer | No | Page number for pagination. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-trustmrr-com-api-25bd22fb/list_startups_by_category \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"category":"<string>","page":"<integer>"}'
```

### list_startups_for_acquisition

Lists startups available for acquisition. Returns the initial batch of ~30 startups sorted by best deals. Supports optional filters for price, revenue, growth, margin, and category.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `categories` | string | No | Category slug filter. |
| `listingDate` | string | No | Filter by listing date. |
| `maxMultiple` | number | No | Maximum revenue multiple filter. |
| `maxPrice` | number | No | Maximum asking price filter. |
| `maxRevenue` | number | No | Maximum monthly revenue filter. |
| `minGrowth` | number | No | Minimum 30-day growth percentage filter. |
| `minMargin` | number | No | Minimum profit margin percentage filter. |
| `minPrice` | number | No | Minimum asking price filter. |
| `minRevenue` | number | No | Minimum monthly revenue filter. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-trustmrr-com-api-25bd22fb/list_startups_for_acquisition \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"categories":"<string>","listingDate":"<string>","maxMultiple":"<number>","maxPrice":"<number>","maxRevenue":"<number>","minGrowth":"<number>","minMargin":"<number>","minPrice":"<number>","minRevenue":"<number>"}'
```

### search_startups

Search for startups by keyword matching against company name, category, or description. Returns all matching startups from the TrustMRR database in a single page.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `query` | string | Yes | Search keyword to match against startup names, categories, or descriptions. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-trustmrr-com-api-25bd22fb/search_startups \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query":"<string>"}'
```
