Zillow Search Scraper API Javascript integration
Install dependency
npm i webcrawlerapi-js
How to get an access key?
Read Docs Access Key section to obtain a key.
Usage
import webcrawlerapi from \"webcrawlerapi-js\";
async function main() {
const client = new webcrawlerapi.WebcrawlerClient(
\"YOUR API KEY HERE\"
)
const response = await client.scrape({
input: {
"query": "Dallas, TX",
"type": "buy",
"price_min": "0",
"price_max": "1000000",
"beds_min": "0",
"beds_max": "100",
"sqft_min": "1",
"sqft_max": "2000",
"beds_min": "0",
"beds_max": "3",
"property_type": "houses",
"days_on_zillow": "30",
"sort": "days",
},
crawler_id: "webcrawler/zillow-search",
})
console.log(response)
}
main().catch(console.error);