Redfin

Overview

You can extract data from Redfin.com using Web Scraper API. All you have to do is provide a Redfin.com URL while submitting your job.

To retrieve data from Redfin.com:

  1. Make a POST request to the https://realtime.oxylabs.io/v1/queries endpoint.

  2. The JSON payload that you post should contain the "source": "universal" and "url": "https://some.redfin.url/" parameters.

Input

When submitting a job, you have to send your job parameters inside a JSON payload. See the example below for more details:

Query parameters

ParameterDescriptionValue examples

source

Data source. More info.

universal

url

Link to a Redfin.com page.

https://zillow.com/NY/New-York/some_listing_url

user_agent_type

Device type and browser. The full list can be found here.

desktop

geo_location

Geo-location of a proxy used to retrieve the data. The complete list of the supported locations can be found here.

United States

locale

Locale, as expected in the Accept-Language header.

en-US

render

html

- required parameter

Code examples

{
    "source":"universal",
    "url":"https://www.redfin.com/NY/New-York/464-W-44th-St-10036/home/180326158"
}

The example above uses the Realtime integration method. If you would like to use some other integration method in your query (e.g., Push-Pull or Proxy Endpoint), refer to the integration methods section.

Although we do not have a dedicated parser for Redfin, you can write your own parsing instructions with Custom Parser feature and get structured data.

Output

An example of a response that you can expect to get from the Realtime endpoint:

{
  "results": [
    {
      "content": "<html>
      REDFIN.COM PAGE CONTENT
      </html>"
      "created_at": "2019-10-01 00:00:01",
      "updated_at": "2019-10-01 00:00:15",
      "id": null,
      "page": 1,
      "url": "https://www.redfin.com/NY/New-York/464-W-44th-St-10036/home/180326158",
      "job_id": "12345678900987654321",
      "status_code": 200
    }
  ]
}

Last updated