# Logic-Immo mass listings scraper (by ads URLs) (`azzouzana/logic-immo-mass-listings-scraper-by-items-urls`)

🔥 Très intuitive! Entrez les URLs des biens depuis logic-immo pour en obtenir les titres, descriptions, photos, addresses, prix, contact et plus encore ⚡
Extraire les biens depuis logic-immo rapidement avec les infos détaillées à faible coût, avec exportation en JSON, CSV, EXCEL..

- **URL**: https://beta-securitybyobscurity.apify.com/azzouzana/logic-immo-mass-listings-scraper-by-items-urls.md
- **Developed by:** [Azzouzana](https://beta-securitybyobscurity.apify.com/azzouzana) (community)
- **Categories:** Real estate, Lead generation, Automation
- **Stats:** 8 total users, 2 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

$20.00/month + usage

To use this Actor, you pay a monthly rental fee to the developer. The rent is subtracted from your prepaid usage every month after the free trial period.
You also pay for the Apify platform usage, which gets cheaper the higher Apify subscription plan you have.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#rental-actors

# README

## Version française

### 🤩 Vue d'ensemble

🚀 Notre scraper ultra-rapide pour les annonces immobilières de masse Logic-Immo vous permet d'extraire les informations des biens immobiliers et de les exporter dans différents formats (JSON, CSV, HTML, etc.) 🔥 Apportez vos URLs et c'est parti !
👉 Il vous permet de récupérer des détails riches tels que les titres, descriptions, photos, téléphones/emails, informations énergétiques, prix, informations de l'éditeur, téléphone, transports à proximité et bien plus encore.
Tout ce dont vous avez besoin ces sont les liens directs vers les annonces:

- Exemple:  `["https://www.logic-immo.com/detail-vente-228870667.htm"]`

### Vous avez besoin de scraper les résultats de la page de recherche?

Si vous n'avez pas des liens directs vers des biens et vous avez besoin de scraper les résultats de la page de recherche en uns seule fois et souhaitez en scraper les informations de manière structurée (JSON, Excel, XML, etc.), n'hésitez pas à consulter l'acteur [Logic-Immo mass listings scraper (by search URL) ⚡](https://apify.com/azzouzana/azzouzana/logic-immo-mass-listings-scraper-by-search-urls)

### ⚠️ Est-il légal de scraper logic-immo ?

Il est légal de scraper les données publiquement disponibles telles que les descriptions de biens immobiliers, les prix, les photos, les transports à proximité, etc. Lisez notre article de blog sur la [légalité du web scraping](https://blog.apify.com/is-web-scraping-legal/) pour en savoir plus.

### 🤔 Pourquoi scraper logic-immo ?

logic-immo est l'un des sites immobiliers les plus populaires en France. Avec des dizaines de milliers d'annonces, il y a forcément quelque chose pour vous !

Alors, que pourriez-vous faire avec toutes ces données sur les annonces immobilières ?

- Trouver des biens immobiliers à vendre à proximité
- Faire une analyse des données du marché
- Créer une liste d'emails d'agents immobiliers
- Collecter des données sur le logement pour la recherche ou des besoins personnels
- Comparer les données collectées avec un indice de valeur des maisons
- Utiliser les données pour une analyse globale du marché immobilier

Ce ne sont que quelques idées pour vous faire réfléchir à la manière dont le web scraping peut vous fournir les données dont vous avez besoin. Les possibilités sont infinies 🚀

### 🤑 Coût d'utilisation

Le coût moyen d'utilisation du ce scraper d'environ **0,01 $ pour chaque 1100 annonces immobilières scrappées**. Avec le crédit gratuit de $5 par mois d'Apify, vous pouvez scraper des milliers d'annonces immobilières gratuitement 🤩
Pour une meilleure performance, l'acteur utilise de manière transparente les proxies résidentiels d'Apify.

### 🛠️ Paramètres d'entrée:

| Champ | Type | Description | Valeur par défaut / Exemple |
| ----- | ---- | ----------- | ------------- |
| `startUrls` | `tableau` | les URLs directes des biens immobiliers que l'acteur va scraper. |  `["https://www.logic-immo.com/detail-vente-228870667.htm"]` |

### 🧐 Résultat

Les résultats sont stockés dans un jeu de données (ou "dataset" en jargon Apify). Chaque élément contient des informations d'une annonce:

#### Exemple de résultat:

Un exemple de résultat pourrait ressembler à la capture d'écran ci-dessous :

![screenshot](https://i.ibb.co/LJNFkyb/image.png)

& beaucoup d'autres informations que la capture d'écran ne montre pas, venez explorer!

### Mises à jour

L'acteur **Logic-Immo mass listings scraper (by items URLs)** est activement maintenu et régulièrement mis à jour.

### ⚠️ Clause de non-responsabilité

Cet acteur est un outil indépendant et n'est ni affilié, ni approuvé, ni sponsorisé par Digital Classifieds France SAS ou l'une de ses filiales. Toutes les marques déposées mentionnées sont la propriété de leurs propriétaires respectifs.

## English version

### 🤩 Features

🚀 Our blazing fast Logic Immo mass real estate items scraper lets you extract real estate items' information and export them to various format (JSON, CSV, HTML etc..) 🔥 Bring your URLs and you're good to go!

👉 It enables you to scrape rich details as title, descriptions, photos, location, energy information, contact, price, publisher information, transportation and a lot more.

The scraper has a required `startUrls` parameter which is an array containing direct URLs to real estate items:

- Example: `["https://www.logic-immo.com/detail-vente-228870667.htm"]`

### ⚠️ Is it legal to scrape logic-immo?

It is legal to scrape publicly available data such as real estate descriptions, prices, photos, nearby transportation etc. Read our blog post on [the legality of web scraping](https://blog.apify.com/is-web-scraping-legal/) to learn more.

### Do you need to scrape search results pages instead?

If you don’t have direct links to properties and need to scrape search page results all at once while wanting to gather information in a structured format (JSON, Excel, XML, etc.), feel free to check out [Logic-Immo mass listings scraper (by search URL) ⚡](https://apify.com/azzouzana/azzouzana/logic-immo-mass-listings-scraper-by-search-urls)

### 🤔 Why scrape logic-immo?

logic-immo is one of the most popular real estate websites in France, with hundreds of thousand of ads, there's definitely something for you out there!

So what could you do with all these ads?

- Find real estate for sale nearby
- Do market data analysis
- Build a real estate agent email list
- Collect housing data for research or personal purposes
- Compare collected data with home value index
- Use the data for overall real estate data analytics

These are just some ideas to get you thinking about how web scraping can give you the data you need. Sky is the limit 🚀

### 🤑 Cost of usage

The average cost of using this scraper is around **$0.01 for every 1100 real estate scraped**. With the $5 free monthly credit from apify, you can scrape thousands of real estate items for free 🤩
For a better performance, the actor transparently uses Apify residential proxies.

### 🛠️ Input

| Field | Type | Description | Default value / Example
| ----- | ---- | ----------- | -------------|
| `startUrls` | `array` | the direct URLs of the real estate items that the actor will scrape. | `["https://www.logic-immo.com/detail-vente-228870667.htm"]` |

### 🧐 Output

Output is stored in a dataset. Each item is information about a real estate item:

#### Sample output

An output might look like the below screenshot:

![screenshot](https://i.ibb.co/LJNFkyb/image.png)

& a lot more information  that the screenshot does not show, come & explore!

### Updates

The **Logic-Immo mass listings scraper (by items URLs)** actor is actively maintained and regularly updated.

### ⚠️ Disclaimer

This Actor is an independent tool and is not affiliated with, endorsed by, or sponsored by Digital Classifieds France SAS or any of its subsidiaries. All trademarks mentioned are the property of their respective owners.

# Actor input Schema

## `startUrls` (type: `array`):

URLs to start with.

## Actor input object example

```json
{
  "startUrls": [
    "https://www.logic-immo.com/detail-vente-2275555555262989.htm"
  ]
}
```

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "startUrls": [
        "https://www.logic-immo.com/detail-vente-2275555555262989.htm"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("azzouzana/logic-immo-mass-listings-scraper-by-items-urls").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "startUrls": ["https://www.logic-immo.com/detail-vente-2275555555262989.htm"] }

# Run the Actor and wait for it to finish
run = client.actor("azzouzana/logic-immo-mass-listings-scraper-by-items-urls").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "startUrls": [
    "https://www.logic-immo.com/detail-vente-2275555555262989.htm"
  ]
}' |
apify call azzouzana/logic-immo-mass-listings-scraper-by-items-urls --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=azzouzana/logic-immo-mass-listings-scraper-by-items-urls",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Logic-Immo mass listings scraper (by ads URLs)",
        "description": "🔥 Très intuitive! Entrez les URLs des biens depuis logic-immo pour en obtenir les titres, descriptions, photos, addresses, prix, contact et plus encore ⚡ \nExtraire les biens depuis logic-immo rapidement avec les infos détaillées à faible coût, avec exportation en JSON, CSV, EXCEL..",
        "version": "0.0",
        "x-build-id": "YVaTAYYdGjraPtwd6"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/azzouzana~logic-immo-mass-listings-scraper-by-items-urls/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-azzouzana-logic-immo-mass-listings-scraper-by-items-urls",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/azzouzana~logic-immo-mass-listings-scraper-by-items-urls/runs": {
            "post": {
                "operationId": "runs-sync-azzouzana-logic-immo-mass-listings-scraper-by-items-urls",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/azzouzana~logic-immo-mass-listings-scraper-by-items-urls/run-sync": {
            "post": {
                "operationId": "run-sync-azzouzana-logic-immo-mass-listings-scraper-by-items-urls",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "startUrls"
                ],
                "properties": {
                    "startUrls": {
                        "title": "Start URLs",
                        "type": "array",
                        "description": "URLs to start with.",
                        "items": {
                            "type": "string"
                        }
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
