Skip to main content
POST
/
api
/
hemnet
/
properties
/
sold
/hemnet/properties/sold
curl --request POST \
  --url https://api.anysite.io/api/hemnet/properties/sold \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "location_ids": [
    "<string>"
  ],
  "count": 2,
  "timeout": 300,
  "housing_form_groups": [],
  "rooms_min": 1,
  "rooms_max": 1,
  "living_area_min": 1,
  "living_area_max": 1,
  "land_area_min": 1,
  "price_min": 1,
  "price_max": 1,
  "fee_min": 1,
  "fee_max": 1,
  "square_meter_price_min": 1,
  "square_meter_price_max": 1,
  "sort": "newest"
}
'
[
  {
    "id": "<string>",
    "@type": "@hemnet_sold_card",
    "listing_id": "<string>",
    "street_address": "<string>",
    "location_description": "<string>",
    "sold_at": "<string>",
    "sold_at_label": "<string>",
    "asking_price": "<string>",
    "final_price": "<string>",
    "price_change": "<string>",
    "fee": "<string>",
    "square_meter_price": "<string>",
    "rooms": "<string>",
    "living_area": "<string>",
    "land_area": "<string>",
    "housing_form": "<string>",
    "broker_name": "<string>",
    "broker_agency_name": "<string>",
    "coordinates": [],
    "labels": [],
    "url": "<string>"
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
location_ids
string[]
required

Hemnet numeric location ids to search in (resolve free text via hemnet/locations/search)

Minimum array length: 1
Example:
["17744"]
count
integer
required

Max number of results to return

Required range: x >= 1
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500
radius
enum<string> | null

Expand the search around the given locations by this radius

Available options:
1,
2,
5,
10,
15,
30,
50,
100
housing_form_groups
enum<string>[] | null

Restrict to these property types

Available options:
apartments,
houses,
townhouses,
vacation_homes,
plots,
farms,
other
rooms_min
number | null

Minimum number of rooms

Required range: x > 0
rooms_max
number | null

Maximum number of rooms

Required range: x > 0
living_area_min
integer | null

Minimum living area in m²

Required range: x > 0
living_area_max
integer | null

Maximum living area in m²

Required range: x > 0
land_area_min
integer | null

Minimum land area in m²

Required range: x > 0
price_min
integer | null

Minimum final price in SEK

Required range: x >= 0
price_max
integer | null

Maximum final price in SEK

Required range: x >= 0
fee_min
integer | null

Minimum monthly fee in SEK

Required range: x >= 0
fee_max
integer | null

Maximum monthly fee in SEK

Required range: x >= 0
square_meter_price_min
integer | null

Minimum price per m² in SEK

Required range: x >= 0
square_meter_price_max
integer | null

Maximum price per m² in SEK

Required range: x >= 0
sold_since
enum<string> | null

Only sales completed within this period

Available options:
1d,
7d,
1m,
3m,
1y,
2y
price_change
enum<string> | null

Filter by difference between asking and final price

Available options:
include,
only_changed,
only_decrease,
only_increase
sort
enum<string>
default:newest

Result ordering

Available options:
newest,
oldest,
lowest_price,
highest_price,
lowest_square_meter_price,
highest_square_meter_price,
largest_living_area,
smallest_living_area,
largest_land_area,
smallest_land_area,
most_rooms,
least_rooms,
largest_price_change,
smallest_price_change,
address_asc,
address_desc

Response

Successful Response

id
string
required
@type
string
default:@hemnet_sold_card
listing_id
string | null
street_address
string | null
location_description
string | null
sold_at
string | null
sold_at_label
string | null
asking_price
string | null
final_price
string | null
price_change
string | null
fee
string | null
square_meter_price
string | null
rooms
string | null
living_area
string | null
land_area
string | null
housing_form
string | null
broker_name
string | null
broker_agency_name
string | null
coordinates
number[]
labels
string[]
url
string | null