Realtor Agents Scraper avatar
Realtor Agents Scraper

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

View all Actors
Realtor Agents Scraper

Realtor Agents Scraper

dhrumil/realtor-agents-scraper

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

Get valuable insight from realtor agents data. This scraper provides you complete database of all agents from realtor.com including agent contact details and statistics. You can scrape specific area of choice to analyze as well.

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 mode

Node.js

Python

curl

1import { ApifyClient } from 'apify-client';
2
3// Initialize the ApifyClient with API token
4const client = new ApifyClient({
5    token: '<YOUR_API_TOKEN>',
6});
7
8// Prepare Actor input
9const input = {
10    "listUrls": [
11        {
12            "url": "https://www.realtor.com/realestateagents/27872"
13        }
14    ],
15    "agentUrls": [
16        {
17            "url": "https://www.realtor.com/realestateagents/566f400b0fa41701007145a7"
18        }
19    ],
20    "threads": "2",
21    "proxy": {
22        "useApifyProxy": false
23    }
24};
25
26(async () => {
27    // Run the Actor and wait for it to finish
28    const run = await client.actor("dhrumil/realtor-agents-scraper").call(input);
29
30    // Fetch and print Actor results from the run's dataset (if any)
31    console.log('Results from dataset');
32    const { items } = await client.dataset(run.defaultDatasetId).listItems();
33    items.forEach((item) => {
34        console.dir(item);
35    });
36})();
Developer
Community logoMaintained by Community
Actor metrics
  • 2 monthly users
  • 100.0% runs succeeded
  • Modified about 2 months ago

You might also like these Actors