---
title: "GET /v1/redfin/search"
description: "Redfin homes for sale or sold in a region or map box, with filters (up to 350)."
canonical_url: https://groundsocial.dev/docs/api/redfin-search-all
---
# GET /v1/redfin/search

> Redfin homes for sale or sold in a region or map box, with filters (up to 350).

> ## Agent Instructions
> The Groundsocial REST API is at https://api.groundsocial.dev (OpenAPI: https://groundsocial.dev/openapi.json). Set yourself up with https://groundsocial.dev/SKILL.md; the MCP server is https://api.groundsocial.dev/mcp. Every docs page is Markdown at its URL plus `.md`; the index is https://groundsocial.dev/llms.txt.

|  |  |
| --- | --- |
| Request | `GET /v1/redfin/search` |
| Operation id | `redfin.search.all` |
| Cost | 1 credit, refunded if the call fails |
| Auth | API key: `Authorization: Bearer <key>` or `x-api-key`. |

Redfin homes for sale or sold in a region or map box, with filters (up to 350).

## Query parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `url` | `string` | no | A Redfin search link. Example: `https://www.redfin.com/city/30818/TX/Austin`. |
| `location` | `string` | no | A ZIP code (or a Redfin search link). Example: `78704`. |
| `region_id` | `integer` | no |  |
| `region_type` | `integer` | no | 1 neighborhood, 2 ZIP code, 5 county, 6 city, 11 school district. |
| `map_bounds` | `string` | no | A map box, west,south,east,north in degrees. |
| `status` | `"for_sale" \| "sold"` | no | Default for_sale. One of `for_sale`, `sold`. |
| `sold_within_days` | `integer` | no | With status sold: how far back (default 90). |
| `property_type` | `string` | no | Comma-separated: house, condo, townhouse, multi_family, land, other, manufactured, co_op. Default all. |
| `sort` | `"recommended" \| "newest" \| "price_asc" \| "price_desc" \| "sqft"` | no | Default recommended. One of `recommended`, `newest`, `price_asc`, `price_desc`, `sqft`. |
| `price_min` | `integer \| null` | no | Minimum price, USD. |
| `price_max` | `integer \| null` | no | Maximum price, USD. |
| `beds_min` | `integer \| null` | no |  |
| `beds_max` | `integer \| null` | no |  |
| `baths_min` | `number \| null` | no |  |
| `sqft_min` | `integer \| null` | no | Minimum living area, square feet. |
| `sqft_max` | `integer \| null` | no | Maximum living area, square feet. |
| `limit` | `integer` | no |  |

## Responses

| Status | Meaning | Schema |
| --- | --- | --- |
| `200` | Homes in the area. | `RedfinSearchResponse` |
| `400` | Invalid input. Nothing was charged. | `Error` |
| `401` | Missing or invalid API key. | `Error` |
| `402` | Not enough credits, a spend cap was reached, or payment is required. | `Error` |
| `403` | The target is private, or the account is suspended. | `Error` |
| `404` | No Redfin property or ZIP code by that id. | `Error` |
| `429` | Too many requests. Wait for Retry-After seconds. | `Error` |
| `503` | Redfin is temporarily unavailable. Retryable; nothing was charged. | `Error` |

### RedfinSearchResponse fields

| 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. |

Errors use one shape everywhere; see [Errors](https://groundsocial.dev/docs/errors) for every code and what to do.

## Example

cURL:

```bash
curl "https://api.groundsocial.dev/v1/redfin/search" \
  -H "Authorization: Bearer $GROUNDSOCIAL_API_KEY"
```

TypeScript:

```ts
const res = await fetch('https://api.groundsocial.dev/v1/redfin/search', {
  headers: { Authorization: `Bearer ${process.env.GROUNDSOCIAL_API_KEY}` },
})
if (!res.ok) throw new Error((await res.json()).error.hint)
const data = await res.json()
```

Python:

```python
import os, requests

res = requests.get(
    "https://api.groundsocial.dev/v1/redfin/search",
    headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()
```

_Canonical HTML: https://groundsocial.dev/docs/api/redfin-search-all_

## Site Navigation

### Global Hub
- [Home](https://groundsocial.dev/index.md)
- [Pricing](https://groundsocial.dev/pricing.md)
- [Endpoints](https://groundsocial.dev/endpoints.md)
- [For agents](https://groundsocial.dev/agents.md)
- [Docs](https://groundsocial.dev/docs.md)
- [Compare](https://groundsocial.dev/compare.md)
- [Blog](https://groundsocial.dev/blog.md)
- [Tutorials](https://groundsocial.dev/tutorials.md)
- [Changelog](https://groundsocial.dev/changelog.md)
- [llms.txt](https://groundsocial.dev/llms.txt)
- [Agent skill](https://groundsocial.dev/SKILL.md)

### On This Topic
- [Groundsocial docs](https://groundsocial.dev/docs.md)
- [Quickstart](https://groundsocial.dev/docs/quickstart.md)
- [Authentication](https://groundsocial.dev/docs/authentication.md)
- [Credits and payments](https://groundsocial.dev/docs/payments.md)
- [Rate limits](https://groundsocial.dev/docs/rate-limits.md)
- [Errors](https://groundsocial.dev/docs/errors.md)
- [Data freshness and caching](https://groundsocial.dev/docs/freshness.md)
- [MCP server](https://groundsocial.dev/docs/mcp.md)
- [SKILL.md, llms.txt and Markdown twins](https://groundsocial.dev/docs/skill.md)
- [CLI](https://groundsocial.dev/docs/cli.md)
- [TypeScript SDK](https://groundsocial.dev/docs/sdk.md)
- [PRAW and snoowrap](https://groundsocial.dev/docs/praw.md)
- [Legal and compliance](https://groundsocial.dev/docs/compliance.md)
- [API reference](https://groundsocial.dev/docs/api.md)

## Structured data

```json
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://groundsocial.dev/"},{"@type":"ListItem","position":2,"name":"Docs","item":"https://groundsocial.dev/docs"},{"@type":"ListItem","position":3,"name":"API reference","item":"https://groundsocial.dev/docs/api"},{"@type":"ListItem","position":4,"name":"GET /v1/redfin/search","item":"https://groundsocial.dev/docs/api/redfin-search-all"}]}
```
