# Web data for lead generation - Spider

Extract emails, phone numbers, and company details from live websites instead of paying for stale contact databases. Build fresh prospect lists at scale.

Canonical: https://spider.cloud/use-cases/lead-generation/

## Pull contacts from live company sites.

For sales and growth teams who would rather build a prospect list than rent one. Send a company page and a schema, and Spider returns the contacts that page lists today, each with its label and email, as JSON in the shape you asked for. The schema can ask for phone numbers and titles too.

[Get an API key](https://spider.cloud/register/) [Cold outreach guide](https://spider.cloud/guides/auto-email-response-outreach/)

AI extraction comes with AI Studio, from $6 a month on the Starter plan. The 30 calls in this run reported $0.0146 in their cost fields.

POST /ai/scrape, sent 30 times on 2026-09-14

```
{
  "url": "https://spider.cloud/about/",
  "prompt": "List each contact on the page with its label and email address.",
  "cleaning_intent": "extraction",
  "extraction_schema": {"name":"contacts","description":"Every contact row on the page.","schema":{"type":"object","properties":{"contacts":{"type":"array","items":{"type":"object","properties":{"label":{"type":"string"},"email":{"type":"string"}},"required":["label","email"]}}},"required":["contacts"]}},
  "return_format": "markdown",
  "metadata": true
}
```

- median round trip 10.2 s
- p95 round trip 15.2 s
- every field filled 30 of 30 calls

The 10.2 s median is the whole round trip from a laptop on a residential connection outside AWS. Spider's own timer read 7.5 s to fetch the page, have the model read it and fill the schema. The run kept timings, not replies, so this page shows no rows: send the request to see them.

## Pass domains, set a webhook, walk away.

For a whole target list, ai_crawl takes the domains in one call and reads up to ten pages on each, so the team, about and contact pages all count. Coverage depends on what each company publishes. Spider posts each page's JSON to your webhook as it finishes, and every contact comes with the URL it was found on.

ai_crawl with a webhook Python

```
from spider import Spider

spider = Spider()

# Your target companies, one domain per line
targets = [line.strip() for line in open("domains.txt") if line.strip()]

# One request for every target: pass the URLs comma-separated
result = spider.ai_crawl(
    ",".join(targets),
    "Extract emails, phone numbers, job titles, LinkedIn profiles",
    params={
        "limit": 10,  # pages per site: team, about, contact
        "max_credits_allowed": 5000,
        "webhook": "https://yourapp.com/api/new-lead",
    },
)
```

The same call exists in the Node, Rust and Go libraries. To skip the webhook, the [data connectors](https://spider.cloud/docs/core/data-connectors/) write results to S3, Google Cloud Storage, Google Sheets or Supabase. Crawling is charged on bandwidth and compute. 2,500 free credits, worth $0.25, if your signup passes our checks. No card required.

[Get an API key ](https://spider.cloud/register/)[AI extraction docs](https://spider.cloud/docs/ai-studio/)
