redfin.search.listings
Listings search from Redfin Real Estate, as JSON.
At a glance
- Endpoint ID
redfin.search.listings- Price
- 1 credit per call; failed calls are free
- Runs for up to
- 45 seconds
Request
Send the endpoint ID as capability and its fields as input. Set UPSCRAPE_API_KEY to your key first.
curl --request POST \ --url https://data.upscrape.com/execute \ --header "Authorization: Bearer $UPSCRAPE_API_KEY" \ --header "Content-Type: application/json" \ --header "Prefer: wait=30" \ --data '{ "capability": "redfin.search.listings", "input": { "max_pages": 1, "page": 1, "query": "Seattle WA homes for sale", "region_id": 16163, "region_type": 6 }}'
import jsonimport osimport requestspayload = json.loads(r'''{ "capability": "redfin.search.listings", "input": { "max_pages": 1, "page": 1, "query": "Seattle WA homes for sale", "region_id": 16163, "region_type": 6 }}''')response = requests.post( "https://data.upscrape.com/execute", headers={ "Authorization": f"Bearer {os.environ['UPSCRAPE_API_KEY']}", "Content-Type": "application/json", "Prefer": "wait=30", }, json=payload,)response.raise_for_status()print(json.dumps(response.json(), indent=2))
const response = await fetch("https://data.upscrape.com/execute", { method: "POST", headers: { "Authorization": `Bearer ${process.env.UPSCRAPE_API_KEY}`, "Content-Type": "application/json", "Prefer": "wait=30", }, body: JSON.stringify({ "capability": "redfin.search.listings", "input": { "max_pages": 1, "page": 1, "query": "Seattle WA homes for sale", "region_id": 16163, "region_type": 6 }}),});if (!response.ok) { throw new Error(`Upscrape request failed: ${response.status}`);}console.log(JSON.stringify(await response.json(), null, 2));
Input
| Field | Type | Required | What it does | Example |
|---|---|---|---|---|
region_id |
integer | yes | Resolved Redfin region id (for example 16163 for Seattle, WA). Redfin's map-search route rejects a free-text location. At least 1. | 16163 |
max_pages |
integer | no | Maximum number of result pages to fetch. From 1 to 10. | 1 |
page |
integer | no | One-based result page to fetch. From 1 to 50. | 1 |
query |
string | no | Optional human label echoed back in the output. | Seattle WA homes for sale |
region_type |
integer | no | Redfin region type; 6 is a city. Defaults to 6. From 1 to 100. Default: 6. |
6 |
Response
A finished call answers with HTTP 200; the data is in results[0].data, and billing.credits_charged is what it cost. A call still running after the wait answers 202: see jobs and results.
This is results[0].data from a real run:
{ "end_page": 1, "has_more": true, "next_page": 2, "start_page": 1, "total_count": 2, "listings": [ { "title": "1120 8th Ave #1603", "price": 526500, "address": "1120 8th Ave #1603, Seattle, WA 98101", "area_sqft": 1050, "baths": 2, "beds": 2, "collected_at": "2026-10-14T05:00:00Z", "currency": "USD", "page": 1, "position": 1, "property_id": "14602", "status": "Active", "url": "https://www.redfin.com/WA/Seattle/1120-8th-Ave-98101/unit-1603/home/14602" }, { "title": "1624 N 46th St", "price": 1199950, "address": "1624 N 46th St, Seattle, WA 98103", "area_sqft": 2610, "baths": 2, "beds": 5, "collected_at": "2026-10-14T05:00:00Z", "currency": "USD", "page": 1, "position": 2, "property_id": "118803", "status": "Coming Soon", "url": "https://www.redfin.com/WA/Seattle/1624-N-46th-St-98103/home/118803" } ]}
Fields
| Field | Type | Example |
|---|---|---|
listings[].title |
string | 1120 8th Ave #1603 |
listings[].price |
integer | 526,500 |
listings[].address |
string | 1120 8th Ave #1603, Seattle, WA 98101 |
listings[].area_sqft |
integer | 1050 |
listings[].baths |
integer | 2 |
listings[].beds |
integer | 2 |
listings[].collected_at |
string | 2026-10-14T05:00:00Z |
listings[].currency |
string | USD |
listings[].page |
integer | 1 |
listings[].position |
integer | 1 |
listings[].property_id |
string | 14602 |
listings[].status |
string | Active |
listings[].url |
string | https://www.redfin.com/WA/Seattle/1120-8th-Ave-98101/unit-1603/… |
end_page |
integer | 1 |
has_more |
boolean | true |
listings |
array | 2 records |
next_page |
integer | 2 |
start_page |
integer | 1 |
total_count |
integer | 2 |
If a call fails
A failed call costs nothing. The response carries an error.code you can branch on; Errors and retries lists every code and which ones to retry.
Other Redfin Real Estate endpoints
Something missing or unclear? Ask the team that builds the Redfin Real Estate endpoints.