APIs / SpareRoom / Search

SpareRoom: Search

Search from SpareRoom as JSON. 1 credit per successful call.

GET /v1/spareroom/search

Parameters

Send parameters in the query string.

ParameterTypeRequiredAllowed values
wherestringRequiredUp to 100 characters
pageintegerOptionalAny
sortstringOptionalrelevance, newest, last_updated, price_low_to_high, price_high_to_low
min_rentintegerOptionalAny
max_rentintegerOptionalAny
rent_periodstringOptionalpcm, pw
bills_includedstringOptionaltrue, false, 1, 0
available_fromstringOptionalAny
typesstringOptionalAny
room_typesstringOptionaldouble, single
ensuitestringOptionalY
furnishedstringOptionalY, N
rooms_forstringOptionalmales, females, couples
share_typestringOptionalP, S
genderfilterstringOptionalmales, females, mixed
gaysharestringOptionalY
vegetariansstringOptionalY
disabled_accessstringOptionalY
living_roomstringOptionalshared
parkingstringOptionalY
smokingstringOptionalY, N
pets_reqstringOptionalY
days_of_wk_availablestringOptionalMon to Fri only, 7 days a week
short_lets_consideredstringOptionalY
posted_bystringOptionalprivate_landlords, flatmates, agents, co_live
landlordstringOptionallive_in, live_out
photoadsonlystringOptionalY
free_to_contactstringOptionalY
no_depositstringOptionalY
verified_usersstringOptionalY
min_termintegerOptionalAny
max_termintegerOptionalAny
no_of_roomsintegerOptionalAny
min_age_reqintegerOptionalAny
max_age_reqintegerOptionalAny
min_bedsintegerOptionalAny
max_bedsintegerOptionalAny

Example request

cURLshell
curl "https://api.perceptlayer.com/v1/spareroom/search?where=London" \
  -H "X-API-Key: $API_KEY"

Run this endpoint in the playground with your own parameters. 1 credit per successful call; failed calls are free.