Realtor.com Filtering API

Our Realtor.com Filtering API allows you to filter Realtor.com search results with the same filters as Realtor.com: price, beds, baths, home_type, sqft, lot_size, and pets.

Ranges are a single number for a minimum (e.g. 3 for 3+ beds), two comma-separated numbers for a min/max range (e.g. 300000,600000), or a comma and a number for a maximum only (e.g. ,2000). Studios have 0 bedrooms. The options of home_type depend on status_type. pets only applies to rentals, and sqft and lot_size don't, like on Realtor.com.

The API endpoint is https://serpapi.com/search?engine=realtor

Head to the playground for a live and interactive demo.

API parameters

Advanced filters

price

Optional

Parameter defines the price range of the listings to show, in US dollars. Provide a single number for a minimum (e.g., 500000), or two comma-separated numbers for a min/max range (e.g., 500000,1500000). To set a maximum only, omit the first number (e.g., ,1500000). When status_type is rent, it filters by the monthly rent instead. Sold listings are filtered by their last list price, like on Realtor.com.

beds

Optional

Parameter defines the number of bedrooms. Provide a single number for a minimum (e.g., 2 for 2+ bedrooms), or two comma-separated numbers for a min/max range (e.g., 2,3). To set a maximum only, omit the first number (e.g., ,3). Studios have 0 bedrooms (e.g., 0,0 for studios).

baths

Optional

Parameter defines the number of bathrooms. Provide a single number for a minimum (e.g., 2 for 2+ bathrooms), or two comma-separated numbers for a min/max range (e.g., 1,2). To set a maximum only, omit the first number (e.g., ,2). Half bathrooms count as 0.5 (e.g., 1.5).

home_type

Optional

Parameter defines the types of homes to show. It's a comma-separated list of options (e.g., condos,townhomes). When not set, all home types are shown.

The available options depend on status_type.

Options when status_type is sale or sold:
single_family - House
condos - Condo
townhomes - Townhome
multi_family - Multi-family
mobile - Mobile
land - Land
farm - Farm
coop - Co-op
condop - Condop

Options when status_type is rent:
apartment - Apartment
single_family - Single family home
condos - Condo
townhomes - Townhome

sqft

Optional

Parameter defines the size range of the homes to show, in square feet. Provide a single number for a minimum (e.g., 1000), or two comma-separated numbers for a min/max range (e.g., 1000,2000). To set a maximum only, omit the first number (e.g., ,2000). It can't be used when status_type is rent.

lot_size

Optional

Parameter defines the lot size range of the homes to show, in square feet. Provide a single number for a minimum (e.g., 5000), or two comma-separated numbers for a min/max range (e.g., 3000,5000). To set a maximum only, omit the first number (e.g., ,5000). It can't be used when status_type is rent.

pets

Optional

Parameter defines the pets the rentals must allow. It's a comma-separated list of options (e.g., cats,dogs). It can only be used when status_type is rent.

Available options:
cats - Cats OK
dogs - Dogs OK

API examples

Example with price: 300000,600000, beds: 3, baths: 2, home_type: single_family and sqft: 1500,3000

Each filter is applied like its filter chip on Realtor.com.

Example with price: 300000,600000, beds: 3, baths: 2, home_type: single_family and sqft: 1500,3000

JSON Example

{
  ...
  "search_information": {
    "total_results": 1718
  },
  "organic_results": [
    {
      "property_id": "8102930727",
      "title": "1704 Shelbourne Dr, Austin, TX 78752",
      "link": "https://www.realtor.com/realestateandhomes-detail/1704-Shelbourne-Dr_Austin_TX_78752_M81029-30727",
      "serpapi_link": "https://serpapi.com/search.json?engine=realtor_property&property_id=8102930727",
      "status": "for_sale",
      "home_type": "single_family",
      "price": "$400,000",
      "extracted_price": 400000,
      "beds": 3,
      "baths": 2.0,
      "square_feet": 1556,
      "lot_area": {
        "value": 9561,
        "unit": "sqft"
      },
      "address": {
        "street": "1704 Shelbourne Dr",
        "city": "Austin",
        "state": "TX",
        "zipcode": "78752"
      },
      "gps_coordinates": {
        "latitude": 30.327864,
        "longitude": -97.683779
      },
      "broker_name": "eXp Realty, LLC",
      "thumbnail": "https://ap.rdcpix.com/d35f307687bd662693dfc1958f2a9e63l-m4003346858s.jpg",
      "images": [
        "https://ap.rdcpix.com/d35f307687bd662693dfc1958f2a9e63l-m4003346858s.jpg",
        "https://ap.rdcpix.com/d35f307687bd662693dfc1958f2a9e63l-m620270851s.jpg"
      ]
    },
    ...
  ],
  ...
}

Example with status_type: rent, home_type: apartment, beds: 1, price: ,2000 and pets: dogs

For rentals, price filters by the monthly rent. A building matches when one of its units matches, like on Realtor.com. Its price to max_price, beds to max_beds and square_feet to max_square_feet ranges cover all its units, while the cards of Realtor.com only show the units matching the beds filter.

Example with status_type: rent, home_type: apartment, beds: 1, price: ,2000 and pets: dogs

