Data enrichment active #contacts #enrichment #scraping #leads #python sdk

Website Contact Finder

Turn any public website into a structured business and lead profile with emails, phones, social profiles, provenance, visuals, and metadata.

Overview

The Website Contact Finder is a fast, powerful, and easy-to-use API that transforms any public website into a fully enriched business profile.

With a single request, it extracts:

  • Contact data: emails and phone numbers, formatted and raw
  • Social profiles: Facebook, Instagram, TikTok, LinkedIn, Twitter/X, YouTube, WhatsApp, Telegram, Pinterest, Reddit, GitHub, and more
  • Business intelligence: operating hours, geo-coordinates, addresses, ratings, and descriptions
  • Visual assets: logos, favicons, and Open Graph images

Unlike basic scrapers, the Website Contact Finder is a comprehensive lead enrichment engine. It delivers clean, deeply structured, and transparent data with source tracking, including occurrence counts and best source URLs, so you can judge the reliability of every data point yourself.

The v2.0 engine: from raw extraction to trusted data

The original version of this API was a basic extraction script. It successfully grabbed emails, phones, and social links, but it dumped them into an unordered list.

If a website had five different emails and three phone numbers, the user had no way to know which one was the primary contact.

The v2.0 engine was rebuilt around trust, not just extraction.

Instead of returning raw noise, it:

  • tracks exact occurrences for each field
  • validates the source page where the value was found
  • ranks contacts by reliability
  • returns structured provenance metadata
  • separates raw extraction from usable business profile data

You do not just get a list of strings. You get the most important, verified business contacts.

Why choose this API

  • Complete business profiles, not just emails
  • Transparent reliability with occurrences and best_source
  • Built for high-volume workflows
  • Useful for developers and non-developers
  • Saves time compared with maintaining fragile custom scrapers
  • Fair billing: you pay when valuable contact data is returned

Important input rule

Provide a standard website URL, for example:

https://example.com
https://example.com/contact

Do not send direct social media profile URLs such as:

https://linkedin.com/in/someone

The API is designed to crawl business websites and discover their social links. It is not designed to process social media platforms directly.

Getting started on RapidAPI

  1. Open the RapidAPI page for this API.
  2. Subscribe to the free plan.
  3. Copy your RapidAPI key.
  4. Use the endpoint with the required headers.

No credit card is required for the free plan.

If you get stuck, you can contact support with a screenshot of what you see and the exact endpoint or error you are trying to use.

Test without writing code

You can test the API directly in the RapidAPI playground:

  1. Go to the API Endpoints tab.
  2. Make sure you are subscribed.
  3. Select the websites endpoint.
  4. Enter a target URL such as:
https://www.example.com/
  1. Set:
contact=true
  1. Click Test Endpoint.

A full response is usually returned in a few seconds, depending on the target website.

Authentication

Use these headers:

x-rapidapi-host: website-contact-finder.p.rapidapi.com
X-RapidAPI-Key: YOUR_RAPIDAPI_KEY

Parameters

Parameter Type Required Description
url string yes Target website URL to enrich
contact boolean yes Must be true to return contact data
sources boolean no Include occurrence counts and best source URLs
profile boolean no Include company profile metadata
visuals boolean no Include logos, favicons, and Open Graph images
meta boolean no Include metadata such as privacy policy, terms, blog, careers, and pricing detection

Important usage notes

  • Both url and contact must be provided.
  • contact must be explicitly set to true.
  • sources, profile, visuals, and meta are optional toggles.
  • Unknown parameters are rejected so responses stay predictable.

Response highlights

A successful response can include:

  • domain
  • url
  • canonical_url
  • response_url
  • status_code
  • has_https
  • emails_num
  • phones_num
  • social_num
  • scraped_at
  • contact.emails
  • contact.phones
  • contact.original_phones
  • contact.social
  • contact.social_list
  • sources.emails
  • sources.phones
  • sources.social
  • profile.title
  • profile.site_name
  • profile.description
  • profile.ratings
  • profile.h1
  • profile.h2
  • profile.h3
  • addresses
  • visuals.logos
  • visuals.og_image
  • meta.has_privacy_policy
  • meta.has_terms
  • meta.has_accessibility
  • meta.has_blog
  • meta.has_careers
  • meta.has_pricing
  • meta.has_cookie_policy

Why the response data is useful

Most APIs return a raw list of emails.

This API returns a mapped business profile.

The most important part is provenance.

Example source shape:

{
  "value": "contact@example.com",
  "occurrences": 12,
  "best_source": "https://www.example.com/contact"
}

That tells you:

  • how many times the value appeared
  • which page provided the best evidence

This makes the data easier to trust, audit, and use in production pipelines.

Example response structure

This is a simplified structural preview:

