Skip to documentation
ScraperData

SERP API

Zumper

The same /v1/search endpoint with engine=zumper returns US rental listings from Zumper as JSON: apartments, houses, rooms or condos for a city, 50 a page.

Send the API key in the X-API-Key header, or as the api_key query parameter (Authentication). Zumper searches can also run as async tasks with pingback_url.

Parameters

FieldTypeDescription
enginestringrequired Set it to zumper.Values:zumper
qstringrequired The US city: city and state (New York, NY or San Francisco, California) or a Zumper city slug (new-york-ny). Up to 120 characters. location works too. Or send url instead.Example: New York, NY
urlstringoptional A Zumper search page instead of q: the city, the type and the filters (beds, price) are read from it. It wins over q; type, bedrooms, min_price and max_price win over the page's own. A building page answers 400 invalid_url (use type=building).Example: https://www.zumper.com/apartments-for-rent/long-beach-ca/1-beds/under-2000
typestringoptional What to rent. Any other value answers 400 invalid_type.Values:apartmentshousesroomscondosDefault: apartments
pageintegeroptional The page of listings, from 1 to 100. Each page has up to 50; search_information.total_pages says how many there are.Default: 1
num_pagesintegeroptional How many pages to fetch in this call, from 1 to 10, starting at page. Each page fetched costs one credit; page + num_pages - 1 can be at most 100.Default: 1
maxResultsintegeroptional How many listings to return, from 1 to 500, instead of num_pages: the pages follow from it (50 a page, one credit each), so maxResults=100 is 2 credits. With full_details only these listings are read. max_results works too.Default: 50Example: 10
full_detailsbooleanoptional true: every listing comes back with its building in full (below). One more credit a listing; num_pages 1 to 5, or maxResults.Values:truefalseDefault: false
bedroomsstringoptional Only these bedroom counts, separated by commas: 0 (studio) to 10.Example: 1,2
min_priceintegeroptional The lowest monthly rent, in whole US dollars (0 to 1,000,000).Example: 1500
max_priceintegeroptional The highest monthly rent, in whole US dollars (0 to 1,000,000), not below min_price.Example: 3500
response_typestringoptional json: the listings. html: Zumper's raw answer for the fetched pages as text in html, without listings. both: the listings and html.Values:jsonhtmlbothDefault: json
pingback_urlstringoptional Queue the search and get the answer later; see Async tasks.

Several pages in one call

One call fetches 1 to 10 pages (num_pages) starting at page, 50 listings each. If Zumper stops partway (a captcha), you get the pages before it and pay only for those: search_information.pages_fetched says how many.

What comes back

FieldTypeDescription
search_metadataobjectAbout this request.
idstringA unique id for the search.
statusstringSuccess when Zumper answered.
created_atstringWhen the search ran, in ISO 8601 (UTC).
pagesintegerPages fetched in this call.
credits_chargedintegerCredits this request cost: one per page fetched.
task_idstringOnly for async tasks: the task the result belongs to.
search_parametersobjectWhat the search used: engine, q, type, page, num_pages (when above 1), the filters you sent and response_type.
search_informationobjectAbout the listings.
total_resultsintegerHow many listings match the place and filters.
page, per_page, total_pagesintegerThis page, listings a page (50) and the pages you can ask for (up to 100).
pages_fetchedintegerPages this call fetched (fewer than num_pages when the site stopped partway).
results_on_pageintegerHow many listings this answer has (all fetched pages).
location_slugstringThe Zumper city the place was read as, like new-york-ny.
listingsarrayThe listings, each with position (1, 2, 3... counted across pages, so page 2 starts at 51) and the fields below.
listing_id, building_idintegerZumper's ids for the listing and its building (building_id is null for a single home).
urlstringThe listing on Zumper.
title, building_namestringThe unit or listing title, and the building's name.
street_address, city, state, zipcode, neighborhoodstringWhere it is: the street address, city, two-letter state, ZIP code and neighborhood.
latitude, longitudenumberThe map point.
min_price, max_price, previous_price, currencyinteger / stringThe monthly rent range in US dollars, the earlier rent when it changed (often null) and the currency, always USD.
min_bedrooms, max_bedrooms, min_bathrooms, max_bathroomsintegerThe bedroom and bathroom range of the units. 0 bedrooms is a studio.
date_availablestring / nullThe move-in date (YYYY-MM-DD), when the listing gives one.
listed_on, created_on, modified_onintegerWhen the listing was listed, created and last changed, as Unix timestamps in seconds.
agent_name, brokerage_name, phonestringWho rents it out and their phone number, when listed.
amenities, building_amenities, petsarrayThe unit's and the building's amenities, and the pets allowed (empty means none listed).
image_count, image_idsinteger / arrayHow many photos there are, and the ids of the first five.
property_type, listing_type, lease_typeintegerZumper's own type codes for the property, the listing and the lease.
floorplan_count, min_lease_days, max_lease_daysinteger / nullHow many floor plans there are, and the shortest and longest lease in days, when listed.
is_featured, is_messageable, has_feesbooleanWhether Zumper features the listing, the agent can be messaged on Zumper, and there are broker fees.
ratingnumberZumper's rating of the listing, from 0 to 10.
padmapper_url, min_sqft, max_sqft, unit_count, external_ratingnullIn Zumper's data, but empty today.
htmlstringresponse_type html or both: Zumper's raw answer for the fetched pages, as text.

The second page of 1 and 2 bedroom houses under $3,000