JSON Example

{
  ...
  "search_information": {
    "total_results": 1678
  },
  "organic_results": [
    {
      "property_id": "8067356334",
      "title": "7706 S Coles Ave, Chicago, IL 60649",
      "link": "https://www.realtor.com/rentals/details/7706-S-Coles-Ave_Chicago_IL_60649_M80673-56334",
      "serpapi_link": "https://serpapi.com/search.json?engine=realtor_property&property_id=8067356334",
      "status": "for_rent",
      "home_type": "apartment",
      "has_new_units": true,
      "price": "$745",
      "extracted_price": 745,
      "max_price": "$990",
      "extracted_max_price": 990,
      "beds": 0,
      "max_beds": 1,
      "baths": 1.0,
      "square_feet": 408,
      "max_square_feet": 650,
      "pets_allowed": [
        "cats",
        "dogs"
      ],
      "building_name": "7706 South Coles",
      "address": {
        "street": "7706 S Coles Ave",
        "city": "Chicago",
        "state": "IL",
        "zipcode": "60649"
      },
      "gps_coordinates": {
        "latitude": 41.755892,
        "longitude": -87.555055
      },
      "property_manager_name": "CYM Living LLC",
      "thumbnail": "https://ar.rdcpix.com/de9353163989ad63fc766c1c62a28b35c-f1567658010s.jpg",
      "images": [
        "https://ar.rdcpix.com/de9353163989ad63fc766c1c62a28b35c-f1567658010s.jpg",
        "https://ar.rdcpix.com/de9353163989ad63fc766c1c62a28b35c-f1748725228s.jpg"
      ]
    },
    ...
  ],
  ...
}

Example with status_type: sold, home_type: single_family and lot_size: 10000

lot_size is in square feet. Realtor.com shows lots of 10,000 square feet and more in acres, while lot_area is always in square feet.

Example with status_type: sold, home_type: single_family and lot_size: 10000

JSON Example

{
  ...
  "search_information": {
    "total_results": 8149
  },
  "organic_results": [
    {
      "property_id": "2994970238",
      "title": "3 Chimney Ln, Lagunitas, CA 94938",
      "link": "https://www.realtor.com/realestateandhomes-detail/3-Chimney-Ln_Lagunitas_CA_94938_M29949-70238",
      "serpapi_link": "https://serpapi.com/search.json?engine=realtor_property&property_id=2994970238",
      "status": "sold",
      "home_type": "single_family",
      "price": "$1,135,000",
      "extracted_price": 1135000,
      "beds": 4,
      "baths": 3.5,
      "square_feet": 2421,
      "lot_area": {
        "value": 33999,
        "unit": "sqft"
      },
      "address": {
        "street": "3 Chimney Ln",
        "city": "Lagunitas",
        "state": "CA",
        "zipcode": "94938"
      },
      "gps_coordinates": {
        "latitude": 38.008703,
        "longitude": -122.69856
      },
      "broker_name": "Corcoran Icon Properties",
      "thumbnail": "https://ap.rdcpix.com/1830a30357b66b8ae46c1f7ca3c51cefl-m464847950s.jpg"
    },
    ...
  ],
  ...
}

Example with status_type: rent and beds: 0,0

Studios have 0 bedrooms, so beds: 0,0 applies the Studio filter of Realtor.com. A building matches when one of its units is a studio, and its beds to max_beds range covers all its units.

Example with status_type: rent and beds: 0,0

JSON Example

{
  ...
  "search_information": {
    "total_results": 2184
  },
  "organic_results": [
    {
      "property_id": "9046719670",
      "title": "14725 94th Ave, Jamaica, NY 11435",
      "link": "https://www.realtor.com/rentals/details/14725-94th-Ave_Jamaica_NY_11435_M90467-19670",
      "serpapi_link": "https://serpapi.com/search.json?engine=realtor_property&property_id=9046719670",
      "status": "for_rent",
      "home_type": "apartment",
      "has_new_units": true,
      "has_rent_special": true,
      "price": "$2,140",
      "extracted_price": 2140,
      "max_price": "$2,825",
      "extracted_max_price": 2825,
      "beds": 0,
      "max_beds": 1,
      "baths": 1.0,
      "square_feet": 450,
      "max_square_feet": 600,
      "pets_allowed": [
        "cats",
        "dogs"
      ],
      "building_name": "Alvista Rise",
      "address": {
        "street": "14725 94th Ave",
        "city": "Jamaica",
        "state": "NY",
        "zipcode": "11435"
      },
      "gps_coordinates": {
        "latitude": 40.699436,
        "longitude": -73.806114
      },
      "property_manager_name": "Heller Organization",
      "thumbnail": "https://ar.rdcpix.com/aa7261d3fb67763d6e76fbb5ffdb7eb5c-f2085187498s.jpg",
      "images": [
        "https://ar.rdcpix.com/aa7261d3fb67763d6e76fbb5ffdb7eb5c-f2085187498s.jpg",
        "https://ar.rdcpix.com/aa7261d3fb67763d6e76fbb5ffdb7eb5c-f2049639162s.jpg"
      ]
    },
    ...
  ],
  ...
}