# City Ventures — 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.

> Find eco-friendly new homes across California communities with detailed floor plans and community information from City Ventures. Browse available developments and compare layouts to discover the perfect home for your needs.

**Category:** Real Estate | **Website:** [cityventures.com/new-homes/ca/compton/compton-concord-court/](https://cityventures.com/new-homes/ca/compton/compton-concord-court/) | **Docs:** [parse.bot/marketplace/b1459ba1-f7f7-4ba4-b16b-bb750cccee6d/cityventures-com-api](https://parse.bot/marketplace/b1459ba1-f7f7-4ba4-b16b-bb750cccee6d/cityventures-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-cityventures-com-api-b1459ba1/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_community_plans

Retrieves all floor plans for a specific City Ventures community. Each plan includes builder name, community name, plan name or number, square footage, bedroom and bathroom counts, QMI price (null when unavailable), starting/from price, and a direct URL to the plan detail page. The community_slug is obtained from the list_communities endpoint's slug field.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `community_slug` | string | Yes | URL path segment identifying the community (e.g. 'ca/compton/compton-concord-court'). Obtained from the slug field of list_communities results. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-cityventures-com-api-b1459ba1/get_community_plans \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"community_slug":"<string>"}'
```

### list_communities

Lists all active City Ventures communities in California with summary details including name, city, price range, square footage range, and bedroom/bathroom counts. Optionally filtered by market region. Returns all communities in a single page.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `market` | string | No | Filter by market region. Accepted values: 'norcal' (Northern California), 'socal' (Southern California), or a city name (e.g. 'Santa Rosa'). Omitting returns all communities. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-cityventures-com-api-b1459ba1/list_communities \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"market":"<string>"}'
```
