# Rentregistry Cityofberkeley — 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 Berkeley rental properties and access detailed rent information, registration statistics, and FAQs from the City of Berkeley's official Rent Registry. Look up unit-level rental data and property details to research housing costs and landlord registration records in Berkeley.

**Category:** Government & Public Data | **Website:** [rentregistry.cityofberkeley.info/](https://rentregistry.cityofberkeley.info/) | **Docs:** [parse.bot/marketplace/f28aebaf-0462-49b2-ba13-0939d1288037/rentregistry-cityofberkeley-info-api](https://parse.bot/marketplace/f28aebaf-0462-49b2-ba13-0939d1288037/rentregistry-cityofberkeley-info-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-rentregistry-cityofberkeley-info-api-f28aebaf/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_address_rent_info

Resolve an address to its APN and return rent information for all units. Performs a search internally, takes the first match, then retrieves unit-level detail. Returns stale_input when no property matches the address.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `address` | string | Yes | Property address or street name to search for |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-rentregistry-cityofberkeley-info-api-f28aebaf/get_address_rent_info \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"address":"<string>"}'
```

### get_faqs

Retrieve frequently asked questions about Berkeley rent registration. Returns paginated FAQ entries with title, HTML content, and language code. Total count reflects items returned on the current page.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `limit` | integer | No | Number of FAQs to return per page |
| `page` | integer | No | Page number |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-rentregistry-cityofberkeley-info-api-f28aebaf/get_faqs \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"limit":"<integer>","page":"<integer>"}'
```

### get_property_details

Point-lookup of a property by its APN (Assessor's Parcel Number). Returns the full address, and every registered rental unit with regulation type, current rent, maximum allowed rent, and occupancy status.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `apn` | string | Yes | Assessor's Parcel Number (e.g., '057209201000') |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-rentregistry-cityofberkeley-info-api-f28aebaf/get_property_details \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"apn":"<string>"}'
```

### get_registration_stats

Retrieve aggregate counts of open and closed rent registration cases across all Berkeley properties. No input required; returns a point-in-time snapshot.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-rentregistry-cityofberkeley-info-api-f28aebaf/get_registration_stats \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### search_properties

Full-text search over Berkeley rental properties by address or APN number. Returns paginated summaries with location and parcel data. Pagination via page number; total count is included in the response for client-side page math.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `limit` | integer | No | Number of results per page |
| `page` | integer | No | Page number for pagination |
| `query` | string | Yes | Search keyword (address, street name, or APN number) |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-rentregistry-cityofberkeley-info-api-f28aebaf/search_properties \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"limit":"<integer>","page":"<integer>","query":"<string>"}'
```
