> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.casestudies.dev/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.casestudies.dev/_mcp/server.

# Enrich

> The primary endpoint — pass a domain, get the full tech stack.

`GET /v1/enrich/{domain}`

The core endpoint. Pass any company domain and get back every tool they use, detected from multiple public sources in real time.

## Example

```bash
curl https://api.casestudies.dev/v1/enrich/launchdarkly.com \
  -H "X-API-Key: YOUR_KEY"
```

## Response

```json
{
  "domain": "launchdarkly.com",
  "tools_detected": 35,
  "tools": [
    { "tool": "Google Workspace", "category": "Email" },
    { "tool": "Salesforce", "category": "CRM" },
    { "tool": "Atlassian", "category": "Collaboration" },
    { "tool": "Segment", "category": "Analytics" },
    { "tool": "Mixpanel", "category": "Analytics" },
    { "tool": "Marketo", "category": "Marketing Automation" },
    { "tool": "Qualified", "category": "Conversational ABM" },
    { "tool": "LaunchDarkly", "category": "Feature Flags" },
    { "tool": "Datadog", "category": "Monitoring" },
    { "tool": "Zendesk", "category": "Customer Support" },
    { "tool": "Stripe", "category": "Payments" },
    { "tool": "OpenAI", "category": "AI" }
  ],
  "by_category": {
    "Email": ["Google Workspace", "Microsoft 365"],
    "CRM": ["Salesforce"],
    "Analytics": ["Mixpanel", "Segment", "Google Analytics"],
    "Collaboration": ["Atlassian"],
    "Marketing Automation": ["Marketo"],
    "Conversational ABM": ["Qualified"],
    "Consent Management": ["Cookiebot"],
    "Feature Flags": ["LaunchDarkly"],
    "Monitoring": ["Datadog"],
    "Customer Support": ["Zendesk"],
    "Payments": ["Stripe"],
    "AI": ["OpenAI"]
  }
}
```

## Fields

| Field            | Description                             |
| ---------------- | --------------------------------------- |
| `tools_detected` | Total number of tools identified        |
| `tools`          | Flat list of tools with category labels |
| `by_category`    | Same tools grouped by category          |

## What we detect

We identify tools across these categories:

* **Email & identity** — email providers, SSO, authentication, password managers
* **CRM & sales** — CRMs, marketing automation, sales engagement, ABM platforms
* **Analytics & tracking** — web analytics, product analytics, session replay, attribution
* **Cloud & infrastructure** — cloud providers, CDN, hosting, monitoring, error tracking
* **Collaboration** — project management, documentation, communication
* **Developer tools** — CI/CD, version control, feature flags, API platforms
* **Marketing** — email marketing, advertising pixels, consent management, personalisation
* **Payments & billing** — payment processors, subscription billing
* **HR & recruiting** — HRIS, ATS, payroll

We scan multiple public data sources in parallel and cross-reference signals for accuracy. Results typically include 25-40 tools for mid-market companies and 40+ for enterprise.

## Streaming variant

For real-time progressive results (results stream in phase by phase as they are detected):

```bash
curl https://api.casestudies.dev/v1/enrich-stream/launchdarkly.com \
  -H "X-API-Key: YOUR_KEY" \
  -H "Accept: text/event-stream"
```

Returns Server-Sent Events. Each event includes the current scan phase, all tools detected so far, and a `done: true` event when complete. Results stream in progressively over 10-15 seconds.

### SSE event format

```json
{
  "phase": "Scanning frontend technologies",
  "tools_detected": 29,
  "tools": [{ "tool": "Segment", "category": "Analytics" }],
  "by_category": { "Analytics": ["Segment", "Mixpanel"] },
  "done": false
}
```