# Redfin Similar Homes

<p>Get the homes Redfin shows as similar to a property. Use type=listings (default) for similar homes for sale or type=solds for similar homes that sold recently. Each row is a full listing with price, beds, baths, size, lot, year built, status, location, brokers and sold date for sold homes. Up to about 18 homes are returned. The data is US only.</p><p><strong>Cost:</strong> 1 credit per successful request. Failed requests are not charged.</p>

- **Documentation:** [https://scrappa.co/docs/redfin-api/redfin_similar](https://scrappa.co/docs/redfin-api/redfin_similar)
- **API group:** Redfin API
- **Endpoint:** `GET https://scrappa.co/api/redfin/similar`

## Authentication

Send your Scrappa API key in the `X-API-KEY` request header. Paid endpoints also support accountless x402 payments when called without an API key.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `property_id` | string | Yes | <p>Redfin property ID from /api/redfin/search (property_id).</p> |
| `listing_id` | string | Yes | <p>Redfin listing ID from /api/redfin/search (listing_id).</p> |
| `type` | string | No | <p>listings (similar homes for sale, default) or solds (similar sold homes).</p> |

## Example response

```json
{
    "type": "listings",
    "count": 18,
    "properties": [
        {
            "beds": 3,
            "city": "Seattle",
            "sqft": 1224,
            "baths": 2.5,
            "price": 650000,
            "state": "WA",
            "address": "13715 Stone Ave N",
            "listing_id": 224899408,
            "property_id": 206737690
        }
    ],
    "property_id": 102610
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 400 | Invalid characters in parameter | The request contains null bytes or unsupported control characters. |
| 422 | The request validation failed | One or more Redfin request parameters failed validation. |
| 404 | Property not found | Property not found |
| 500 | Failed to fetch data from Redfin after multiple attempts. | The upstream service is temporarily unavailable. Please retry shortly. |

## More Scrappa resources

- [API documentation](https://scrappa.co/docs)
- [Full LLM-readable API reference](https://scrappa.co/llms-full.txt)
- [OpenAPI specification](https://scrappa.co/docs/api.json)
- [Pricing](https://scrappa.co/pricing)
