Real estate API

Redfin Listings API

Send the address of a Redfin city, ZIP code, county or neighborhood page and get its homes back as JSON: the ones for sale now, or the ones sold in the last 90 days, each with its price, size and location.

  • 100 free credits
  • No card needed
  • No scraper to build or maintain
curl "https://pipefetch.com/v1/realestate/listings?location=https%3A%2F%2Fwww.redfin.com%2Fcity%2F30818%2FTX%2FAustin" \
  -H "x-api-key: YOUR_API_KEY"
The response

What you get

  • Up to 20 homes per request: the ones for sale now, or confirmed sales of the last 90 days
  • Price, price per square foot, beds, baths, floor area, lot size and year built
  • Street address, city, state, ZIP code, Redfin's neighborhood label and coordinates
  • Property type, listing status, the source of the listing with its MLS number, and a link to the home on Redfin
  • For a sold home, its sale price and the day of the sale
  • A summary of the homes returned: median, lowest and highest price, median price per square foot, median floor area and median days on market
200 OK · application/json
{
  "data": {
    "market": {
      "url": "https://www.redfin.com/city/30818/TX/Austin",
      "type": "for-sale",
      "listingCount": 20,
      "truncated": true,
      "medianPrice": 519900,
      "minPrice": 225000,
      "maxPrice": 3950000,
      "medianPricePerSqft": 340,
      "medianSquareFeet": 1997,
      "medianDaysOnMarket": 9,
      "unconfirmedSaleCount": 0
    },
    "listings": [
      {
        "url": "https://www.redfin.com/TX/Austin/6901-Shadywood-Dr-78745/home/31768331",
        "address": "6901 Shadywood Dr",
        "city": "Austin",
        "state": "TX",
        "zipCode": "78745",
        "neighborhood": "Dittmar-Slaughter",
        "latitude": 30.1930666,
        "longitude": -97.7853056,
        "propertyType": "Single Family Residential",
        "saleType": "MLS Listing",
        "status": "Pre On-Market",
        "isSold": false,
        "soldDate": null,
        "price": 392000,
        "pricePerSqft": 269,
        "beds": 3,
        "baths": 2,
        "squareFeet": 1455,
        "lotSizeSqft": 8093,
        "yearBuilt": 1977,
        "daysOnMarket": null,
        "hoaMonthly": null,
        "mlsNumber": "2241689628365979129",
        "source": "Compass International Holdings"
      },
      {
        "url": "https://www.redfin.com/TX/Austin/4805-Warbler-Dr-78723/home/207042725",
        "address": "4805 Warbler Dr",
        "city": "Austin",
        "state": "TX",
        "zipCode": "78723",
        "neighborhood": "MLK",
        "latitude": 30.2927295,
        "longitude": -97.6797141,
        "propertyType": "Condo/Co-op",
        "saleType": "MLS Listing",
        "status": "Pre On-Market",
        "isSold": false,
        "soldDate": null,
        "price": 645000,
        "pricePerSqft": 322,
        "beds": 3,
        "baths": 3,
        "squareFeet": 2006,
        "lotSizeSqft": null,
        "yearBuilt": 2019,
        "daysOnMarket": null,
        "hoaMonthly": null,
        "mlsNumber": "2241585585333694105",
        "source": "Compass International Holdings"
      }
    ]
  },
  "credits": {
    "used": 1,
    "remaining": 99
  }
}
Reference

One GET request

Everything the endpoint accepts. The full reference, with the complete example response, is in the docs.

GET/v1/realestate/listings

Costs 1 credit per request. Only requests that return data are charged.

Parameters

