![Century 21 Real Estate Scraper (US) avatar](https://images.apifyusercontent.com/9BIZ7rdO39rsO2pRYwB70wLdtUtwuCeEgjcJ1AwFMrw/rs:fill:92:92/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMudXMtZWFzdC0xLmFtYXpvbmF3cy5jb20vNXFNYlhNemNqYUY0TWhiMjYvc3BkeHJPRTRvSXhIcWM1WVotaW1hZ2VzXyUyODElMjkuanBlZw.webp)
Century 21 Real Estate Scraper (US)
DeprecatedView all Actors![Century 21 Real Estate Scraper (US)](https://images.apifyusercontent.com/9BIZ7rdO39rsO2pRYwB70wLdtUtwuCeEgjcJ1AwFMrw/rs:fill:92:92/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMudXMtZWFzdC0xLmFtYXpvbmF3cy5jb20vNXFNYlhNemNqYUY0TWhiMjYvc3BkeHJPRTRvSXhIcWM1WVotaW1hZ2VzXyUyODElMjkuanBlZw.webp)
This Actor is deprecated
This Actor is unavailable because the developer has decided to deprecate it. Would you like to try a similar Actor instead?
See alternative Actors![Century 21 Real Estate Scraper (US)](https://images.apifyusercontent.com/9BIZ7rdO39rsO2pRYwB70wLdtUtwuCeEgjcJ1AwFMrw/rs:fill:92:92/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMudXMtZWFzdC0xLmFtYXpvbmF3cy5jb20vNXFNYlhNemNqYUY0TWhiMjYvc3BkeHJPRTRvSXhIcWM1WVotaW1hZ2VzXyUyODElMjkuanBlZw.webp)
Century 21 Real Estate Scraper (US)
mikhail.koviazin/century-21-real-estate-scraper-us
Scrape and download thousands of real estate property listings on Century 21 (US website). Supports search and particular properties URL lists. Extract Century 21 real estate property listings for entire state in 20 minutes. Download the data as HTML table, JSON, CSV, Excel, XML and RSS feed.
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 {
12 "url": "https://www.century21.com/real-estate/miami-fl/LCFLMIAMI/?be=6&pr=%7C1000000&ba=4"
13 },
14 {
15 "url": "https://www.century21.com/real-estate/miami-fl/LCFLMIAMI/?pdp=C2183797907"
16 },
17 {
18 "url": "https://www.century21.com/property/15213-sw-118th-ter-miami-fl-33196-C2183797907"
19 }
20 ],
21 "proxy": {
22 "useApifyProxy": true
23 }
24};
25
26(async () => {
27 // Run the Actor and wait for it to finish
28 const run = await client.actor("mikhail.koviazin/century-21-real-estate-scraper-us").call(input);
29
30 // Fetch and print Actor results from the run's dataset (if any)
31 console.log('Results from dataset');
32 console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
33 const { items } = await client.dataset(run.defaultDatasetId).listItems();
34 items.forEach((item) => {
35 console.dir(item);
36 });
37})();
38
39// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs
Developer
Maintained by Community
Categories