---
name: lead-anything
description: Agent handbook for W4-C06 Lead-Anything (https://lead.fastmesh.dev) — 5-dimension public B2B company intelligence (HTTP/HTML/DNS/.well-known tech stack fingerprinting, deterministic 1-5 benchmark ICP lookalike scoring, public Greenhouse/Lever/Ashby/careers hiring intent, RSS/Atom/changelog/SEC Form D growth pulse, and explainable 0-100 HOT/WARM/MONITOR/COLD scorecards) with strict $0 billing on dead/parked/shell/fake-200/SSRF 422, Remote /mcp, and 0%-commission treg hub.
---

# Lead-Anything (`lead.fastmesh.dev`) — Agent Integration Skill

> **Hard Guarantees**: Public corporate intelligence only (zero private PII, zero cold email outreach, zero CAPTCHA/WAF bypass) · Multi-hop DNS/IP SSRF firewall (`HTTP 422`, `$0`) · Anti-fake-200 & parked-domain content gate (`$0` on Cloudflare Turnstile, hCaptcha, reCAPTCHA, DataDome, PerimeterX, registrar parking, soft-404s, blank JS shells) · Adaptive `7d–30d` SQLite WAL archive cache (`100%` new tenant / `10%` same-tenant repeat, zero poisoning) · Hard `max_cost_micros` budget guard · `0%` BYOK markup · Canonical 64-char `receipt_sha256` · **Zero Customer Data Resale**.

## Integration Surfaces & Pricing

| Surface | Endpoint / Tool ID | Protocol & Pricing |
| :--- | :--- | :--- |
| **Remote MCP Server** | `https://lead.fastmesh.dev/mcp` | JSON-RPC 2.0 (`initialize`, `tools/list`, `tools/call`: `lead_analyze_account`, `lead_detect_tech_stack`, `lead_score_lookalikes`, `lead_parse_hiring_pulse`, `lead_batch_enrich`) |
| **REST + OpenAPI 3.1** | `https://lead.fastmesh.dev/openapi.json` | `POST /v1/analyze` (alias `/v1/account`), `POST /v1/tech-stack`, `POST /v1/lookalike`, `POST /v1/signals`, `POST /v1/batch`, `GET /v1/pricing`, `GET /health` |
| **treg hub (`0%` Commission)** | `lead-anything-buyer-readiness` | `$0.020` analyze / `$0.008` tech-stack / `$0.012` lookalike; `$0` on dead, parked, empty, fake-200, invalid, or SSRF `422` (`writes: false`) |
| **Causal Bazaar Public Card** | `c06_lead_anything_buyer_readiness_v1` | `is_public=1`, `used_cards=[]`, `price_micros: 20000` (`$0.020`), strict `$0`-on-miss settlement |
| **Prepaid Credit Packs (Creem)** | `https://lead.fastmesh.dev/#pricing` | `$19` Starter (950 scorecards) / `$79` Growth (5,000 scorecards, `+$21` bonus, `$0.0158`) / `$249` Scale (20,000 scorecards, `+$151` bonus, `$0.01245`), `$0/mo` recurring, never expire |

---

## 1. Calling via REST API (`/v1/analyze`, `/v1/tech-stack`, `/v1/lookalike`, `/v1/signals`, `/v1/batch`)

### A. Full 5-Dimension Buyer-Readiness Scorecard (`POST /v1/analyze`, `$0.020` verified / `$0` on miss)

```bash
curl -fsSL -X POST "https://lead.fastmesh.dev/v1/analyze" \
  -H "Content-Type: application/json" \
  -d '{
    "domain": "stripe.com",
    "benchmarks": [
      {
        "domain": "vercel.com",
        "industry": "developer cloud infrastructure api",
        "pricing_model": "usage_based",
        "technologies": ["Vercel", "Next.js", "Google Workspace"]
      }
    ],
    "probe_well_known": true,
    "tenant_id": "agent_default",
    "allow_cache": true,
    "max_cost_micros": 20000
  }'
```

Deterministic offline `snapshot` inputs (`status_code`, `headers`, `html`, `dns_records`, `well_known`, `careers_html`, `greenhouse_json`, `lever_json`, `ashby_json`, `job_postings`, `rss_xml`, `changelog_html`, `sec_form_d_xml`, `press_releases`, `company_profile`) are also supported for reproducible zero-network evaluation.

### B. Public Tech Stack & Infrastructure Fingerprinting (`POST /v1/tech-stack`, `$0.008`)

```bash
curl -fsSL -X POST "https://lead.fastmesh.dev/v1/tech-stack" \
  -H "Content-Type: application/json" \
  -d '{
    "domain": "cloudflare.com",
    "probe_well_known": true,
    "tenant_id": "agent_default",
    "max_cost_micros": 8000
  }'
```

### C. Deterministic ICP Lookalike Ranking (`POST /v1/lookalike`, `$0.012`)

```bash
curl -fsSL -X POST "https://lead.fastmesh.dev/v1/lookalike" \
  -H "Content-Type: application/json" \
  -d '{
    "benchmarks": [
      {"domain": "vercel.com", "industry": "frontend cloud edge", "pricing_model": "usage_based", "technologies": ["Vercel", "Next.js"]}
    ],
    "candidates": [
      {"domain": "resend.com", "industry": "developer email api cloud", "pricing_model": "usage_based", "technologies": ["Vercel", "Next.js", "PostHog"]},
      {"domain": "example.org", "industry": "local retail store", "pricing_model": "enterprise", "technologies": ["WordPress"]}
    ],
    "tenant_id": "agent_default",
    "max_cost_micros": 12000
  }'
```

### D. Public Hiring Intent & Growth Pulse (`POST /v1/signals`, `$0.010`)

```bash
curl -fsSL -X POST "https://lead.fastmesh.dev/v1/signals" \
  -H "Content-Type: application/json" \
  -d '{
    "domain": "linear.app",
    "probe_live_subpages": true,
    "tenant_id": "agent_default",
    "max_cost_micros": 10000
  }'
```

### E. Concurrent Batch Enrichment With CSV Export & Hard Spend Cap (`POST /v1/batch`, `$0.015`/item)

```bash
curl -fsSL -X POST "https://lead.fastmesh.dev/v1/batch" \
  -H "Content-Type: application/json" \
  -d '{
    "accounts": [
      {"domain": "stripe.com"},
      {"domain": "github.com"},
      {"domain": "vercel.com"}
    ],
    "export_csv": true,
    "tenant_id": "agent_batch_01",
    "max_cost_micros": 60000
  }'
```

---

## 2. Calling via Remote `/mcp` (JSON-RPC 2.0)

Exposed flat tools: `lead_analyze_account`, `lead_detect_tech_stack`, `lead_score_lookalikes`, `lead_parse_hiring_pulse`, `lead_batch_enrich`.

```bash
# 1. Discover tools
curl -fsSL -X POST "https://lead.fastmesh.dev/mcp" \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}'

# 2. Score a public corporate domain via MCP
curl -fsSL -X POST "https://lead.fastmesh.dev/mcp" \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "id": 2,
    "method": "tools/call",
    "params": {
      "name": "lead_analyze_account",
      "arguments": {
        "domain": "stripe.com",
        "tenant_id": "mcp_agent_01",
        "max_cost_micros": 20000
      }
    }
  }'
```

---

## 3. Calling via `treg hub` (`0%` Seller Commission)

```bash
# Full 5-dimension buyer-readiness scorecard ($0.020 verified / $0 on miss/parked/fake-200/422)
treg call lead-anything-buyer-readiness --data '{
  "mode": "analyze",
  "domain": "stripe.com",
  "max_cost_micros": 20000
}'

# Tech stack probe ($0.008 verified / $0 on miss)
treg call lead-anything-buyer-readiness --data '{
  "mode": "tech_stack",
  "domain": "cloudflare.com",
  "max_cost_micros": 8000
}'
```

---

## 4. Safe Agent Handling of `$0` Blocked, Parked, Fake-200, Budget-Cap & SSRF Responses

Autonomous agents MUST follow these rules when calling `lead.fastmesh.dev`:

1. **Fake-200 / CAPTCHA / WAF / Parked Domain (`ok: false`, `blocked_reason != null`, `billed_micros: 0`)**:
   - **STOP immediately for that domain.** NEVER attempt to bypass CAPTCHAs, Cloudflare Turnstile challenges, or WAF gates.
   - Verify `billed_micros === 0` (zero prepaid credit lost) and mark the domain cleanly as blocked or parked.
2. **SSRF Firewall or Junk Domain Rejection (`HTTP 422`, `billed_micros: 0`)**:
   - Do not retry private IPs (`127.0.0.1`, `10/8`, `172.16/12`, `192.168/16`), cloud metadata (`169.254.169.254`), IPv6 ULA/loopback, `.local`/`.internal`, redirect-to-private traps, or CSV junk (`"N/A"`, `""`).
3. **Budget Ceiling Enforcement (`HTTP 402`, `billed_micros: 0`)**:
   - Always pass an explicit `max_cost_micros`. If `ApprovalBudgetGuard` rejects an oversized run, split or trim the batch before retrying.
4. **Zero-Fabrication Hiring & Growth Signals**:
   - When `open_roles_count == 0` or `event_count == 0`, treat it as genuinely zero public postings/events observed; never fabricate synthetic roles or funding rounds.
5. **Same-Tenant Cache Optimization (`cache_hit: true`, `billing_tier: "cache_repeat_tenant_10pct"`)**:
   - Reuse a consistent `tenant_id` with `allow_cache: true` to capture `90%` repeat savings (`$0.002` analyze / `$0.0008` tech-stack) inside the `7d–30d` ArchiveCache window.
6. **Public Corporate Intelligence Only & Zero Private PII**:
   - Never ask the engine to harvest personal employee emails, private phones, or launch cold email campaigns.

---

## 5. Response Schema Reference (`/v1/analyze`)

Every `/v1/analyze` response returns:
- `ok` (bool), `status` (`"verified"` | `"blocked_fake_200"` | `"unreachable"` | `"empty"` | `"blocked_ssrf"` | `"invalid_input"` | `"budget_exceeded"`), `status_code` (`200` | `422` | `402`)
- `domain` (string), `final_url` (string)
- `buyer_readiness_score` (float `0.0–100.0`), `tier` (`"HOT"` | `"WARM"` | `"MONITOR"` | `"COLD"`)
- `tech_stack`, `icp_match`, `hiring_intent`, `growth_pulse`, `scorecard` (each carrying `evidence_source`, `evidence_snippet`, `observed_at_utc`)
- `billed_micros` (int `>= 0`; strictly `0` on any miss/parked/shell/fake-200/SSRF `422`), `upstream_cost_micros` (int)
- `cache_hit` (bool), `cache_status` (string), `billing_tier` (string), `fake_200_detected` (bool), `blocked_reason` (string or `null`)
- `receipt_sha256` (64-char hex SHA-256 provenance digest), `observed_at_utc` (ISO-8601 UTC timestamp)

Operations & Privacy Contact: `ops@fastmesh.dev` · Full Technical Library: `https://lead.fastmesh.dev/seo_geo/` · Machine Index: `https://lead.fastmesh.dev/llms.txt`
