# OpenAPI, Swagger & REST Endpoint Discovery Scanner (`risimwell/bulk-rendered-api-endpoint-schema-auditor`) Actor

Extract and audit API endpoints, parameters, authentication, and OpenAPI schemas from rendered single-page application docs like Swagger UI and Redoc.

- **URL**: https://apify.com/risimwell/bulk-rendered-api-endpoint-schema-auditor.md
- **Developed by:** [Ricardo Enriquez](https://apify.com/risimwell) (community)
- **Categories:** SEO tools, 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 $3.00 / 1,000 audited endpoint

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 API Endpoint & Swagger Docs Schema Auditor

Extract and audit API endpoints, parameters, authentication, and OpenAPI schemas from rendered single-page application docs like Swagger UI and Redoc.

### Why use this Actor?

Auditing modern microservice ecosystems and vendor documentation portals requires parsing complex rendered single-page applications (SPAs). Doing this manually drains engineering hours and slows down compliance reviews, security auditing, and partner integrations. The **Bulk Rendered API Endpoint & Swagger Docs Schema Auditor** automates the entire discovery pipeline, turning heavy client-rendered documentation portals into structured, queryable data.

#### Dataset Overview

| Field | Type | Description |
| :--- | :--- | :--- |
| `portal_url` | String | Target documentation portal URL |
| `doc_title` | String | Title extracted from the API portal |
| `path` | String | API endpoint route path |
| `http_method` | String | HTTP verb (GET, POST, PUT, DELETE, etc.) |
| `operation_id` | String | Unique operation identifier |
| `parameters` | Array | Parameters required for the route |

### Use Cases

- **No-Code Automation**: Streamline API governance workflows directly inside Make, n8n, and Zapier by syncing endpoint schemas to internal Notion, Airtable, or PostgreSQL databases.
- **B2B & Vendor Analysis**: Rapidly ingest and index partner API specifications to evaluate integration viability and technical depth.
- **AI Agents & MCP Servers**: Integrate with Model Context Protocol (MCP) servers via `https://mcp.apify.com` to allow LLMs and AI agents to query live API routes and specs on-demand.

### Input Example

```json
{
  "startUrls": [
    "[redacted-external-ref]"
  ],
  "maxEndpoints": 5,
  "extractSchemas": true
}
```

### Real Verified Output Example

```json
[
  {
    "portal_url": "[redacted-external-ref]",
    "doc_title": "Swagger Petstore",
    "doc_version": "1.0.7",
    "openapi_version": "2.0",
    "spec_url": "[redacted-external-ref]",
    "path": "/pet/{petId}/uploadImage",
    "http_method": "POST",
    "summary": "uploads an image",
    "tags": [
      "pet"
    ],
    "operation_id": "uploadFile",
    "has_authentication": true,
    "security_requirements": [
      {
        "petstore_auth": [
          "write:pets",
          "read:pets"
        ]
      }
    ],
    "parameters_count": 3,
    "parameters": [
      {
        "name": "petId",
        "in": "path",
        "required": true,
        "type": "integer",
        "description": "ID of pet to update"
      },
      {
        "name": "additionalMetadata",
        "in": "formData",
        "required": false,
        "type": "string",
        "description": "Additional data to pass to server"
      },
      {
        "name": "file",
        "in": "formData",
        "required": false,
        "type": "file",
        "description": "file to upload"
      }
    ],
    "response_status_codes": [
      "200"
    ],
    "extracted_at": "2026-11-30T03:41:58.218521+00:00",
    "request_schema": {},
    "responses_schema": {
      "200": {
        "description": "successful operation",
        "schema": {
          "$ref": "https://example.com/..."
        }
      }
    }
  }
]
```

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

You can easily trigger this actor programmatically using standard webhooks or synchronization endpoints. Use the synchronous run endpoint to get dataset items instantly:

```bash
curl -X POST "https://api.apify.com/v2/acts/bulk-rendered-api-endpoint-schema-auditor/run-sync-get-dataset-items?token=YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"startUrls": ["[redacted-external-ref]"], "maxEndpoints": 5, "extractSchemas": true}'
```

For LLM and AI agent workflows, connect via the Apify MCP gateway at `https://mcp.apify.com`.

### Pay-Per-Event Pricing

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

- **ACTOR_START**: $0.002 per execution initialization.
- **ITEM_EXTRACTED**: $0.015 per parsed API endpoint contract item extracted.

*Estimated cost for extracting 1,000 API endpoints is approximately $15.000 (plus start fee).* cryptographic integrity and scale guaranteed.

# Actor input Schema

## `startUrls` (type: `array`):

List of SPA documentation portal URLs (Swagger UI, Redoc, Stoplight) to audit.

## `maxEndpoints` (type: `integer`):

Maximum number of API endpoint routes to extract per documentation portal.

## `extractSchemas` (type: `boolean`):

Extract request/response payload data structures and component schemas.

## Actor input object example

```json
{
  "startUrls": [
    "https://petstore.swagger.io"
  ],
  "maxEndpoints": 5,
  "extractSchemas": 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 = {
    "startUrls": [
        "https://petstore.swagger.io"
    ],
    "maxEndpoints": 5,
    "extractSchemas": true
};

// Run the Actor and wait for it to finish
const run = await client.actor("risimwell/bulk-rendered-api-endpoint-schema-auditor").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 = {
    "startUrls": ["https://petstore.swagger.io"],
    "maxEndpoints": 5,
    "extractSchemas": True,
}

# Run the Actor and wait for it to finish
run = client.actor("risimwell/bulk-rendered-api-endpoint-schema-auditor").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 '{
  "startUrls": [
    "https://petstore.swagger.io"
  ],
  "maxEndpoints": 5,
  "extractSchemas": true
}' |
apify call risimwell/bulk-rendered-api-endpoint-schema-auditor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,risimwell/bulk-rendered-api-endpoint-schema-auditor"
        }
    }
}
```

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/dq1qywIh8emLIwoF3/builds/wmwZenOlQz3SHinZ4/openapi.json
