Skip to content
Scrappa Get API key
Zumper API 1 credit/request

Zumper Rental Facets

GET https://scrappa.co/api/zumper/facets

Counts matching rentals per bucket for one attribute. Price buckets are keyed by their lower edge, so a bucket labelled 2000 with step 500 holds rents from 2000 up to the next edge. Offered attributes: bedrooms, bathrooms, min_price, max_price, promotion, group_id, features. Set site to padmapper to read the PadMapper side of the same inventory.

Zumper Rental Facets 1 credit/request

Endpoint

Request preview
GET
https://scrappa.co/api/zumper/facets
Auth header
x-api-key
Cost
1 credit/request
city = san-francisco-ca attribute = min_price
Response preview
200 OK
{
    "data": {
        "step": 500,
        "buckets": [
            {
                "edge": 0,
                "count": 1
            }
        ],
        "attribute": "min_price",
        "min_price": {
            "0": 1,
            "500": 11,
            "1000": 7,
...

Parameters

Start with the required fields, then add optional filters only when your use case needs them.

Runnable path

2 required parameters needed before sending a request.

15 optional filters available.

city string Required

City slug: lower-case words and the state or province code, for example san-francisco-ca or toronto-on.

Example value san-francisco-ca
attribute string Required

Attribute to count by. Allowed: bedrooms, bathrooms, min_price, max_price, promotion, group_id, features.

Example value min_price
hood string Optional

Neighborhood slug inside the city, for example soma. Always used together with city.

Example value example
zip string Optional

Five-digit ZIP code inside the city. Use hood or zip, not both.

Example value example
min_price integer Optional

Lowest monthly rent.

Example value 10
max_price integer Optional

Highest monthly rent.

Example value 10
bedrooms[] array Optional

Bedroom counts to include, 0 for a studio. Repeat the parameter.

Example value ["example"]
min_bathrooms integer Optional

Lowest bathroom count.

Example value 10
max_bathrooms integer Optional

Highest bathroom count.

Example value 10
pets[] array Optional

Pet policies to require: cat, small_dog, large_dog.

Example value ["example"]
categories[] array Optional

Property categories: apartment, condo, house, room, townhouse, other.

Example value ["example"]
min_lat number Optional

Southern edge of the map box. Give all four box values together.

Example value 10
max_lat number Optional

Northern edge of the map box.

Example value 10
min_lng number Optional

Western edge of the map box.

Example value 10
max_lng number Optional

Eastern edge of the map box.

Example value 10
step integer Optional

Bucket width. Price attributes want 100 or more.

Example value 500
site string Optional

zumper (default) or padmapper. Allowed: zumper, padmapper.

Example value example

Response Schema

Example response fields are illustrative; inspect the JSON before integrating.

Example response fields

Scan these fields before integrating.

data success
JSON Response
200 OK
{
    "data": {
        "step": 500,
        "buckets": [
            {
                "edge": 0,
                "count": 1
            }
        ],
        "attribute": "min_price",
        "min_price": {
            "0": 1,
            "500": 11,
            "1000": 7,
            "1500": 27,
            "2000": 24,
            "2500": 45,
            "3000": 51,
            "3500": 70,
            "4000": 82,
            "4500": 79
        }
    },
    "success": true
}

Errors

Handle these documented responses before retrying or showing customer-facing failures.

Not Found

The requested listing, building, or page was not found. This response is not billable.

Validation Error

A required public parameter is missing or invalid. This response is not billable.

Service Unavailable

The service could not obtain a complete result. This response is not billable.

Generate Code with AI

Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.

Try It Live

Test this endpoint in our interactive playground with real data.