# Ratethelandlord — 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 browse landlord reviews and ratings from RateTheLandlord.org to explore tenant experiences across locations. View detailed review breakdowns for specific landlords, compare aggregate ratings, and discover tenant resource organizations by area.

**Category:** Reviews & Ratings | **Website:** [ratethelandlord.org/](https://ratethelandlord.org/) | **Docs:** [parse.bot/marketplace/335fee4f-73e8-4615-9dbf-e970d3eea7b1/ratethelandlord-org-api](https://parse.bot/marketplace/335fee4f-73e8-4615-9dbf-e970d3eea7b1/ratethelandlord-org-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/ratethelandlord/`
**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 filter options

Returns available filter values for reviews including countries, cities, and ZIP codes. Each city and zip entry includes an id, name, and lowercase value. Countries are two-letter ISO codes. Useful for understanding the geographic coverage of the review database.

**Estimated cost:** Metered

_No parameters required._

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

### Get landlord

Fetches all reviews and aggregate ratings for a specific landlord by name. The name must match exactly (case-insensitive) a landlord from the database. Returns the landlord's reviews with full detail, overall average rating, total review count, and per-category averages (repair, health, stability, privacy, respect).

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `name` | string | Yes | Full name of the landlord as it appears in the database (case-insensitive, e.g. 'GREENWIN') |

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

### Get landlords

Returns all landlord name strings in the database (10,000+ entries) wrapped in an object. Names are uppercase. Useful for looking up exact landlord names to pass to get_landlord. No pagination — returns the complete list in one response.

**Estimated cost:** Metered

_No parameters required._

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

### Get reviews

Fetches the 25 most recent landlord reviews from the database, sorted newest first. Each review includes the landlord name, location (city, state, zip, country), review text, five rating categories (repair, health, stability, privacy, respect) each scored 1-5, date added, and optional rent amount. No filtering or pagination — always returns the latest 25.

**Estimated cost:** Metered

_No parameters required._

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

### Get tenant resources

Fetches tenant resource organizations and links. Returns resource objects with organization name, description, location (country, city, state), and website URL. Resources are tenant support organizations across multiple countries.

**Estimated cost:** Metered

_No parameters required._

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

## 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.