Cityofberkeley APIrentregistry.cityofberkeley.info ↗
Access Berkeley, CA rent registry data via API. Search rental properties, look up unit-level rent limits, APN details, and registration stats.
What is the Cityofberkeley API?
This API exposes 5 endpoints covering the City of Berkeley's official Rent Registry, returning unit-level rent data, APN lookups, and registration statistics. The get_property_details endpoint retrieves every registered unit for a parcel — including regulation type, current rent, and maximum allowed rent — directly from Berkeley's municipal housing records.
curl -X POST 'https://api.parse.bot/scraper/156c75b8-b6e3-4e61-8db8-f264b8efc161/search_properties' \
-H 'X-API-Key: $PARSE_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"page": "1",
"limit": "5",
"query": "University Ave"
}'Typed, relational, agent-ready
A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.
- Fully typed · autocompletes
- Objects link to objects
- Typed errors & pagination
Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:
uv add parse-sdk uv run parse init uv run parse add --marketplace rentregistry-cityofberkeley-info-api
uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.
"""Walkthrough: Berkeley Rent Registry — search properties, inspect units, check stats."""
from parse_apis.berkeley_rent_registry_api import (
BerkeleyRentRegistry,
PropertyNotFound,
)
client = BerkeleyRentRegistry()
# Search for properties on a street — limit caps total items fetched.
for summary in client.propertysummaries.search(query="University Ave", limit=3):
print(summary.apn, summary.address, summary.total_units)
# Drill into one result: get full property detail via the summary's navigation op.
summary = client.propertysummaries.search(query="University Ave", limit=1).first()
if summary:
prop = summary.details()
print(prop.address)
for unit in prop.units[:3]:
print(unit.regulation_type, unit.current_rent, unit.max_allowed_rent, unit.status)
# Find a property directly by address — single round-trip.
found = client.properties.find_by_address(address="University Ave")
print(found.apn, found.address, len(found.units))
# Typed error handling: catch PropertyNotFound for a bad address.
try:
client.properties.find_by_address(address="99999 Nonexistent Blvd")
except PropertyNotFound as exc:
print(f"not found: {exc.address}")
# Registration statistics — aggregate counts, no input needed.
stats = client.registrationstatses.get()
print(stats.open, stats.closed)
# Browse FAQs.
for faq in client.faqs.list(limit=3):
print(faq.title, faq.language)
print("exercised: propertysummaries.search / summary.details / properties.find_by_address / registrationstatses.get / faqs.list")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.
| Param | Type | Description |
|---|---|---|
| page | integer | Page number for pagination |
| limit | integer | Number of results per page |
| queryrequired | string | Search keyword (address, street name, or APN number) |
{
"type": "object",
"fields": {
"page": "integer - current page number",
"limit": "integer - results per page",
"total": "integer - total matching records",
"properties": "array of property summary objects with apn, address, total_units, latitude, longitude, title, type"
},
"sample": {
"data": {
"page": 1,
"limit": 5,
"total": 152,
"properties": [
{
"apn": "057209201000",
"type": "ADDRESS",
"title": "057209201000",
"address": "939 UNIVERSITY AVE BERKELEY CA 94710",
"latitude": null,
"longitude": null,
"total_units": 0
}
]
},
"status": "success"
}
}About the Cityofberkeley API
Property Search and Lookup
The search_properties endpoint accepts a free-text query — an address, street name, or APN number — and returns paginated summaries including apn, address, total_units, latitude, longitude, and property type. The total field in the response lets you calculate pages client-side using your chosen limit. For a direct parcel lookup, get_property_details takes an apn string (e.g., 057209201000) and returns a full unit array, with each unit carrying unit_number, regulation_type, current_rent, max_allowed_rent, and status.
Address-Based Rent Resolution
If you have an address but not an APN, get_address_rent_info resolves it for you. Supply an address string and the endpoint returns the matched apn, the full address as recorded in the registry, and the same unit-level rent detail array. When no property matches, the response returns a stale_input indicator so you can handle misses cleanly without parsing error messages.
Registry Statistics and FAQs
get_registration_stats returns a point-in-time snapshot of open and closed rent registration case counts across all Berkeley properties — no parameters required. The response also includes a status object with a code and message from the upstream registry. get_faqs retrieves paginated FAQ entries from the rent registry, each with a title, HTML content, and language code, useful for building tenant-facing tools that surface official guidance alongside raw data.
The Cityofberkeley API is a managed, monitored endpoint for rentregistry.cityofberkeley.info — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when rentregistry.cityofberkeley.info changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.
This isn't an official rentregistry.cityofberkeley.info API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.
Will this API break when the source site changes?+
Is this an official API from the source site?+
Can I fix or extend this API myself if I need a new endpoint or field?+
What happens if I call an endpoint that has an issue?+
- Verify the maximum allowed rent for a specific Berkeley rental unit before signing a lease
- Build a tenant advocacy tool that maps rent-regulated properties using latitude/longitude from search_properties
- Track open vs. closed registration case counts over time using get_registration_stats
- Cross-reference APN numbers from county assessor data with unit-level rent limits via get_property_details
- Populate a renter information portal with official FAQ content using get_faqs
- Identify properties with multiple registered units and their occupancy status for housing research
| Tier | Price | Credits/month | Rate limit |
|---|---|---|---|
| Free | $0/mo | 100 | 5 req/min |
| Hobby | $30/mo | 1,000 | 20 req/min |
| Developer | $100/mo | 5,000 | 100 req/min |
One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.