# Redfin Property ## Overview | Property | Value | |----------|-------| | **Status** | active | | **Method** | `GET` | | **Endpoint** | `/v2/redfin/property` | | **Base URL** | `https://api.piloterr.com` | | **Credit Cost** | 1 credit per call | | **Documentation** | https://www.piloterr.com/library/redfin-property | ## Description Read one for-sale Redfin home. Pass the url from search, which already includes the market id. The response is a flat listing, the same fields as one search result. ## Authentication - **Key Name:** `x-api-key` - **Location:** HTTP Header - **Get an API key:** https://app.piloterr.com/register ## Example Request ```bash curl --location --request GET 'https://api.piloterr.com/v2/redfin/property' \ --header 'Content-Type: application/json' \ --header 'x-api-key: YOUR_API_KEY' ``` ## Example Response ### 1120 8th Ave unit 1603, Seattle ```json { "hoa": 825, "url": "https://www.redfin.com/WA/Seattle/1120-8th-Ave-98101/unit-1603/home/14602?region_id=16163®ion_type=6", "zip": "98101", "beds": 2, "city": "Seattle", "sqft": 1050, "unit": "#1603", "baths": 2, "price": 526500, "state": "WA", "mls_id": "2573739", "status": "Active", "street": "1120 8th Ave #1603", "remarks": "Live in the heart of First Hill with convenience, comfort, and city access at your doorstep. This spacious, freshly painted, condo is filled with natural light! The expansive living area is anchored by a cozy fireplace and a wall of floor-to-ceiling windows that open to a private juliet balcony, providing views during the day, and sparkling city lights at night. The primary suite boasts a large closet and private bath, while the spacious second bedroom provides the flexibility of a guest room, home office, or both. Enjoy the added comfort of A/C and in-unit washer/dryer, and the convenience of an oversized parking space in a secure garage and an additional storage unit. Seneca 8 amenities i", "latitude": 47.6092374, "lot_size": null, "is_redfin": true, "key_facts": [ "Secure garage", "Cozy fireplace", "In-unit washer dryer" ], "longitude": -122.3293587, "agent_name": "Kiley Lazarus", "listing_id": 224286680, "open_house": null, "year_built": 1970, "broker_name": "Redfin", "has_3d_tour": true, "hoa_display": "$825", "photo_count": 30, "property_id": 14602, "listing_tags": [ "PRIVATE JULIET BALCONY", "COZY FIREPLACE", "FLOOR-TO-CEILING WINDOWS", "IN-UNIT WASHER DRYER", "OVERSIZED PARKING SPACE", "SECURE GARAGE" ], "neighborhood": "First Hill", "price_display": "$526,500", "property_type": "condo", "price_per_sqft": 501, "is_early_access": false, "has_virtual_tour": true, "price_per_sqft_display": "$501", "has_interactive_floorplan": false } ``` ## Documentation ## Overview Read one for-sale Redfin home from the same feed as search. The response is a flat object, not a list. Pass the `url` from a search result. That url already includes `region_id` and `region_type`. ## Quickstart Home url copied from search: ``` GET https://api.piloterr.com/v2/redfin/property?query=https://www.redfin.com/WA/Seattle/1120-8th-Ave-98101/unit-1603/home/14602?region_id=16163®ion_type=6 ``` The same home when the link has no market id. `region_id` 16163 is Seattle and `region_type` 6 is a city. ``` GET https://api.piloterr.com/v2/redfin/property?query=https://www.redfin.com/WA/Seattle/1120-8th-Ave-98101/unit-1603/home/14602®ion_id=16163®ion_type=6 ``` ## Parameters ### query Required string. A Redfin home link (`/home/{id}`). - Prefer the `url` field from `/v2/redfin/search`. It already has `region_id` and `region_type`, so the other two parameters can be omitted. - A city, neighborhood, or county link returns 400. - There is no default. ### region_id Optional integer. Required when `query` does not already include `region_id`. - `16163` is Seattle, `56947` is Capitol Hill, `118` is King County. - It chooses which for-sale feed is scanned. Field names in the JSON do not change. ### region_type Optional integer. Required together with `region_id` when the link has no `region_type`. - `6` city, `1` neighborhood, `5` county. - It must match the market used in search. The wrong type can return 404. ### return_page_source Optional boolean. Default `false`. `true` returns `{ "result": "" }` instead of the listing. ## Response fields The body is one listing. It uses the same fields as a search result: `property_id`, `listing_id`, `mls_id`, `url`, `status`, `price`, `price_display`, `beds`, `baths`, `sqft`, `price_per_sqft`, `price_per_sqft_display`, `hoa`, `hoa_display`, `lot_size`, `year_built`, `street`, `unit`, `city`, `state`, `zip`, `neighborhood`, `latitude`, `longitude`, `property_type`, `remarks`, `key_facts`, `listing_tags`, `agent_name`, `broker_name`, `is_redfin`, `is_early_access`, `has_virtual_tour`, `has_3d_tour`, `has_interactive_floorplan`, `open_house`, and `photo_count`. `price` is a number. `price_display` is that number rebuilt in dollars. There is no `results` array and no `pagination`. ## Notes The home must be in the for-sale pages checked for that market. If it is not found, the call returns 404. ## Use cases - Open the listing url from a search result - Refresh price and status for one known home in a known market ## Error codes | Code | Meaning | |---|---| | 400 | Missing home link, wrong host, city link, or missing market id | | 403 | Redfin returned a block page | | 404 | That home is not in the for-sale pages checked for this market | | 500 | The fetch failed |