Zoopla Scraper avatar
Zoopla Scraper
Try for free

3 days trial then $30.00/month - No credit card required now

View all Actors
Zoopla Scraper

Zoopla Scraper

epctex/zoopla-scraper
Try for free

3 days trial then $30.00/month - No credit card required now

Get extensive information from zoopla.co.uk for data on millions of properties. Scrape real estate opportunities, titles, prices, descriptions, amenities, images, features, nearby points of interest, and many more attributes in seconds. Specify any search term you want and use it with no limits.

The code examples below show how to run the Actor and get its results. To run the code, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token, which you can find under Settings > Integrations in Apify Console. Learn more

1import { ApifyClient } from 'apify-client';
2
3// Initialize the ApifyClient with your Apify API token
4const client = new ApifyClient({
5    token: '<YOUR_API_TOKEN>',
6});
7
8// Prepare Actor input
9const input = {
10    "startUrls": [
11        "https://www.zoopla.co.uk/overseas/details/64410387/",
12        "https://www.zoopla.co.uk/new-homes/details/64410305/",
13        "https://www.zoopla.co.uk/to-rent/details/64411515/",
14        "https://www.zoopla.co.uk/for-sale/details/62414617/",
15        "https://www.zoopla.co.uk/for-sale/property/oxford/?q=oxford&results_sort=newest_listings&search_source=for-sale",
16        "https://www.zoopla.co.uk/to-rent/property/oxford/",
17        "https://www.zoopla.co.uk/new-homes/property/oxfordshire"
18    ],
19    "maxItems": 20,
20    "endPage": 1,
21    "extendOutputFunction": ($) => { return {} },
22    "customMapFunction": (object) => { return {...object} },
23    "proxy": {
24        "useApifyProxy": true
25    }
26};
27
28(async () => {
29    // Run the Actor and wait for it to finish
30    const run = await client.actor("epctex/zoopla-scraper").call(input);
31
32    // Fetch and print Actor results from the run's dataset (if any)
33    console.log('Results from dataset');
34    console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
35    const { items } = await client.dataset(run.defaultDatasetId).listItems();
36    items.forEach((item) => {
37        console.dir(item);
38    });
39})();
40
41// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs
Developer
Maintained by Community
Actor metrics
  • 2 monthly users
  • 1 star
  • 100.0% runs succeeded
  • Created in Apr 2023
  • Modified 13 minutes ago