# Toll Brothers — 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.

> Browse and retrieve available home designs and quick move-in homes directly from Toll Brothers communities. Search through specific community listings to find home options that match your preferences.

**Category:** Real Estate | **Website:** [www.tollbrothers.com/luxury-homes-for-sale/California/Metro-Heights/Viewpoint](https://www.tollbrothers.com/luxury-homes-for-sale/California/Metro-Heights/Viewpoint) | **Docs:** [parse.bot/marketplace/dc8cc37a-c200-4c0c-b74b-a1d46579af71/tollbrothers-com-api](https://parse.bot/marketplace/dc8cc37a-c200-4c0c-b74b-a1d46579af71/tollbrothers-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-tollbrothers-com-api-dc8cc37a/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_community_homes

Retrieve all home designs and quick move-in (QMI) homes listed on a Toll Brothers community page. Returns each floor plan with builder name, community name, plan name, square footage, bedroom count, bathroom count, starting/from price, QMI price (if applicable), and the listing URL. Supports both individual community pages and master community pages which aggregate multiple sub-communities.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `community_url` | string | Yes | The Toll Brothers community page URL path, e.g. '/luxury-homes-for-sale/California/Metro-Heights/Viewpoint'. Full URLs starting with https://www.tollbrothers.com are also accepted. |

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