Request
curl -G "https://api.scraperdata.com/v1/search" \
  -H "X-API-Key: YOUR_API_KEY" \
  --data-urlencode "engine=zumper" \
  --data-urlencode "q=Austin, TX" \
  --data-urlencode "type=houses" \
  --data-urlencode "bedrooms=1,2" \
  --data-urlencode "max_price=3000" \
  --data-urlencode "page=2"

Search by a Zumper page

Request
curl -G "https://api.scraperdata.com/v1/search" \
  -H "X-API-Key: YOUR_API_KEY" \
  --data-urlencode "engine=zumper" \
  --data-urlencode "url=https://www.zumper.com/apartments-for-rent/long-beach-ca/1-beds/under-2000"

Every listing in full

Add full_details=true to a search and each listing also gets its building's detail: description, every floorplan with its own price and date, photos and tours, leasing agents, office hours, fees, deposits and pet policy. Where both have a field, the listing's own value stays (so position, rating and the address are the search's). detail_availableis false when a building could not be read in time: that listing stays short and costs nothing.

FieldTypeDescription
search_information.details_fetchedintegerListings that came back in full (one credit each).
search_information.details_missingintegerListings that stayed short (free).
listings[].detail_availablebooleantrue when this listing came back in full.
default (50 listings, short)1 creditOne page.
maxResults=10, full_details=trueup to 111 page + 10 listings in full.
maxResults=100, full_details=trueup to 1022 pages + 100 listings in full.
Request
curl -G "https://api.scraperdata.com/v1/search" \
  -H "X-API-Key: YOUR_API_KEY" \
  --data-urlencode "engine=zumper" \
  --data-urlencode "q=Long Beach, CA" \
  --data-urlencode "maxResults=10" \
  --data-urlencode "full_details=true"

One building in full

With type=building the same endpoint reads one building by the building_id every listing carries. The number in a Zumper page URL (like p990258) is a different id, so a URL is refused.

FieldTypeDescription
typestringrequired Set it to building.Values:building
building_idintegerrequired The building_id from a listing of a search.Example: 1483460
response_typestringoptional json: the building. html: Zumper's raw answer in html. both: the building and html.Values:jsonhtmlbothDefault: json
FieldTypeDescription
search_parametersobjectengine, type (building) and building_id.
building_resultsobjectThe building, with the fields below.
building_id, name, urlinteger / stringZumper's id for the building, its name and its page path.
description, short_descriptionstringThe building's own description, long and short.
street_address, formatted_address, city, state, zipcode, country, neighborhoodstringWhere the building is.
latitude, longitudenumberThe building on the map.
year_built, year_remodeled, total_units, floorsinteger / nullWhen it was built and remodeled, how many units and floors.
min_priceintegerThe lowest monthly rent in US dollars.
phone, agent_name, brokerage_name, homepage, airbnb_url, feed_namestring / nullWho to call, the property's website and where the listing comes from.
amenity_tags, pets, pet_policyarrayBuilding amenities, allowed pets (1 cat, 2 dog, 3 other) and the pet rules.
fees, deposits, has_feesarray / booleanApplication and admin fees, and security deposits.
hoursarrayOffice hours per day, like ["mon", "9:30 am", "6:30 pm"].
parking, income_restrictionsobject / nullParking and income restriction details, when there are some.
lease_type, min_lease_days, max_lease_days, building_status, is_messageableinteger / null / booleanLease terms and whether the agent takes messages.
floorplans, floorplan_countarray / integerEach unit: listing_id, title, bedrooms, bathrooms, half_bathrooms, square_feet, min_price, max_price, date_available, listing_status, amenity_tags and url.
media, media_countarray / integerPhotos and virtual tours: media_id, media_type (image or virtual_tour), origin_url and name.
agentsarrayLeasing agents: user_id, name, email, phone and logo_url.
Request
curl -G "https://api.scraperdata.com/v1/search" \
  -H "X-API-Key: YOUR_API_KEY" \
  --data-urlencode "engine=zumper" \
  --data-urlencode "type=building" \
  --data-urlencode "building_id=1483460"

Errors

Errors never cost credits. Every error code is on the Errors page; these are the Zumper ones:

FieldTypeDescription
missing_query, invalid_query400No q, or one longer than 120 characters.
invalid_type400type is not apartments, houses, rooms or condos.
invalid_page400page is not a whole number from 1 to 100.
invalid_num_pages400num_pages is not 1 to 10 (1 to 5 with full_details), or page + num_pages - 1 goes past page 100.
invalid_max_results400maxResults is not 1 to 500, was sent with num_pages, or goes past page 100 from page.
invalid_full_details400full_details=true with response_type=html: send json or both.
invalid_url400url is not a Zumper search page, or it is a building page (use type=building with its building_id).
missing_building, invalid_building_id400type=building without a building_id, or one that is not a whole number.
invalid_bedrooms, invalid_price400bedrooms is not 0 to 10 separated by commas, or a price is not 0 to 1,000,000 or min_price is above max_price.
invalid_filter400Zumper did not accept a filter; the message says which.
invalid_response_type400response_type is not json, html or both.
no_results404Zumper has no listings for this place and these filters (or does not know the place). Check the city and state.
upstream_error, upstream_unavailable, upstream_timeout502 / 503 / 504Zumper could not be reached in time. Retry in a few seconds.
400 Bad Request
{
  "error": {
    "code": "invalid_price",
    "message": "min_price must not be higher than max_price."
  },
  "charged": false
}

Credits

Search: 1 credit per page (50 listings). Full details: +1 credit per listing returned in full. One building by type=building is 1 credit. Use maxResults to control cost. A page past the last one is an ordinary answer with no listings. Failed searches, places with no listings and buildings that are not found are free.