Skip to main content
POST
/
api
/
trulia
/
properties
/
search
/trulia/properties/search
curl --request POST \
  --url https://api.anysite.io/api/trulia/properties/search \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "location": "<string>",
  "count": 2,
  "timeout": 300,
  "deal_type": "for_sale",
  "price_min": 1,
  "price_max": 1,
  "beds_min": 5
}
'
[
  {
    "id": "<string>",
    "url": "<string>",
    "@type": "@trulia_search_property",
    "address": "<string>",
    "city": "<string>",
    "state": "<string>",
    "zip_code": "<string>",
    "latitude": 123,
    "longitude": 123,
    "is_active_for_sale": true,
    "is_active_for_rent": true,
    "is_foreclosure": true,
    "property_type": "<string>",
    "price": 123,
    "formatted_price": "<string>",
    "price_type": "<string>",
    "bedroom_count": 123,
    "bathroom_count": 123,
    "floor_space_sqft": 123,
    "lot_size": "<string>",
    "description": "<string>",
    "image": "<string>",
    "listing_agent": "<string>",
    "listing_broker": "<string>",
    "listed_at": "<string>",
    "tag": "<string>"
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
location
string
required

City and two-letter state, e.g. 'Austin, TX'

Minimum string length: 1
Example:

"Austin, TX"

count
integer
required

Max number of properties to return

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

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500
deal_type
enum<string>
default:for_sale

Listing deal type

Available options:
for_sale,
for_rent,
sold
home_type
enum<string> | null

Property type filter

Available options:
house,
condo,
townhome,
multi_family,
land
price_min
integer | null

Minimum price filter

Required range: x >= 0
price_max
integer | null

Maximum price filter

Required range: x >= 0
beds_min
integer | null

Minimum number of bedrooms

Required range: 0 <= x <= 10

Response

Successful Response

id
string
required
url
string
required
@type
string
default:@trulia_search_property
address
string | null
city
string | null
state
string | null
zip_code
string | null
latitude
number | null
longitude
number | null
is_active_for_sale
boolean | null
is_active_for_rent
boolean | null
is_foreclosure
boolean | null
property_type
string | null
price
number | null
formatted_price
string | null
price_type
string | null
bedroom_count
number | null
bathroom_count
number | null
floor_space_sqft
number | null
lot_size
string | null
description
string | null
image
string | null
listing_agent
string | null
listing_broker
string | null
listed_at
string | null
tag
string | null