# Biggerpocket — 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 connect with vetted real estate professionals from the BiggerPockets network, including agents, lenders, contractors, and property managers in your area. Find the right service providers for your investment needs by browsing detailed business profiles and contact information.

**Category:** Real Estate | **Website:** [biggerpocket.com/](https://biggerpocket.com/) | **Docs:** [parse.bot/marketplace/15eb50e0-c682-4e7d-a30c-e11780e6848a/biggerpocket-com-api](https://parse.bot/marketplace/15eb50e0-c682-4e7d-a30c-e11780e6848a/biggerpocket-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-biggerpocket-com-api-15eb50e0/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_business

Retrieve detailed information about a specific business from the BiggerPockets directory, including markets served, specialties, about description, and license information.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `business_id` | string | Yes | Numeric business ID from search_directory results (e.g. '3366'). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-biggerpocket-com-api-15eb50e0/get_business \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"business_id":"<string>"}'
```

### search_directory

Search the BiggerPockets business directory for investor-friendly real estate professionals. Returns paginated listings of businesses filtered by type and location. Each page contains up to 8 results. Results are auto-iterated across pages. When no business_type is specified, returns all types. Some types (agent, lender, property_manager) may return empty results due to dedicated finder flows on the site.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `business_type` | string | No | Filter by business category. |
| `location` | string | No | Filter by location (city name or state abbreviation, e.g. 'Austin' or 'TX'). |
| `page` | integer | No | Page number for pagination. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-biggerpocket-com-api-15eb50e0/search_directory \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"business_type":"<string>","location":"<string>","page":"<integer>"}'
```
