Get search card based on address, points, or polyline
Get search card based on address, points, or polyline
URL: | https://api.trademe.co.nz/v1/Property/Sold/Search.{file_format} |
---|---|
HTTP Method: | POST |
Requires Authentication? | Yes |
Permission Required: | None |
Supported Formats: | XML, JSON |
Rate Limited? | Yes |
URL parameters
file_format | Enumeration (required) | The format of the response. | ||||
---|---|---|---|---|---|---|
|
POST Data
<SoldSearchRequest>
Address | String (optional) |
Address to search for, either by input from Users or from the respond from AddressContract. Can be partial address, or fully formed address. Act as the center point of the Polyline |
|||||||
---|---|---|---|---|---|---|---|---|---|
Filter | String (optional) |
Required when making a request to /address/search. Refer to AddressContract's type_filter param. |
|||||||
Latitude | Number (optional) |
Center latitude of the search area Or minimum latitude when maxLatitude is provided |
|||||||
Longitude | Number (optional) |
Center longitude of the search area Or minimum longitude when maxLongitude is provided |
|||||||
Radius | Number (optional) |
Radius of the polyline when only center latitude and longitude is provided |
|||||||
Polylines | Collection of String (optional) |
The boundary which defines which Properties should be included in the search result. Returned by linz/boundary/point in base64 encoded format, so should be decoded before it can be used. |
|||||||
Limit | Integer (optional) |
Control the number of search result returned at a time |
|||||||
Page | Integer (optional) |
Controls the page number when querying to /map/cards |
|||||||
Sort | <Sort> (optional) |
The 'sort by' object that defines how the search result is sorted on. To be used when querying /map/cards. Examples: Not specified = Featured First order: date, direction: asc = Latest order: price, direction: asc = Highest price order: price, direction: desc = Lowest price |
|||||||
|
|||||||||
JustSold | Boolean (optional) |
An additional filter to only show Properties that are recently sold To be used as just_sold parameter when querying /map/cards. |
|||||||
OffMarket | Boolean (optional) |
An additional filter to include Properties that are not currently for sale. Default to true. To be used as off_market parameter when querying /map/cards. |
|||||||
DateMin | String (optional) |
An additional filter to include Properties with date value at least from this value |
|||||||
DateMax | String (optional) |
An additional filter to include Properties with date value at most from this value |
|||||||
ForSale | Boolean (optional) |
An additional filter to include Properties that are currently for sale. To be used as for_sale parameter when querying /map/cards. |
|||||||
ForRent | Boolean (optional) |
An additional filter to include Properties that not currently for rent. To be used as for_rent parameter when querying /map/cards. |
|||||||
MaxLatitude | Number (optional) |
MaxLatitude to be used in conjunction with Latitude to define a search area When MaxLatitude and MaxLongitude is specified, polyline will be generated to cover the area within the two coordinates. |
|||||||
MaxLongitude | Number (optional) |
MaxLongitude to be used in conjunction with Longitude to define a search area When MaxLatitude and MaxLongitude is specified, polyline will be generated to cover the area within the two coordinates. |
|||||||
RequestPolyline | Boolean (optional) |
When this variable is set to true, the respond will return the polyline used to make the Search |
Returns
<SoldSearchResponse>
A list of search cards from an area
Cards | Collection of <PropertyCard> or null |
Cards |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Hits | Integer |
Hits |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Error | String or null |
Error |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
SuburbEstimate | String or null |
Formatted price of the suburb’s estimate; E.g 960K, 1.01M |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
SuburbEstimateDate | String or null |
Last updated date for SuburbEstimate; E.g 2023-11-02T00:00:00Z |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
CapitalGrowth | String or null |
Calculated value that indicates the capital growth of the suburb, in percentage unit. The formula to calculate the value will be the same used in Homes. E.g 5.1% |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Polylines | Collection of String or null |
Specified the polylines that was used when searching. |