# 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. Each call is automatically billed to your wallet in USDC.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/parse-ratethelandlord-org-api-335fee4f/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## 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/parse-ratethelandlord-org-api-335fee4f/get_filter_options \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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/parse-ratethelandlord-org-api-335fee4f/get_landlord \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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/parse-ratethelandlord-org-api-335fee4f/get_landlords \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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/parse-ratethelandlord-org-api-335fee4f/get_reviews \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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/parse-ratethelandlord-org-api-335fee4f/get_tenant_resources \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```
