Hemnet

Till salu — homes and apartments for sale

get/hemnet/search

Request

  • Base URL: https://scrappa.co/api
  • URL: https://scrappa.co/api/hemnet/search
  • Auth: API key in header X-API-KEY

Query parameters

qstring nullable

Every filter above is Int upstream except rooms_min/rooms_max, which the app declares Float. A decimal sent to an Int field is refused with HTTP 400, so those two keep numeric and every other numeric filter is rejected as a decimal before it is sent.

location_idsstring nullable

Comma-separated Hemnet location ids, e.g. 18031 for Stockholm kommun

location_slugsstring nullable
housing_form_groupsstring nullable
price_mininteger nullable

Minimum asking price in SEK

price_maxinteger nullable

Maximum asking price in SEK

fee_mininteger nullable
fee_maxinteger nullable
living_area_mininteger nullable
living_area_maxinteger nullable
rooms_minnumber nullable
rooms_maxnumber nullable
land_area_mininteger nullable
land_area_maxinteger nullable
square_meter_price_mininteger nullable
square_meter_price_maxinteger nullable
tagsstring nullable
construction_year_mininteger nullable
construction_year_maxinteger nullable
new_construction'INCLUDE' | 'EXCLUDE' | 'ONLY' | 'null' nullable
expand_locations'EXPAND_1000M' | 'EXPAND_2000M' | 'EXPAND_5000M' | 'EXPAND_10000M' | 'EXPAND_15000M' | 'EXPAND_30000M' | 'EXPAND_50000M' | 'EXPAND_100000M' | 'null' nullable

Widen the search around each location, one of EXPAND_1000M, EXPAND_2000M, EXPAND_5000M, EXPAND_10000M, EXPAND_15000M, EXPAND_30000M, EXPAND_50000M or EXPAND_100000M

sort'CLOSEST_TO_COASTLINE' | 'CLOSEST_TO_WATER' | 'HIGHEST_FEE' | 'HIGHEST_PRICE' | 'HIGHEST_PRICE_PER_M2' | 'LARGEST_LAND_AREA' | 'LARGEST_LIVING_AREA' | 'LOWEST_FEE' | 'LOWEST_PRICE' | 'LOWEST_PRICE_PER_M2' | 'NEWEST' | 'NEXT_OPEN_HOUSE' | 'OLDEST' | 'SMALLEST_LAND_AREA' | 'SMALLEST_LIVING_AREA' | 'STREET_ADDRESS' | 'STREET_ADDRESS_DESC' | 'null' nullable

Sort key, one of NEWEST, OLDEST, HIGHEST_PRICE, LOWEST_PRICE, HIGHEST_FEE, LOWEST_FEE, LARGEST_LIVING_AREA, SMALLEST_LIVING_AREA, LARGEST_LAND_AREA, SMALLEST_LAND_AREA, HIGHEST_PRICE_PER_M2, LOWEST_PRICE_PER_M2, CLOSEST_TO_WATER, CLOSEST_TO_COASTLINE, NEXT_OPEN_HOUSE, STREET_ADDRESS or STREET_ADDRESS_DESC

offsetinteger nullable

Cards to skip. offset + limit may not exceed 2500

limitinteger nullable

Cards per request (default 1000, maximum 1000)

Response

string required

Changes

No recorded changes to this operation across all 4 revisions of this API.