# SaaS Subprocessor, Cloud & AI Stack Extractor (GDPR + MCP) (`pm_alejandro/saas-subprocessor-ai-stack-extractor`) Actor

Extracts verified backend infrastructure, AI/LLM providers (OpenAI, Anthropic, Vertex AI), cloud regions, and corporate DBA entities from public SaaS GDPR subprocessor pages and Trust Centers.

- **URL**: https://apify.com/pm_alejandro/saas-subprocessor-ai-stack-extractor.md
- **Developed by:** [Alejandro Puertas](https://apify.com/pm_alejandro) (community)
- **Categories:** AI, Lead generation, Developer tools
- **Features:** Limited permissions, Single-tenant, Server interface
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $20.00 / 1,000 verified companies stack extracted

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

Learn more: https://docs.apify.com/actors/store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## SaaS Subprocessor, Cloud & AI Stack Extractor (GDPR + MCP + Clay / n8n Ready)

Uncover the **real production backend, cloud, data warehouse, observability, and AI/LLM stack** of B2B SaaS companies using legally mandated GDPR Subprocessor disclosures (`/subprocessors` and Trust Centers).

### Why RevOps, DevTools & Security Teams Use This Actor

Frontend scrapers (like BuiltWith) only detect browser pixels and scripts. They **cannot** see backend databases, server-side LLM APIs, or cloud data warehouses. Because GDPR Article 28 requires B2B companies to disclose third-party data processors, subprocessor pages reveal:

- **AI & Foundation Models in Production:** OpenAI, Anthropic, Google Vertex AI, Cohere, Mistral, Deepgram, ElevenLabs, Pinecone, Tavily, etc.
- **Corporate Legal DBA Resolution:** Automatically resolves obscure corporate entity names (`Functional Software, Inc.` -> **Sentry**, `Plus Five Five, Inc.` -> **Resend**, `Catamorphic Co.` -> **LaunchDarkly**, `Hound Technology, Inc.` -> **Honeycomb**, `Raintank, Inc.` -> **Grafana**).
- **Data Residency & Hosting Regions:** Classifies US vs. EU vs. Multi-Region hosting per vendor.
- **Zero Hallucinations:** Every vendor includes verbatim row evidence and source URL.

### Model Context Protocol (MCP) Integration

This Actor works seamlessly with **Claude Desktop, Cursor, n8n, Make, and Clay**:

1. **Via Apify Official MCP (`https://mcp.apify.com`):** Add this Actor directly as a callable AI agent tool to scan any SaaS domain on demand.
2. **Built-in Streamable HTTP MCP Endpoint (`/mcp`):** Supports native JSON-RPC 2.0 MCP Standby mode exposing `live_scan_subprocessors`, `get_company_backend_stack`, `find_vendor_customers`, and `get_recent_stack_changes`.

### Perfect For

- **Clay / n8n / Make Lead Enrichment:** Trigger hyper-relevant outbound when a target account uses your competitor's backend infrastructure or adopts AI APIs.
- **Vendor & DPO Audits:** Automatically audit 100s of vendor subprocessor pages in minutes while honoring `robots.txt`.

### Input

| Field | Type | Default | Description |
|---|---|---|---|
| `targets` | string\[] | sentry.io, resend.com | Domains or direct /subprocessors / Trust Center URLs |
| `onlyAiAdopters` | boolean | false | Return only companies declaring AI/LLM vendors |
| `respectRobotsTxt` | boolean | true | Honor robots.txt |
| `includeEvidence` | boolean | true | Include verbatim evidence row per vendor |
| `concurrency` | integer | 4 | Parallel workers (1-10) |

### Output (one dataset item per target)

`domain`, `status` (ok / not_found / robots_disallowed / error), `sourceUrl`, `vendorCount`, `usesAiStack`, `aiVendors`, `cloudVendors`, `observabilityVendors`, `euHostedCount` and `subprocessors[]` (`rawName`, `canonicalVendorName`, `category`, `regionGroup`, `evidenceText`).

### Pricing (Pay-Per-Event)

You are charged **$0.02 USD** per target domain where verified vendors were extracted (event `company-stack-extracted`). Failed, blocked or empty scans are free.

### FAQ

**Is it legal?** It reads only public legal pages, honors robots.txt, and identifies itself with a clear User-Agent.
**Will a temporary outage create false removals?** No: an anti-flap guard quarantines suspicious empty results.

# Actor input Schema

## `targets` (type: `array`):

Enter company domains (e.g., 'vercel.com', 'sentry.io') or direct '/subprocessors' / Trust Center URLs.

## `onlyAiAdopters` (type: `boolean`):

Filter output to companies declaring at least one AI/LLM foundation model or inference vendor.

## `respectRobotsTxt` (type: `boolean`):

Honor target site robots.txt policies before fetching.

## `includeEvidence` (type: `boolean`):

Include exact source row text proving each vendor relationship.

## `concurrency` (type: `integer`):

Parallel HTTP workers (1 to 10).

## Actor input object example

```json
{
  "targets": [
    "https://sentry.io/legal/subprocessors/",
    "https://resend.com/legal/subprocessors"
  ],
  "onlyAiAdopters": false,
  "respectRobotsTxt": true,
  "includeEvidence": true,
  "concurrency": 4
}
```

# Actor output Schema

## `overview` (type: `string`):

Summary table per target SaaS domain showing extraction status, verified legal subprocessor URL, total and canonical vendor counts, AI/LLM stack, cloud and observability providers, EU hosting count, and UTC timestamp.

## `subprocessors` (type: `string`):

Complete dataset items per domain including every extracted subprocessor legal entity (rawName), canonical vendor mapping, category, processing purpose, data location, region group, confidence score, and verbatim evidenceText.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {};

// Run the Actor and wait for it to finish
const run = await client.actor("pm_alejandro/saas-subprocessor-ai-stack-extractor").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {}

# Run the Actor and wait for it to finish
run = client.actor("pm_alejandro/saas-subprocessor-ai-stack-extractor").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{}' |
apify call pm_alejandro/saas-subprocessor-ai-stack-extractor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,pm_alejandro/saas-subprocessor-ai-stack-extractor"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/QX7ebAeC7Pf2GwCTR/builds/2NKOfcjVtV1ZR49pj/openapi.json