{
  "domain": "example.com",
  "url": "https://www.example.com/",
  "canonical_url": "https://www.example.com/",
  "response_url": "https://example.com",
  "status_code": 200,
  "has_https": true,
  "emails_num": 1,
  "phones_num": 1,
  "social_num": 8,
  "scraped_at": "2026-01-01T00:00:00+00:00",
  "contact": {
    "emails": [
      "contact@example.com"
    ],
    "phones": [
      "5551234567"
    ],
    "original_phones": [
      "(555) 123-4567"
    ],
    "social": {
      "facebook": "https://facebook.com/example",
      "instagram": "https://instagram.com/example",
      "linkedin": null
    },
    "social_list": [
      "https://facebook.com/example",
      "https://instagram.com/example"
    ]
  },
  "sources": {
    "emails": [
      {
        "value": "contact@example.com",
        "occurrences": 12,
        "best_source": "https://www.example.com/contact"
      }
    ],
    "phones": [
      {
        "value": "5551234567",
        "occurrences": 18,
        "best_source": "https://www.example.com/"
      }
    ]
  },
  "profile": {
    "title": "Example Company | Official Site",
    "site_name": "Example Company",
    "description": "Example business description."
  },
  "addresses": [
    {
      "street": "123 Example St",
      "city": "New York",
      "region": "New York",
      "postal_code": "10065",
      "country": "US",
      "full": "123 Example St, New York, New York, 10065, US"
    }
  ],
  "visuals": {
    "logos": [
      "https://cdn.example.com/logo.png"
    ],
    "og_image": "https://cdn.example.com/og-cover.jpg"
  },
  "meta": {
    "has_privacy_policy": true,
    "has_terms": true,
    "has_blog": true
  }
}

The actual response can contain additional verification sources, full visual asset catalogs, extended metadata, and more.

Official Python SDK

For batch workflows, use the official SDK:

pip install contact-finder-sdk

GitHub:

https://github.com/mohamedkalmoush/contact-finder-sdk

Quick start:

from contact_finder_sdk import ContactFinder

target_urls = [
    "https://rapidapi.com",
    "https://github.com",
]

finder = ContactFinder(
    api_key="YOUR_RAPIDAPI_KEY",
    concurrency=5,
    project_name="my_first_scrape",
)

finder.run(urls=target_urls)

The SDK automatically creates a local project folder:

./data/my_first_scrape/

Inside that folder, it can generate:

full.jsonl
raw.jsonl
full.csv
contact.csv
failed.log

Output files

File Description
full.jsonl Master database containing parsed, flattened records
raw.jsonl Raw API response cache used to prevent re-scraping
full.csv Spreadsheet version of the master database
contact.csv Lightweight spreadsheet with core contact info only
failed.log Log of URLs that failed, with error reasons and timestamps

SDK core features

The SDK is designed for developer experience and high-volume workflows.

It supports:

  • async concurrency
  • crash-proof resumability
  • local caching
  • self-healing storage
  • dynamic CSV headers
  • multi-project isolation
  • real-time callbacks
  • CSV/TXT input files
  • configurable parse modes

Crash-proof resumability

If your script crashes halfway through a list of URLs, you can run it again.

The SDK reads the local cache and skips URLs that already finished. This avoids wasting RapidAPI quota.

Self-healing storage

If you accidentally delete a CSV, the SDK can rebuild it from JSONL.

If you delete the JSONL, it can rebuild from the CSV.

Dynamic CSV headers

If the API returns a new field that was not present in the original CSV header, the SDK can add the new column atomically without corrupting existing rows.

Multi-project isolation

Each project_name gets its own isolated data folder.

This is useful when managing multiple clients or campaigns.

Example:

finder_a = ContactFinder(
    api_key="YOUR_RAPIDAPI_KEY",
    project_name="client_a",
)

finder_a.run(urls=["https://client-a.com"])
finder_b = ContactFinder(
    api_key="YOUR_RAPIDAPI_KEY",
    project_name="client_b",
)

finder_b.run(urls=["https://client-b.com"])

The first project saves to:

./data/client_a/

The second saves to:

./data/client_b/

Real-time callbacks

If you want to save data directly to your database as it arrives, pass an on_success callback.

Example:

def save_to_my_db(data):
    print(f"Scraped {data.get('domain')}")
    print(f"Emails: {data.get('emails')}")

finder.run(
    urls=["https://rapidapi.com"],
    parse_mode="contact",
    on_success=save_to_my_db,
)

The SDK can trigger callbacks for both new and cached URLs.

If a URL is already cached, it can skip the API call and still provide the cached data to your callback.

Parse modes

The SDK supports different parse modes:

Mode Description
contact Returns flattened core contact info: emails, phones, social links
full Returns contact info plus company profile, visuals, and meta
raw Returns the untouched API JSON response

For database callbacks, contact is often the simplest and cleanest mode.

Fair billing

A request is not automatically a charged credit.

You are charged only when the API successfully extracts valuable contact data, such as:

  • at least one useful email
  • at least one phone number
  • at least one verified social profile

Metadata-only or empty results should not waste your quota.

This protects your free tier and makes bulk workflows more predictable.

URL formatting requirements

For the API to successfully extract data, the provided URL must be a standard website address.

Correct format:

https://www.example.com
https://example.com/contact

Incorrect format:

example.com
https://example
linkedin.com/in/someone

The URL should include:

  • protocol: http:// or https://
  • valid top-level domain: .com, .org, .net, .co.uk, etc.

Managed extraction service

The API and SDK are designed for developers.

If you prefer a hands-off approach, a premium managed extraction service is available.

You provide the target websites, and the extraction pipeline is handled for you. The result is a clean, enriched lead set delivered in a usable format.

Pricing is based on:

  • number of URLs
  • data complexity
  • required turnaround time
  • manual processing needed

Contact support with your target list and requirements to request a quote.

Use cases

This API is useful for:

  • sales prospecting
  • CRM enrichment
  • outbound lead generation
  • recruiter sourcing
  • market research
  • competitor profiling
  • local business data collection
  • automated enrichment pipelines
  • replacing fragile custom scraping scripts

Support

If you get stuck subscribing, testing, or integrating, send:

  • the URL you tried
  • the parameters you used
  • the response or error you received
  • a screenshot if possible

That makes support much faster.