# Reddoorcompany — 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 residential and commercial property listings for rent or sale across the Triangle region of North Carolina to find your next home or investment property. Browse available properties with detailed information to compare options in this dynamic North Carolina market.

**Category:** Real Estate | **Website:** [reddoorcompany.com/search/city-durham/property_type-residential/sale_type-rent](https://reddoorcompany.com/search/city-durham/property_type-residential/sale_type-rent) | **Docs:** [parse.bot/marketplace/03547cb6-747c-44ee-9fde-f2bdb4601204/reddoorcompany-com-api](https://parse.bot/marketplace/03547cb6-747c-44ee-9fde-f2bdb4601204/reddoorcompany-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/reddoorcompany/`
**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

### Search homes

Search property listings by location with optional filters for bedrooms, bathrooms, price range, lot size, pet policy, property subtype, and listing status. Returns all matching listings from the server-filtered set. Price range, pet policy, and lot size filters are applied post-retrieval. Results include address, price, bedroom/bathroom counts, property details, coordinates, and photos.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `bathrooms` | string | No | Minimum number of bathrooms (e.g. '2' for 2+). Values 0-6. |
| `bedrooms` | string | No | Minimum number of bedrooms (e.g. '3' for 3+). Values 0-6. |
| `city` | string | No | City slug (e.g. 'durham', 'raleigh', 'chapel_hill'). At least one of city, postal_code, or neighborhood is required. |
| `listing_status` | string | No | Listing status filter (e.g. 'active', 'coming_soon', 'pending', 'sold'). |
| `lot_size_max` | string | No | Maximum lot size in acres (applied client-side). |
| `lot_size_min` | string | No | Minimum lot size in acres (applied client-side). |
| `neighborhood` | string | No | Neighborhood slug (e.g. 'brightwood_trails', 'andrews_chapel'). At least one of city, postal_code, or neighborhood is required. |
| `pet_policy` | string | No | Pet policy filter (e.g. 'cats', 'dogs', 'negotiable', 'no pets'). Case-insensitive match against listing pet policy values. |
| `postal_code` | string | No | 5-digit ZIP/postal code (e.g. '27703'). At least one of city, postal_code, or neighborhood is required. |
| `price_max` | string | No | Maximum price filter (applied client-side). Integer dollar amount. |
| `price_min` | string | No | Minimum price filter (applied client-side). Integer dollar amount. |
| `property_subtype` | string | No | Property subtype slug (e.g. 'house', 'townhome', 'condo'). |
| `property_type` | string | No | Property type category. |
| `sale_type` | string | No | Whether to search rentals or sales. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/reddoorcompany/search-homes \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"bathrooms":"<string>","bedrooms":"<string>","city":"<string>","listing_status":"<string>","lot_size_max":"<string>","lot_size_min":"<string>","neighborhood":"<string>","pet_policy":"<string>","postal_code":"<string>","price_max":"<string>","price_min":"<string>","property_subtype":"<string>","property_type":"<string>","sale_type":"<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.