Redfin Listing Search API (Async)
Scrape Redfin property search results into structured JSON/CSV using ScraperAPI async in Ruby. Supports search page URLs, country targeting, and domain selection.
This endpoint will return the search results from a listing search page and transform it into usable JSON.
Single Query Request:
require 'net/http'
require 'json'
require 'uri'
uri = URI('https://async.scraperapi.com/structured/redfin/search')
request = Net::HTTP::Post.new(uri, 'Content-Type' => 'application/json')
request.body = {
apiKey: 'API_KEY',
url: 'URL',
country_code: 'COUNTRY_CODE',
tld: 'TLD',
callback: {
type: 'webhook',
url: 'YYYYY'
}
}.to_json
begin
response = Net::HTTP.start(uri.hostname, uri.port, use_ssl: true) do |http|
http.request(request)
end
puts response.body
rescue => e
puts "Error: #{e.message}"
endMultiple Query Request:
Parameters
Details
API_KEY (required)
User's API Key.
URL (required)
The URL of the Redfin search page. The URL has to be a Redfin Search page.
country_code
Allows you to geotarget the request. Use this parameter if you want Redfin to be scraped from a specific country.
TLD
Sample Response
For single query requests:
For multiple query requests:
Last updated
Was this helpful?

