Email ✉️  & Phone ☎️ Extractor avatar
Email ✉️ & Phone ☎️ Extractor
Try for free

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

View all Actors
Email ✉️  & Phone ☎️ Extractor

Email ✉️ & Phone ☎️ Extractor

anchor/email-phone-extractor
Try for free

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

Extract emails, phone numbers, and other useful contact information from any list of websites you provide. Lets you specify URL patterns for your bot to follow. Export your data in structured formats and dominate your outreach game

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 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://apify.com/contact"
13        }
14    ],
15    "maxDepth": 2,
16    "maxRequests": 5,
17    "pseudoUrls": [
18        ".*"
19    ],
20    "proxyConfig": {
21        "useApifyProxy": true
22    }
23};
24
25(async () => {
26    // Run the Actor and wait for it to finish
27    const run = await client.actor("anchor/email-phone-extractor").call(input);
28
29    // Fetch and print Actor results from the run's dataset (if any)
30    console.log('Results from dataset');
31    const { items } = await client.dataset(run.defaultDatasetId).listItems();
32    items.forEach((item) => {
33        console.dir(item);
34    });
35})();
Developer
Maintained by Community
Actor metrics
  • 226 monthly users
  • 99.7% runs succeeded
  • 1.2 days response time
  • Created in Oct 2021
  • Modified about 1 month ago