Redfin listings
Homes for sale or recently sold in a US city, ZIP code, county or neighborhood, read from Redfin, with median prices.
Try it in the dashboard 100 free credits when you sign up, no card.
GET/v1/realestate/listings
Costs 1 credit per request. Only requests that return data are charged.
Parameters
| Name | Type | Description |
|---|---|---|
locationrequired |
string | The address of a location page on redfin.com: a city (https://www.redfin.com/city/30818/TX/Austin), a ZIP code (https://www.redfin.com/zipcode/78704), a county or a neighborhood. Search for the place on redfin.com and copy the address from the browser. Filters in the address are ignored. |
typeoptional |
string | Which homes to return: for-sale is what is on the market now, sold is what was sold in the last 90 days, with sale price and date. One of: for-sale, sold. Default: for-sale. |
limitoptional |
integer | How many homes to return. Default: 20. From 1 to 20. |
Example request
curl "https://pipefetch.com/v1/realestate/listings?location=https%3A%2F%2Fwww.redfin.com%2Fcity%2F30818%2FTX%2FAustin" \
-H "x-api-key: YOUR_API_KEY"const res = await fetch('https://pipefetch.com/v1/realestate/listings?location=https%3A%2F%2Fwww.redfin.com%2Fcity%2F30818%2FTX%2FAustin', {
headers: { 'x-api-key': process.env.PIPEFETCH_API_KEY },
});
const { data, credits } = await res.json();import os, requests
res = requests.get(
"https://pipefetch.com/v1/realestate/listings",
params={"location": "https://www.redfin.com/city/30818/TX/Austin"},
headers={"x-api-key": os.environ["PIPEFETCH_API_KEY"]},
)
data = res.json()["data"]Example response
A real answer to the request above. Long texts and lists are shortened here, and the people who wrote comments, reviews or posts are replaced by a stand-in.
{
"data": {
"market": {
"url": "https://www.redfin.com/city/30818/TX/Austin",
"type": "for-sale",
"listingCount": 20,
"truncated": true,
"medianPrice": 519900,
"minPrice": 225000,
"maxPrice": 3950000,
"medianPricePerSqft": 340,
"medianSquareFeet": 1997,
"medianDaysOnMarket": 9,
"unconfirmedSaleCount": 0
},
"listings": [
{
"url": "https://www.redfin.com/TX/Austin/6901-Shadywood-Dr-78745/home/31768331",
"address": "6901 Shadywood Dr",
"city": "Austin",
"state": "TX",
"zipCode": "78745",
"neighborhood": "Dittmar-Slaughter",
"latitude": 30.1930666,
"longitude": -97.7853056,
"propertyType": "Single Family Residential",
"saleType": "MLS Listing",
"status": "Pre On-Market",
"isSold": false,
"soldDate": null,
"price": 392000,
"pricePerSqft": 269,
"beds": 3,
"baths": 2,
"squareFeet": 1455,
"lotSizeSqft": 8093,
"yearBuilt": 1977,
"daysOnMarket": null,
"hoaMonthly": null,
"mlsNumber": "2241689628365979129",
"source": "Compass International Holdings"
},
{
"url": "https://www.redfin.com/TX/Austin/4805-Warbler-Dr-78723/home/207042725",
"address": "4805 Warbler Dr",
"city": "Austin",
"state": "TX",
"zipCode": "78723",
"neighborhood": "MLK",
"latitude": 30.2927295,
"longitude": -97.6797141,
"propertyType": "Condo/Co-op",
"saleType": "MLS Listing",
"status": "Pre On-Market",
"isSold": false,
"soldDate": null,
"price": 645000,
"pricePerSqft": 322,
"beds": 3,
"baths": 3,
"squareFeet": 2006,
"lotSizeSqft": null,
"yearBuilt": 2019,
"daysOnMarket": null,
"hoaMonthly": null,
"mlsNumber": "2241585585333694105",
"source": "Compass International Holdings"
}
]
},
"credits": {
"used": 1,
"remaining": 99
}
}Good to know
- The data is read from Redfin (redfin.com) at the moment of the request and covers the United States only. location is the address of a Redfin city, ZIP code, county or neighborhood page; a place name on its own, the page of a single home and a saved search are not accepted.
- One request returns up to 20 homes, with no further pages and no filters. market.truncated is true when the answer stopped at the limit, so the place can have more homes. A city page on Redfin can include homes from neighboring towns: every home carries its own city.
- type=sold returns homes sold in the last 90 days that Redfin confirms as sold, each with its sale price in price and the day of the sale in soldDate. Records Redfin lists without a sale date or price are left out and counted in market.unconfirmedSaleCount.
- market holds the medians and the price range of the homes in the answer, not of every home in the place. A value Redfin does not give for a home, such as an undisclosed price or address, is null, and that home is left out of the median concerned.
- A place where Redfin lists no homes of the type asked for answers 404 no_results and costs nothing. So does an address Redfin has no page for, which answers 404 location_not_found.
Errors
Every error has the same shape, and none of them is charged. The full list is in the error reference.
Looking for an overview and use cases? See the Redfin Listings API page.