# Contact scraper Extracts Email Phone Social Media from website (`giovannibiancia/website-actor`)

LeadFinder Scraper is a powerful lead generation tool designed to extract emails, phone numbers, and social media profiles from websites. Perfect for B2B and B2C businesses, market research, and seamless CRM data integration.

- **URL**: https://beta-securitybyobscurity.apify.com/giovannibiancia/website-actor.md
- **Developed by:** [Giovanni Bianciardi](https://beta-securitybyobscurity.apify.com/giovannibiancia) (community)
- **Categories:** Automation
- **Stats:** 313 total users, 8 monthly users, 100.0% runs succeeded, 7 bookmarks
- **User rating**: No ratings yet

## Pricing

$10.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

### Why Do You Need This Tool? 🤔

This scraper is an invaluable asset for your marketing and sales teams, whether you're in B2B or B2C.
It's perfect for startups building a client database or established businesses looking to expand their network.
Business analysts, marketers, and sales professionals all need a solid lead generation tool. Give this one a try - it's cost-effective, lightning-fast, and offers unlimited capabilities.

#### Key Benefits:

- 🔗 **Exhaustive**: Capture all emails, phone numbers, and social media profiles.
- 🚀 **Fast**: Industry-leading scraping speed ensures quick data collection.
- 🔧 **Integration**: Easily feed data into your CRM or other systems with our API.
- ☀️ **Intuitive**: Designed for users of all technical skill levels.
- 🔒 **Secure and Private**: Your data is safe and only accessible to you.
- 📊 **Flexible Output**: Export your data in CSV, JSON, HTML, or via API.
- ⚙️ **Advanced Options**: Customize your data extraction with advanced settings.

***

### What Does LeadFinder Elite Scraper Do? 🔍

This tool allows you to scrape any website for contact information, including emails, phone numbers, and social media profiles. Simply enter a URL, and our crawler will begin extracting the following details:

- **Emails** ✉️
- **Phone Numbers** ☎️
- **LinkedIn Profiles**
- **Twitter Profiles**
- **Instagram Profiles**
- **Facebook Profiles**
- **Github Profiles**
- **Snapchat Profiles**
- **Reddit Profiles**
- **Youtube Profiles**

***

### How Will the Results Look? 📊

You can download the results in formats such as JSON, HTML, CSV, XML, or Excel. For each page crawled, the following contact information is extracted:

#### Emails

- alice@example.com
- bob.newman@example.com
- carl+test@example.co.uk

#### Phone Numbers

These are extracted from phone links in HTML (e.g., `<a href='tel://123456789'>phone</a>`).

```
- 123456789
- +33652394840
- 00123456789
```

#### Uncertain Phone Numbers

These are extracted from the plain text of the web page using various regular expressions. Note that this approach can generate false positives.

```
- +123.456.7890
- 06 52 39 48 40
- 123-456-789
```

#### LinkedIn Profiles

```
- https://www.linkedin.com/in/alan-turing
- en.linkedin.com/in/alan-turing
- linkedin.com/in/alan-turing
```

#### Twitter Profiles

```
- https://www.twitter.com/apify
- twitter.com/apify
```

#### Instagram Profiles

```
- https://www.instagram.com/old_prague
- www.instagram.com/old_prague/
- instagr.am/old_prague
```

#### Facebook Profiles or Pages

```
- https://www.facebook.com/apifytech
- facebook.com/apifytech
- fb.com/apifytech
- https://www.facebook.com/profile.php?id=123456789
```

***

### Why Choose Our Scraper? 🤔

- **Time-Saving:** Automate the tedious process of data collection and focus on what matters most—analyzing and acting on the data.
- **Cost-Effective:** Get high-quality data at a fraction of the cost compared to manual data gathering methods.
- **Reliable Support:** Our dedicated support team is here to help you every step of the way, ensuring a smooth and efficient scraping experience.

#### Example Use Cases:

- **Lead Generation:** Identify and reach out to professionals for business opportunities.
- **Market Research:** Analyze trends and gather insights on various professions and locations.
- **Academic Research:** Collect data for research projects and publications.

### FAQ ❓

**1. What do I need to get started?**

- Simply provide the starting URLs and run the scraper. No special setup required!

**2. How do I receive the scraped data?**

- The data will be pushed to the Apify dataset, which you can easily download or integrate into your system.

**3. Can I scrape multiple URLs at once?**

- Yes! Our scraper efficiently handles multiple URLs, making large-scale data collection a breeze.

**4. What if I encounter issues?**

- Our support team is here to assist you with any problems or questions you may have.

Transform your data collection process with our LeadFinder Elite Scraper. Don't miss out on this opportunity to streamline your workflows and gain valuable insights. Purchase now and elevate your data game! 📈✨

***

*Disclaimer: This scraper is intended for ethical use only. Ensure compliance with the websites' terms of service and data privacy regulations in your region.*

# Actor input Schema

## `start_urls` (type: `array`):

URLs to start with

## `max_depth` (type: `integer`):

Depth to which to scrape to

## Actor input object example

```json
{
  "start_urls": [
    {
      "url": "https://www.castellolaleccia.com"
    },
    {
      "url": "https://www.casabianca.it"
    },
    {
      "url": "https://poderebellaria.it"
    },
    {
      "url": "https://poderefornaci.it"
    }
  ],
  "max_depth": 1
}
```

# 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 = {
    "start_urls": [
        {
            "url": "https://www.castellolaleccia.com"
        },
        {
            "url": "https://www.casabianca.it"
        },
        {
            "url": "https://poderebellaria.it"
        },
        {
            "url": "https://poderefornaci.it"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("giovannibiancia/website-actor").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 = { "start_urls": [
        { "url": "https://www.castellolaleccia.com" },
        { "url": "https://www.casabianca.it" },
        { "url": "https://poderebellaria.it" },
        { "url": "https://poderefornaci.it" },
    ] }

# Run the Actor and wait for it to finish
run = client.actor("giovannibiancia/website-actor").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 '{
  "start_urls": [
    {
      "url": "https://www.castellolaleccia.com"
    },
    {
      "url": "https://www.casabianca.it"
    },
    {
      "url": "https://poderebellaria.it"
    },
    {
      "url": "https://poderefornaci.it"
    }
  ]
}' |
apify call giovannibiancia/website-actor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=giovannibiancia/website-actor",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Contact scraper Extracts Email Phone Social Media from website",
        "description": "LeadFinder Scraper is a powerful lead generation tool designed to extract emails, phone numbers, and social media profiles from websites. Perfect for B2B and B2C businesses, market research, and seamless CRM data integration.",
        "version": "0.0",
        "x-build-id": "IMzQeCQI73XjsZOJl"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/giovannibiancia~website-actor/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-giovannibiancia-website-actor",
                "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/giovannibiancia~website-actor/runs": {
            "post": {
                "operationId": "runs-sync-giovannibiancia-website-actor",
                "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/giovannibiancia~website-actor/run-sync": {
            "post": {
                "operationId": "run-sync-giovannibiancia-website-actor",
                "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": [
                    "start_urls"
                ],
                "properties": {
                    "start_urls": {
                        "title": "Start URLs",
                        "type": "array",
                        "description": "URLs to start with",
                        "items": {
                            "type": "object",
                            "properties": {
                                "url": {
                                    "type": "string",
                                    "description": "URL to scrape",
                                    "editor": "string"
                                }
                            },
                            "required": [
                                "url"
                            ]
                        }
                    },
                    "max_depth": {
                        "title": "Maximum Depth",
                        "type": "integer",
                        "description": "Depth to which to scrape to",
                        "default": 1
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
