# Headless CMS & Next.js Framework Detector (`risimwell/bulk-rendered-headless-cms-tech-detector`) Actor

Detect modern frontend frameworks (Next.js, Nuxt, Gatsby) and headless CMS (Contentful, Strapi, Sanity) in bulk. Uses Playwright to render JavaScript and bypass CDN obfuscation for accurate B2B lead qualification.

- **URL**: https://apify.com/risimwell/bulk-rendered-headless-cms-tech-detector.md
- **Developed by:** [Ricardo Enriquez](https://apify.com/risimwell) (community)
- **Categories:** Lead generation, Developer tools, MCP servers
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.00 / 1,000 items 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

## Bulk Rendered Headless CMS & Frontend Framework Detector

### Why use this Actor?

Identify modern frontend frameworks (Next.js, Nuxt, Gatsby) and headless CMS platforms (Contentful, Strapi, Sanity) in bulk. Unlike basic HTTP scrapers, this Actor utilizes a headless browser powered by Playwright to fully render JavaScript and bypass strict CDN obfuscation, ensuring highly accurate B2B lead qualification and tech stack auditing.

#### Dataset Overview

| Field | Type | Description |
| :--- | :--- | :--- |
| `url` | String | The target website URL being analyzed. |
| `frameworks` | Array | Detected frontend frameworks (e.g., Next.js, React, Nuxt). |
| `cms` | Array | Identified headless CMS integrations or signatures. |
| `is_headless` | Boolean | True if the architecture is classified as decoupled or headless. |
| `metadata` | Object | Page title and meta description extracted from the target. |
| `status` | String | Execution status: `success` or `failed`. |

#### Key Benefits

- **Save Time:** Process hundreds of domains simultaneously instead of manual inspection.
- **No Code Automation:** Integrate instantly with Make, n8n, Zapier, and workflow builders.
- **AI Agent Ready:** Expose technical intelligence directly to LLMs via MCP (Model Context Protocol).

### Use Cases

- **B2B Sales & Lead Generation:** Target companies running specific headless architectures for your SaaS product.
- **Agency Prospecting:** Audit prospective clients' website performance and tech stack maturity.
- **Market Research:** Track adoption rates of modern frontend stacks and headless CMS solutions across industries.
- **AI Agents (MCP):** Allow AI assistants to research prospect technology stacks on the fly using mcp.apify.com.

### Input JSON Example

```json
{
  "urls": [
    "[redacted-external-ref]",
    "https://example.com"
  ],
  "maxItems": 5,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

### Verified Output JSON Example

```json
[
  {
    "url": "[redacted-external-ref]",
    "frameworks": [],
    "cms": [],
    "is_headless": false,
    "metadata": {
      "title": "Agentic Infrastructure - Vercel",
      "description": "The autonomous stack for every app and agent."
    },
    "status": "success"
  }
]
```

### Quick Automation (n8n, Make, cURL & MCP Server)

#### cURL / Sync API Call

Trigger the Actor and fetch results immediately using the Apify API:

```bash
curl -X POST "https://api.apify.com/v2/acts/bulk-rendered-headless-cms-tech-detector/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"urls": ["[redacted-external-ref]"], "maxItems": 1}'
```

#### n8n & Make Integration

1. Add an HTTP Request node in n8n or an HTTP module in Make.
2. Set the method to `POST` and URL to `https://api.apify.com/v2/acts/bulk-rendered-headless-cms-tech-detector/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN`.
3. Pass your input JSON in the request body.
4. Map the resulting dataset items to downstream sales CRM or email verification tools.

#### AI Agents via Model Context Protocol (MCP)

Connect this Actor to Claude Desktop or custom AI agents via the MCP endpoint at mcp.apify.com to execute live tech stack audits through natural language prompts.

### Pay-Per-Event Pricing

This Actor uses a transparent Pay-Per-Event (PPE) pricing model:

- **Actor Start:** $0.003 per run initiation.
- **Item Extracted:** $0.005 per website analyzed and tech stack identified.
- **Estimated Cost for 1,000 URLs:** ~$5.003 total.

# Actor input Schema

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

List of website URLs to analyze.

## `maxItems` (type: `integer`):

Maximum number of URLs to process.

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

Use proxies to avoid detection.

## Actor input object example

```json
{
  "urls": [
    "https://vercel.com",
    "https://strapi.io"
  ],
  "maxItems": 5,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `results` (type: `string`):

Structured records extracted by this Actor.

# 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://vercel.com",
        "https://strapi.io"
    ],
    "maxItems": 5,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("risimwell/bulk-rendered-headless-cms-tech-detector").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://vercel.com",
        "https://strapi.io",
    ],
    "maxItems": 5,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("risimwell/bulk-rendered-headless-cms-tech-detector").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://vercel.com",
    "https://strapi.io"
  ],
  "maxItems": 5,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call risimwell/bulk-rendered-headless-cms-tech-detector --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,risimwell/bulk-rendered-headless-cms-tech-detector"
        }
    }
}
```

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/lfTSUXhJcbyucxlNg/builds/H4KRdyMw6uOzvWvVG/openapi.json
