1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "startUrls": [
10 "https://www.zillow.com/homedetails/17-Zelma-Dr-Greenville-SC-29617/11026031_zpid/",
11 "https://www.zillow.com/apartments/san-antonio-tx/westpond/5XkVjF/",
12 "https://www.zillow.com/b/Cashiers-NC/35.09787,-83.080475_ll/",
13 "https://www.zillow.com/community/greens-at-indian-river-preserve/2072679238_zpid/",
14 ],
15 "addresses": ["18 Zelma Dr, Greenville, SC 29617"],
16 "propertyStatus": "RECENTLY_SOLD",
17 "extractBuildingUnits": "disabled",
18 "proxyConfiguration": { "useApifyProxy": True },
19}
20
21
22run = client.actor("fastdataapi/zillow-detail-scraper").call(run_input=run_input)
23
24
25print(f"๐พ Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
26for item in client.dataset(run.default_dataset_id).iterate_items():
27 print(item)
28
29