Fetch information regarding properties that were sold in recent days
POST/map-layer/sold-information
Sold Information Endpoint
Overview
This API fetches the sold information within a for a specific area. The area is defined as a circle by providing a point and radius. You can also set for last how many days do you want the information for.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
point | object | Yes | An object defining the geographic point with coordinates and type. The coordinates should be an array in [longitude, latitude] format, and type should be "Point". Example: { "coordinates": [10.7522, 59.9139], "type": "Point" }. |
radius | integer or float | Yes | The radius around the specified point within which to search for sold properties. The value is typically in kilometers. Example: 1 (for 1 km). |
days | integer | Yes | The number of days back from the current date to include in the search. Example: 90 (for the last 90 days). |
Headers
| Header | Value |
|---|---|
accept | application/json |
api-key | YOUR_API_KEY |
Example Request
curl -X 'POST' \
'https://apis.propcloud.no/api/public/map-layer/sold-information' \
-H 'accept: application/json' \
-H 'api-key: YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"point": {
"coordinates": [
10.7522,
59.9139
],
"type": "Point"
},
"radius": 1,
"days": 90
}'
Request
Responses
- 200
- 422
Successful Response
Validation Error