NameTypeDescription
locationrequired string The address of a location page on redfin.com: a city (https://www.redfin.com/city/30818/TX/Austin), a ZIP code (https://www.redfin.com/zipcode/78704), a county or a neighborhood. Search for the place on redfin.com and copy the address from the browser. Filters in the address are ignored.
typeoptional string Which homes to return: for-sale is what is on the market now, sold is what was sold in the last 90 days, with sale price and date. One of: for-sale, sold. Default: for-sale.
limitoptional integer How many homes to return. Default: 20. From 1 to 20.

Good to know

  • The data is read from Redfin (redfin.com) at the moment of the request and covers the United States only. location is the address of a Redfin city, ZIP code, county or neighborhood page; a place name on its own, the page of a single home and a saved search are not accepted.
  • One request returns up to 20 homes, with no further pages and no filters. market.truncated is true when the answer stopped at the limit, so the place can have more homes. A city page on Redfin can include homes from neighboring towns: every home carries its own city.
  • type=sold returns homes sold in the last 90 days that Redfin confirms as sold, each with its sale price in price and the day of the sale in soldDate. Records Redfin lists without a sale date or price are left out and counted in market.unconfirmedSaleCount.
  • market holds the medians and the price range of the homes in the answer, not of every home in the place. A value Redfin does not give for a home, such as an undisclosed price or address, is null, and that home is left out of the median concerned.
  • A place where Redfin lists no homes of the type asked for answers 404 no_results and costs nothing. So does an address Redfin has no page for, which answers 404 location_not_found.

Open the reference

Use cases

What people build with it

  • Pull recent sales

    Ask for type=sold on a ZIP code page and get confirmed sales with price, price per square foot, size and sale date.

  • Watch what is listed

    Call the endpoint on a schedule for the same place and store the homes and their prices to see what comes on the market.

  • Homes in an app or a report

    Show the homes of an area with price, size, coordinates and a link to each one on Redfin.

  • Housing data for AI agents

    An agent that researches an area gets its current listings or its recent sales in one tool call.

Pricing

Buy credits once. Use them whenever.

This endpoint costs 1 credit per request, and a request that returns no data costs nothing. Move the slider to see what your volume costs.

5,000credits a month
5005,00050,000250,000
5,000requests at 1 credit

A request costs 1 credit. Requests that return nothing are free.

Best fit
Builder pack
12,000 credits, one-time payment
$29once
  • $2.42 per 1,000 credits
  • About $12.08 a month at this pace
  • Lasts about 2.4 months at this pace
  • Credits never expire
Start with 100 free credits

See all packs and what a credit buys

FAQ

Questions and answers

Is this the official Redfin API?

No. Pipefetch is an independent service and is not affiliated with Redfin. It returns what Redfin publishes for a location on its public website, read at the moment of your request.

Which places does it cover?

The United States. The data is read from redfin.com and from nowhere else, so a place has homes here when Redfin lists homes for it. Other countries are not covered.

How do I name the place?

With the address of its page on Redfin. Search for a city, a ZIP code, a county or a neighborhood on redfin.com and copy the address from your browser, for example https://www.redfin.com/city/30818/TX/Austin or https://www.redfin.com/zipcode/78704. A place name on its own, the page of a single home and a saved search are not accepted, and filters in the address are ignored.

How many homes does one request return?

Up to 20; the default is 20. There are no further pages and no filters for price, size or property type. market.truncated is true when the answer stopped at your limit, which means the place can have more homes. A place where Redfin lists no homes of the type you asked for answers 404 no_results and costs nothing.

What do I get for sold homes?

With type=sold you get homes sold in the last 90 days that Redfin confirms as sold, each with its sale price and the day of the sale. Records Redfin lists without a sale date or price are left out, and market.unconfirmedSaleCount says how many there were.

What does the market summary cover?

The homes in the answer, not every home in the place: the median, lowest and highest price, the median price per square foot, the median floor area and the median days on market. A home whose price Redfin does not disclose has a null price and is left out of the price figures. A city page on Redfin can include homes from neighboring towns, and the city of each home says where it is.

What does a request cost?

One request costs 1 credit. Credit packs start at $9 for 3,000 credits, never expire, and a request that returns no data is not charged. New accounts get 100 free credits without a card.

Guides

Step-by-step guides

Also on the same key

Other sources

Make your first request in a minute

Sign in, copy your key and call an endpoint. Your account starts with 100 free credits.