Search Redfin homes API
Redfin homes for sale or sold in a region or map box, with filters (up to 350).
GET /v1/redfin/searchBeta1 credit per callRefunded on failureimport os, requests
res = requests.get(
"https://api.groundsocial.dev/v1/redfin/search?location=78704",
headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()Response
200 · 1 credit{ "homes": [ { "propertyId": 31203978, "listingId": 228228624, "url": "/TX/Austin/1401-Kinney-Ave-78704/home/31203978", "price": { "value": 2450000, "level": 1 }, "beds": 4, "baths": 3.5, "sqFt": { "value": 3363, "level": 1 }, "city": "Austin", "state": "TX", "zip": "78704", "mlsStatus": "Active", "uiPropertyType": 1, "mlsId": { "label": "MLS#", "value": "7388941" }, "showMlsId": false, "showDatasourceLogo": false, "hideSalePrice": false, "hoa": { "level": 1 }, "isHoaFrequencyKnown": true, "pricePerSqFt": { "value": 729, "level": 1 }, "lotSize": { "value": 6359, "level": 1 }, "fullBaths": 3, "partialBaths": 1, "location": { "value": "Templer J W", "level": 1 }, "stories": 3, "…": "43 more fields" }, { "propertyId": 31176417, "listingId": 228368721, "url": "/TX/Austin/2525-S-Lamar-Blvd-78704/unit-302/home/31176417", "price": { "value": 475000, "level": 1 }, "beds": 2, "baths": 1, "sqFt": { "value": 942, "level": 1 }, "city": "Austin", "state": "TX", "zip": "78704", "mlsStatus": "Coming Soon", "uiPropertyType": 2, "mlsId": { "label": "MLS#", "value": "2245952178588426409" }, "showMlsId": false, "showDatasourceLogo": false, "hideSalePrice": false, "hoa": { "level": 1 }, "isHoaFrequencyKnown": true, "pricePerSqFt": { "value": 504, "level": 1 }, "lotSize": { "level": 1 }, "location": { "value": "Low Theodore Heights", "level": 1 }, "latLong": { "value": { "latitude": 30.2459322, "longitude": -97.7772561 }, "level": 1 }, "streetLine": { "value": "2525 S Lamar Blvd #302", "level": 1 }, "unitNumber": { "value": "#302", "level": 1 }, "…": "39 more fields" }, "… 98 more" ], "region": { "region_id": 34098, "region_type": 2 }, "searchMedian": { "price": 950000, "sqFt": 1736, "pricePerSqFt": 588, "dom": 23, "beds": 3, "baths": 2.5 }, "dataSources": []}Parameters
| Name | Type | Description |
|---|---|---|
urlquery | string | A Redfin search link. Example: https://www.redfin.com/city/30818/TX/Austin. |
locationquery | string | A ZIP code (or a Redfin search link). Example: 78704. |
region_idquery | integer | |
region_typequery | integer | 1 neighborhood, 2 ZIP code, 5 county, 6 city, 11 school district. |
map_boundsquery | string | A map box, west,south,east,north in degrees. |
statusquery | "for_sale" | "sold" | Default for_sale. One of for_sale, sold. |
sold_within_daysquery | integer | With status sold: how far back (default 90). |
property_typequery | string | Comma-separated: house, condo, townhouse, multi_family, land, other, manufactured, co_op. Default all. |
sortquery | "recommended" | "newest" | "price_asc" | "price_desc" | "sqft" | Default recommended. One of recommended, newest, price_asc, price_desc, sqft. |
price_minquery | integer | null | Minimum price, USD. |
price_maxquery | integer | null | Maximum price, USD. |
beds_minquery | integer | null | |
beds_maxquery | integer | null | |
baths_minquery | number | null | |
sqft_minquery | integer | null | Minimum living area, square feet. |
sqft_maxquery | integer | null | Maximum living area, square feet. |
limitquery | integer |
Response fields
200 with a RedfinSearchResponse, in Redfin’s own JSON.
| Field | Type | Description |
|---|---|---|
homes | RedfinHome[] | |
region | object | null | The Redfin region searched, or null for a map box search. |
searchMedian | object | null | Redfin’s medians for the search: price, sqFt, price per sqFt, beds, baths, DOM. |
dataSources | object[] | The MLSs the listings come from. |
Status codes
| Status | Meaning |
|---|---|
200 | Homes in the area. |
400 | Invalid input. Nothing was charged. |
401 | Missing or invalid API key. |
402 | Not enough credits, a spend cap was reached, or payment is required. |
403 | The target is private, or the account is suspended. |
404 | No Redfin property or ZIP code by that id. |
429 | Too many requests. Wait for Retry-After seconds. |
503 | Redfin is temporarily unavailable. Retryable; nothing was charged. |
Every error has code, message, hint and retryable. All error codes
Redfin is a trademark of its owner. We are not affiliated with or endorsed by it.