# Vendor Subprocessor Risk Intelligence API (`vamsi-krishna/vendor-subprocessor-risk-api`) Actor

SaaS vendor risk intelligence API: monitor public subprocessors, privacy policies, and DPAs. Detect evidence-backed changes via Apify Standby HTTP API. Built for third-party risk and GRC; pay-per-event. Returns coverage, priority, and freshness.

- **URL**: https://apify.com/vamsi-krishna/vendor-subprocessor-risk-api.md
- **Developed by:** [Vamsi Krishna](https://apify.com/vamsi-krishna) (community)
- **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 $40.00 / 1,000 vendor analyses

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/running/actors-in-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

### What does Vendor Subprocessor Risk Intelligence API do?

**SaaS vendor risk** / **vendor intelligence API** for **third-party risk** and **GRC**: discovers public HTML pages for **subprocessors**, **privacy policies**, and **DPAs**, extracts structured disclosures, stores snapshots, and detects evidence-backed changes (privacy policy, DPA, and subprocessor list updates).

Runs as an Apify **Standby HTTP API** (`POST /v1/vendor/analyze`) for on-demand calls and as a conventional Actor for scheduled batch collection. Snapshots live in the named Key-Value store `vendor-intelligence`.

**MVP limits:** public **HTML only**—no PDFs, no authenticated portals, no legal advice, no LLM analysis.

### Why use Vendor Subprocessor Risk Intelligence API?

Vendor risk, procurement, and GRC teams need a reliable signal when a SaaS vendor changes who processes customer data or updates privacy/DPA terms. Manual checking does not scale.

- Discover public trust / privacy / DPA URLs with bounded crawling
- Extract subprocessors and policy sections into normalized JSON
- Compare against the previous snapshot and classify priority
- Call via Standby from n8n, scripts, or AI agents; schedule batch runs on Apify
- Pay-per-event `vendor-analysis` (**$0.04**) plus Standby platform usage

#### Try these vendors

Results vary as vendors change pages and disclosure formats:

- `stripe.com` — best demo for privacy + DPA coverage
- `notion.so` — useful partial-coverage example
- `github.com`, `atlassian.com`, `datadog.com` — smoke-test vendors for discovery and response handling

#### Best for / not for

Best for monitoring public, HTML-based SaaS disclosures: privacy policies, DPA pages, and public subprocessor pages.

Not for PDF-only DPAs, private portals, JavaScript/login walls, legal advice, security questionnaires, or LLM risk scoring.

### Quick start: Standby API

Standby API for one vendor domain at a time. Returns coverage for `subprocessors` / `privacy` / `dpa` plus evidence-backed changes vs. the prior snapshot.

| Item | Value |
| --- | --- |
| Actor id | `vamsi-krishna/vendor-subprocessor-risk-api` |
| Standby base URL | `https://vamsi-krishna-1--vendor-subprocessor-risk-api.apify.actor` |
| Auth | `Authorization: Bearer <APIFY_TOKEN>` |
| Health | `GET /v1/health` (non-billable) |
| Analyze | `POST /v1/vendor/analyze` |
| Categories | `subprocessors` | `privacy` | `dpa` |
| Billing | `vendor-analysis` when ≥1 category is `available` |
| Spec | Actor **API** / OpenAPI tab (`.actor/openapi.json`) |

Do not use for private docs, PDF DPAs, security-claims scoring, or legal advice. Unsupported categories (e.g. `security`) return HTTP 422.

#### Standby API examples

Actor id `vamsi-krishna/vendor-subprocessor-risk-api`. Authenticate with your own token: `Authorization: Bearer <APIFY_TOKEN>`.

**curl**

```bash
curl -X POST "https://vamsi-krishna-1--vendor-subprocessor-risk-api.apify.actor/v1/vendor/analyze" \
  -H "Authorization: Bearer <APIFY_TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{
    "domain": "stripe.com",
    "categories": ["privacy", "dpa"],
    "mode": "compare",
    "max_age_hours": 24,
    "include_evidence": true
  }'
```

**JavaScript**

```javascript
const res = await fetch(
  'https://vamsi-krishna-1--vendor-subprocessor-risk-api.apify.actor/v1/vendor/analyze',
  {
    method: 'POST',
    headers: {
      Authorization: `Bearer ${process.env.APIFY_TOKEN}`,
      'Content-Type': 'application/json',
    },
    body: JSON.stringify({
      domain: 'stripe.com',
      categories: ['subprocessors', 'privacy', 'dpa'],
      mode: 'compare',
      max_age_hours: 24,
      include_evidence: true,
    }),
  },
);
const data = await res.json();
```

**n8n**

Use an **HTTP Request** node:

- Method: `POST`
- URL: `https://vamsi-krishna-1--vendor-subprocessor-risk-api.apify.actor/v1/vendor/analyze`
- Authentication: Header Auth — `Authorization` = `Bearer <APIFY_TOKEN>`
- Body (JSON): `{ "domain": "stripe.com", "categories": ["privacy", "dpa"], "mode": "compare", "max_age_hours": 24, "include_evidence": true }`

Example task: [Monitor Stripe privacy and DPA](https://apify.com/vamsi-krishna/vendor-subprocessor-risk-api/examples/monitor-stripe-privacy-and-dpa)

### Output

You can download the dataset in various formats such as JSON, HTML, CSV, or Excel.

Example Stripe privacy+DPA result:

```json
{
  "vendor": "stripe.com",
  "status": "completed",
  "baseline_created": false,
  "coverage": {
    "privacy": "available",
    "dpa": "available"
  },
  "summary": { "change_count": 0, "high_priority_count": 0 },
  "changes": [],
  "data_freshness": "cached",
  "last_checked_at": "2026-11-24T12:00:00.000Z",
  "schema_version": "1.0.0"
}
```

When you request all three categories, Stripe may return `partial` if subprocessors are not discovered; privacy and DPA are the best demo categories.

### How much will it cost to analyze vendor disclosures?

**Pay-per-event** `vendor-analysis` at **$0.04** when at least one requested category is `available`.

Cached results can still charge because they return usable coverage, but they save crawl time and Standby usage. Health checks, HTTP 422 validation errors, and no-coverage results are not billed as `vendor-analysis`. Standby callers also pay Apify **platform usage** for the running server.

### What data can Vendor Subprocessor Risk Intelligence API extract?

| Field | Type | Description |
| --- | --- | --- |
| `vendor` | string | Normalized vendor domain |
| `status` | string | `completed` or `partial` coverage |
| `baseline_created` | boolean | First observation for one or more categories |
| `coverage` | object | Per-category status (`available`, `not_discovered`, …) |
| `summary` | object | `change_count`, `high_priority_count` |
| `changes` | array | Evidence-backed change records with priority |
| `data_freshness` | string | `cached`, `refreshed`, or `stale` |
| `last_checked_at` | string | ISO timestamp of the latest check |

### How to monitor SaaS vendor risk and DPA changes

1. Open the Actor on Apify and enable **Standby** (or run a conventional collect with `domains`).
2. Call `GET /v1/health` to verify the server is up.
3. `POST /v1/vendor/analyze` with a vendor domain and optional categories.
4. Review `coverage`, `changes`, and `summary` in the JSON response.
5. For batch monitoring, create an Apify Schedule with a `domains` list.

### Input

See the **Input** tab for full configuration. Conventional / scheduled runs use:

- `domains` (required) — vendor domains to collect
- `maxAgeHours` — refresh snapshots older than this (default 24)
- `categories` — `subprocessors`, `privacy`, `dpa`
- `proxyConfiguration` — Apify Proxy **off by default** (paid)

Standby analyze body: `domain`, optional `categories`, `mode` (`latest`|`compare`), `max_age_hours`, `include_evidence`.

### Tips and changelog

- Prefer cache-friendly `max_age_hours` (e.g. 24) on Standby to limit crawl cost and latency.
- On-demand fetches are capped (≤15 pages, short timeouts) to keep Standby usage predictable.
- Schedule a conventional run for your seed vendor list; prune keeps latest + previous snapshots and drops older ones after 90 days.
- Unsupported MVP categories (including `security`) return HTTP 422.
- Store URL updated to the published `-1` Standby host: `https://vamsi-krishna-1--vendor-subprocessor-risk-api.apify.actor`.
- Billing uses the conventional `vendor-analysis` pay-per-event event.
- Known coverage gaps: Notion pages can be JavaScript-heavy; Slack subprocessors are PDF-based and out of HTML-only scope.

Shared snapshots live in the named Key-Value store **`vendor-intelligence`** under keys `vendor-`, `latest-`, `snapshot-`, and `change-`.

### FAQ, Disclaimers, and Support

#### Is this a subprocessor monitor or a full GRC platform?

It is a focused **vendor intelligence API** / subprocessor and policy-change detector for public HTML disclosures—not a full GRC suite, questionnaire tool, or legal advisor.

#### Is this legal / ethical?

Our Actors are ethical and do not extract any private user data, such as email addresses, gender, or location. They only extract what vendors have chosen to share publicly on HTML pages. We therefore believe that our Actors, when used for ethical purposes by Apify users, are safe. However, you should be aware that your results could contain personal data. Personal data is protected by the GDPR in the European Union and by other regulations around the world. You should not scrape personal data unless you have a legitimate reason to do so. If you're unsure whether your reason is legitimate, consult your lawyers. Always respect robots.txt and the target site's terms of service.

#### What formats are supported?

HTML pages only in the MVP. PDF DPAs return `unsupported_format`.

#### Why is coverage partial?

Many vendors bury disclosures behind unusual paths, JavaScript apps, or login walls. Partial coverage with clear status codes is expected; last-good snapshots are preserved on temporary failures.

#### Where do I get help?

Use the Actor **Issues** tab for bugs and feature requests. For programmatic access, see the API / OpenAPI tab and the Standby URL `https://vamsi-krishna-1--vendor-subprocessor-risk-api.apify.actor`.

# Actor input Schema

## `domains` (type: `array`):

Vendor domains to collect and compare (e.g. stripe.com). Used in conventional/scheduled runs.

## `maxAgeHours` (type: `integer`):

Refresh a category snapshot when older than this many hours.

## `categories` (type: `array`):

Document categories to collect. MVP supports subprocessors, privacy, and dpa only.

## `proxyConfiguration` (type: `object`):

Optional proxy. Apify Proxy is off by default (paid). Enable only when needed.

## Actor input object example

```json
{
  "domains": [
    "stripe.com"
  ],
  "maxAgeHours": 24,
  "categories": [
    "subprocessors",
    "privacy",
    "dpa"
  ],
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `dataset` (type: `string`):

Dataset containing one row per analyzed vendor domain

## `keyValueStore` (type: `string`):

Default run key-value store keys (named vendor-intelligence store holds shared snapshots)

# 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 = {
    "domains": [
        "stripe.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("vamsi-krishna/vendor-subprocessor-risk-api").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 = { "domains": ["stripe.com"] }

# Run the Actor and wait for it to finish
run = client.actor("vamsi-krishna/vendor-subprocessor-risk-api").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 '{
  "domains": [
    "stripe.com"
  ]
}' |
apify call vamsi-krishna/vendor-subprocessor-risk-api --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,vamsi-krishna/vendor-subprocessor-risk-api"
        }
    }
}
```

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/7rKifg6I8TeoueUXd/builds/Yihcpzb2v8btDO82L/openapi.json
