# Smdc — Wrapped API

> **You are on:** `https://api.beta.paywithlocus.com/api` | [llms.txt](https://beta.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 browse SMDC property listings across Heights, Nature, and Symphony Homes segments, view detailed project information, and stay updated with the latest real estate news and articles. Filter properties by location or status and access comprehensive details about available developments all in one place.

**Category:** Real Estate | **Website:** [smdc.com/](https://smdc.com/) | **Docs:** [parse.bot/marketplace/8506a720-d1f0-4f02-abdf-3eb14b00ed9a/smdc-com-api](https://parse.bot/marketplace/8506a720-d1f0-4f02-abdf-3eb14b00ed9a/smdc-com-api)

Pay-per-use API proxy for Locus Pro. Each call burns credits from your workspace balance.

## Access

**Base URL:** `https://api.beta.paywithlocus.com/api/wrapped/credits/smdc/`
**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

### Get all properties by segment

Get all properties listed under a specific segment. Returns property name, URL, status, and segment for each property. Three segments exist: heights (urban high-rise developments), nature (green community developments), and symphony-homes (house-and-lot communities).

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `segment` | string | Yes | Property segment. Accepted values: 'heights', 'nature', 'symphony-homes'. |

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/credits/smdc/get-all-properties-by-segment \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"segment":"<string>"}'
```

### Get all properties combined

Aggregate all properties across all three segments (heights, nature, symphony-homes) into a single list. Makes one request per segment internally. No input parameters required.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/credits/smdc/get-all-properties-combined \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### Get news article details

Get the full content of a specific news article including title, date, body text, and hero image. The URL must be a full SMDC Good Life article URL.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `url` | string | Yes | Full URL of the news article (e.g. 'https://smdc.com/the-good-life/where-homeownership-meets-opportunity/'). |

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/credits/smdc/get-news-article-details \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"url":"<string>"}'
```

### Get news articles

List news articles from the Good Life section with pagination. Returns 6 articles per page ordered by most recent publication date. Uses WordPress AJAX pagination.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `page` | integer | No | Page number for pagination (1-based). |

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/credits/smdc/get-news-articles \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"page":"<integer>"}'
```

### Get properties filtered

Filter properties on a segment page by location. The location filter is case-sensitive and must match exactly how SMDC labels the city (e.g. 'Pasay City', 'Makati City'). Returns properties matching the specified location within the given segment.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `location` | string | No | Location filter matching SMDC's city labels exactly (e.g. 'Pasay City', 'Makati City', 'Mandaluyong City'). Omitting returns all locations. |
| `segment` | string | No | Property segment. Accepted values: 'heights', 'nature', 'symphony-homes'. |
| `sort` | string | No | Status filter passed to the upstream API (e.g. 'Move in Ready', 'Pre-selling'). Note: upstream may not reliably filter by this value. |

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/credits/smdc/get-properties-filtered \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"location":"<string>","segment":"<string>","sort":"<string>"}'
```

### Get property details

Get full details for a specific property including location, price range, status, description, landmarks, and images. The URL must be a full SMDC property detail page URL. Returns empty arrays for amenities and unit_types when not listed on the page.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `url` | string | Yes | Full URL of the property detail page (e.g. 'https://smdc.com/properties/heights/shell-residences/'). |

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/credits/smdc/get-property-details \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"url":"<string>"}'
```

### Search properties

Search for properties by keyword. Matches against property names only (not locations). Returns matching property titles, URLs, and thumbnails. The search is powered by WordPress AJAX live search.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `query` | string | Yes | Search keyword to match against property names (e.g. 'Shell', 'Spring', 'Residences'). |

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/credits/smdc/search-properties \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"query":"<string>"}'
```

## Next steps

- [All wrapped API providers](https://beta.paywithlocus.com/wapi/index.md): pick another provider.
- [Find and call tools](https://beta.paywithlocus.com/agent/tools.md): price ceilings, async results, and errors.
- [Credits and billing](https://beta.paywithlocus.com/agent/billing.md): what a call costs and how to add credits.
- [Agent docs index](https://beta.paywithlocus.com/agent/index.md): every Locus agent page.