# SaaS & AI Pricing Page & Tier Matrix Extractor (MCP Ready) (`danlopes18/saas-pricing-matrix-extractor`) Actor

Zero-browser SaaS & AI Pricing Page & Tier Matrix Extractor. Auto-discovers /pricing, parses plans, monthly/annual USD/EUR/GBP prices, billing models (per-seat, usage/credits, free tier, Enterprise CTA), and key limits in ~1s. DNS-verified SSRF shield & MCP-ready.

- **URL**: https://apify.com/danlopes18/saas-pricing-matrix-extractor.md
- **Developed by:** [Daniel Lopes](https://apify.com/danlopes18) (community)
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $7.00 / 1,000 pricing pages extracted

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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 & AI Pricing Page & Tier Matrix Extractor (MCP Ready)

**Fast, zero-browser Apify Actor & MCP tool that turns any SaaS or AI website into a clean, structured JSON pricing matrix in under 2 seconds.**

Built for **B2B RevOps teams, VCs, competitive intelligence analysts, pricing benchmark pipelines, and autonomous AI agents** calling Apify via **Apify MCP Server (`mcp.apify.com`)** or **`x402` pay-per-call** — priced transparently at **$0.007 per extracted pricing page ($7 / 1,000 URLs)** with zero headless browser overhead.

***

### Why Use This Actor?

Extracting SaaS pricing tables with headless Chromium burns 1GB–4GB RAM and 5–12 seconds per domain, then dumps megabytes of noisy HTML into your LLM context window.

This Actor runs in a slim Node.js 22 container with **zero browser dependencies**, delivering clean structured tier matrices in **200ms–1,500ms per site**:

- **Automatic `/pricing` Discovery:** Pass a direct pricing URL (`https://linear.app/pricing`) *or* a root domain (`https://basecamp.com`). Root domains automatically scan homepage links and safely probe `/pricing`, `/plans`, and `/billing`.
- **Dual-Format Extraction (`Accept: text/markdown` + Structured HTML + JSON-LD):** Negotiates native `text/markdown` when supported (e.g. Linear, Vercel, Supabase) and seamlessly parses HTML tier cards, comparison tables, and JSON-LD `Offer` metadata when sites serve HTML only.
- **RevOps & Agent-Ready JSON Schema:** Extracts `companyName`, `pricingUrl`, `currency`, `billingCadences` (`monthly` / `annual`), `hasFreeTier`, `hasEnterpriseTier`, `hasUsageBasedPricing`, `lowestPaidMonthly`, `plans[]` (`name`, `priceMonthly`, `priceAnnual`, `priceDisplay`, `billingUnit`, `currency`, `cta`, `highlighted`, `keyLimits[]`), and a concise `pricingModelSummary`.
- **Pay Only on Success (Pay-per-Event):** Charges `pricing-page-extracted` (`$0.007/URL`) **only** when pricing tiers are successfully extracted.
- **DNS-Verified SSRF Shield:** Resolves DNS via `node:dns/promises` before every fetch and every redirect hop — blocking `localhost`, `127.0.0.1`, cloud metadata (`169.254.169.254`), RFC1918, CGNAT, IPv6 loopback/ULA, obfuscated numeric IPs, and non-HTTP(S) schemes.

***

### Input Parameters

```json
{
  "urls": [
    "https://linear.app/pricing",
    "https://vercel.com/pricing",
    "https://supabase.com/pricing",
    "https://basecamp.com"
  ],
  "autoDiscoverPricing": true,
  "maxLimitsPerPlan": 8,
  "concurrency": 5,
  "timeoutMs": 10000
}
```

| Field | Type | Default | Description |
| :--- | :--- | :---: | :--- |
| `urls` *(required)* | `string[]` | — | SaaS/AI pricing page URLs or root domains to extract. |
| `autoDiscoverPricing` | `boolean` | `true` | Automatically discover `/pricing`, `/plans`, or `/billing` when given a root domain. |
| `maxLimitsPerPlan` | `integer` | `8` | Max feature/quota bullets returned per tier (`1–20`). |
| `concurrency` | `integer` | `5` | Parallel requests (`1–15`). |
| `timeoutMs` | `integer` | `10000` | Per-request timeout in ms (`2000–20000`). |

***

### Example Output Item (Dataset JSON)

```json
{
  "companyName": "Linear",
  "domain": "linear.app",
  "inputUrl": "https://linear.app/pricing",
  "pricingUrl": "https://linear.app/pricing",
  "autoDiscoveredPricingUrl": false,
  "currency": "USD",
  "billingCadences": ["monthly", "annual"],
  "hasFreeTier": true,
  "hasEnterpriseTier": true,
  "hasUsageBasedPricing": false,
  "planCount": 4,
  "lowestPaidMonthly": 10,
  "plans": [
    {
      "name": "Free",
      "priceMonthly": 0,
      "priceAnnual": 0,
      "priceDisplay": "$0/month",
      "billingUnit": "free",
      "currency": "USD",
      "cta": "Get started",
      "highlighted": false,
      "keyLimits": ["Unlimited members", "2 teams", "250 issues", "Agent platform"]
    },
    {
      "name": "Basic",
      "priceMonthly": null,
      "priceAnnual": 10,
      "priceDisplay": "$10/user/mo (billed annually)",
      "billingUnit": "per user/month",
      "currency": "USD",
      "cta": "Get started",
      "highlighted": false,
      "keyLimits": ["All Free features +", "5 teams", "Unlimited issues", "Admin roles"]
    },
    {
      "name": "Business",
      "priceMonthly": null,
      "priceAnnual": 16,
      "priceDisplay": "$16/user/mo (billed annually)",
      "billingUnit": "per user/month",
      "currency": "USD",
      "cta": "Get started",
      "highlighted": false,
      "keyLimits": ["All Basic features +", "Unlimited teams", "Triage Intelligence", "Linear Insights"]
    },
    {
      "name": "Enterprise",
      "priceMonthly": null,
      "priceAnnual": null,
      "priceDisplay": "Custom",
      "billingUnit": "custom",
      "currency": "USD",
      "cta": "Contact sales",
      "highlighted": false,
      "keyLimits": ["All Business features +", "Invoice/PO billing", "SAML and SCIM", "Priority support"]
    }
  ],
  "pricingModelSummary": "Freemium + Per-Seat + Enterprise Custom (4 plans: Free ($0/month) -> Basic ($10/user/mo (billed annually)) -> Business ($16/user/mo (billed annually)) -> Enterprise (Custom))",
  "sourceFormat": "native_markdown",
  "fetchedMs": 412,
  "status": "ok"
}
```

A consolidated run summary is also written to the Key-Value Store under **`OUTPUT`**.

***

### Use via Apify MCP Server (Claude, Cursor, Windsurf, AI Agents)

Connect your MCP client to `https://mcp.apify.com` and enable `danlopes18/saas-pricing-matrix-extractor`. Your agent can call this Actor directly to compare competitor pricing matrices, detect free/enterprise/usage-based packaging changes, or enrich B2B SaaS lead lists in under 2 seconds.

***

### More Zero-Browser AI DevTools & APIs by Daniel Lopes

- **All Apify Pay-per-Event Actors (Web Intel, Markdown RAG, GitHub Org, RSS, B2B Contacts, Agent-Readiness):** https://apify.com/danlopes18
- **Sub-Second Cloudflare Edge Web Intelligence REST API (Free Tier + Pro on API.market):** https://api.market/store/danlopes18/edge-web-intel-api
- **Zero-Dependency Open-Source MCP Servers & Guardrails:** https://danlopes18-ctrl.github.io/

# Actor input Schema

## `urls` (type: `array`):

List of SaaS/AI pricing page URLs (e.g. https://linear.app/pricing) or root domains (e.g. https://supabase.com). Root domains automatically discover /pricing, /plans, or /billing.

## `autoDiscoverPricing` (type: `boolean`):

When a root domain is passed without a pricing path, automatically discover /pricing, /plans, or /billing via homepage links and safe fallback probes.

## `maxLimitsPerPlan` (type: `integer`):

Maximum number of key feature/quota bullets returned per pricing tier (1-20).

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

Number of target URLs to extract in parallel (1-15).

## `timeoutMs` (type: `integer`):

HTTP fetch timeout in milliseconds (2000-20000).

## Actor input object example

```json
{
  "urls": [
    "https://linear.app/pricing",
    "https://vercel.com/pricing",
    "https://supabase.com/pricing",
    "https://basecamp.com"
  ],
  "autoDiscoverPricing": true,
  "maxLimitsPerPlan": 8,
  "concurrency": 5,
  "timeoutMs": 10000
}
```

# Actor output Schema

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

No description

## `items` (type: `string`):

No description

## `summary` (type: `string`):

No description

# 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 = {
    "urls": [
        "https://linear.app/pricing",
        "https://vercel.com/pricing",
        "https://supabase.com/pricing"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("danlopes18/saas-pricing-matrix-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 = { "urls": [
        "https://linear.app/pricing",
        "https://vercel.com/pricing",
        "https://supabase.com/pricing",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("danlopes18/saas-pricing-matrix-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 '{
  "urls": [
    "https://linear.app/pricing",
    "https://vercel.com/pricing",
    "https://supabase.com/pricing"
  ]
}' |
apify call danlopes18/saas-pricing-matrix-extractor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,danlopes18/saas-pricing-matrix-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/FyjVE2bltsLOH6fyX/builds/ZHdwOnIyCFKe7refX/openapi.json
