docs / hemnet

Hemnet.se API scraper

Hemnet.se API scraper

base /hemnet/v14 endpoints
post/hemnet/v1/sold1 credit

Recently-SOLD property prices (slutpriser) by location, with the same filters as search — the comparable-sales / price-history surface. Each record carries asking price, FINAL sold price, sold date, price change (%) and square-metre price.

ParameterAllowed / rangeDescription
locationrequiredWhere to search — a Swedish city, municipality, county, district or postal area ('Stockholm', 'Göteborg', 'Malmö', 'Uppsala kommun', 'Vasastan'). Free text is resolved to Hemnet's location id automatically; pass a numeric Hemnet location_id directly to skip resolution.
home_typeoptionalProperty type — one or several comma-separated: villa (house), radhus (townhouse), bostadsratt (apartment/condo), fritidshus (holiday home), tomt (plot/land), gard (farm). e.g. 'villa,radhus'.
sort = newestoptionalnewest · oldest · price_low · price_high · size_high · size_low · ppm2_low · ppm2_high · fee_lowResult ordering.
page = 1optional1–Result page (50 listings per page; paginate with page += 1). Hemnet caps the viewable window at 50 pages / 2500 results.
price_minoptional0–Minimum asking price in SEK.
price_maxoptional0–Maximum asking price in SEK.
rooms_minoptional1–20Minimum number of rooms.
rooms_maxoptional1–20Maximum number of rooms.
living_area_minoptional0–Minimum living area in square metres (m²).
living_area_maxoptional0–Maximum living area in square metres (m²).
land_area_minoptional0–Minimum plot / land area in square metres (m²).
land_area_maxoptional0–Maximum plot / land area in square metres (m²).
price_per_m2_minoptional0–Minimum price per square metre (SEK/m²).
price_per_m2_maxoptional0–Maximum price per square metre (SEK/m²).
year_minoptional1700–2035Earliest construction year.
year_maxoptional1700–2035Latest construction year.
keywordsoptionalFree-text listing keyword filter ('pool', 'sjöutsikt', 'kakelugn', 'balkong').
Try in playground →
post/hemnet/v1/detail1 credit

Full record for a single listing by its Hemnet listing URL, slug or id (hemnet.se/bostad/<slug>). Returns asking price, fee, rooms, living & plot area, construction year, energy class, tenure, the full description, every photo, amenities, days-on-market, view count and any sale history.

ParameterAllowed / rangeDescription
urlrequiredA Hemnet listing URL, /bostad/<slug> path or slug — the `url` from a search result. A full https URL, the path or the bare slug all work.
Try in playground →
post/hemnet/v1/locationfree

Location resolver / autocomplete — map a free-text Swedish place name to Hemnet locations (city, municipality, county, district, postal area) with their ids. Use it to power a search box or to confirm the exact location a search will use.

ParameterAllowed / rangeDescription
queryrequiredFree-text Swedish place to resolve — a city, municipality, county or district ('Göteborg', 'Vasastan', 'Lund').
limit = 10optional1–40Max suggestions to return (1-40).
Try in playground →