# Pulumi Cloud IaC Registry & Provider Schema Scraper (`bifrost-data/pulumi-registry-scraper`) Actor

Export verified Pulumi & OpenTofu IaC providers, multi-language components, SDK install commands, module/resource counts, and AI-agent Markdown doc URLs from the Pulumi Cloud Registry. Keyless JSON API.

- **URL**: https://apify.com/bifrost-data/pulumi-registry-scraper.md
- **Developed by:** [SEOK HOON HONG](https://apify.com/bifrost-data) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.80 / 1,000 verified pulumi iac package records

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/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

## Pulumi Cloud IaC Registry & Provider Schema Scraper

Export **schema-verified Pulumi & OpenTofu Infrastructure-as-Code (IaC) packages** directly from the official [Pulumi Cloud Registry REST API](https://www.pulumi.com/docs/reference/cloud-rest-api/registry/) (`api.pulumi.com`) — complete with **provider architecture classification** (`native_provider`, `multi_lang_component`, `terraform_bridged`, `opentofu_bridged`), **6-language SDK installation commands** (CLI, TypeScript, Python, Go, .NET, Java), **AI-agent Markdown documentation endpoints**, optional **module/resource/function inventory counts**, and verified **GitHub repository provenance**.

Built specifically for **AI infrastructure coding agents (MCP / RAG pipelines)**, **Platform Engineering & DevSecOps governance**, and **Terraform-to-Pulumi / OpenTofu migration audits**.

### Why Use This Actor?

- **First Dedicated Pulumi Registry Extractor on Apify**: Structured coverage across `pulumi` native/bridged providers and `opentofu` packages with zero browser overhead.
- **Ready for AI Coding Agents & RAG Indexing**: Every record includes pre-built `agent_api_urls` (`package_nav_url`, `readme_markdown_url`, `examples_url`, `installation_url`, `schema_url`) aligned with Pulumi's [Registry API for agents](https://www.pulumi.com/docs/reference/registry-api/).
- **Multi-Language SDK Command Matrix**: Automatically derives CLI (`pulumi package add`), Node/TypeScript, Python, Go, .NET, and Java installation commands per package source and publisher.
- **Optional Deep Surface-Area Inventory**: Enable `include_module_inventory` to query `/nav?depth=summary` and count exact `modules_total`, `resources_total`, and `functions_total` per provider.
- **Zero Waste Pay-Per-Event Billing (`verified-package`)**:
  - Broken Terraform conversions, empty shells, duplicate hits across queries, and records filtered out by your criteria (`architecture_filter`, `maturity_filter`, `featured_only`, `require_repo_url`) cost **$0.00**.
  - Respects your Apify `Maximum cost per run` budget cap cleanly with zero crashes.

### Supported Discovery Modes

1. **Keyword Search (`search_queries`)**: Search by cloud, vendor, or capability (e.g., `["cloudflare", "kubernetes", "aws", "snowflake", "datadog"]`).
2. **Organization / Publisher Audit (`publishers`)**: Pull every public package maintained by specific publishers (e.g., `["pulumi", "pulumiverse", "cloudflare"]`).
3. **Exact Package Lookup (`packages`)**: Audit exact dependencies from `Pulumi.yaml` by `source/publisher/name` or `publisher/name` (e.g., `["pulumi/pulumi/aws-native", "pulumi/cloudflare", "opentofu/hashicorp/vault"]`).
4. **Full Public Registry Export**: Leave `search_queries`, `publishers`, and `packages` empty to paginate through the entire public Pulumi Registry via `continuationToken`.

### Example Input

```json
{
  "search_queries": ["cloudflare", "kubernetes"],
  "architecture_filter": "any",
  "maturity_filter": "ga_only",
  "include_module_inventory": true,
  "exclude_failed_conversions": true,
  "max_items": 50
}
```

### Example Output Record

```json
{
  "record_id": "9f83d8d178a944178d624c28e5274e5e",
  "package_id": "pulumi/pulumi/cloudflare",
  "source": "pulumi",
  "publisher": "pulumi",
  "publisher_display_name": "Pulumi",
  "name": "cloudflare",
  "title": "Cloudflare",
  "description": "A Pulumi package for creating and managing Cloudflare cloud resources.",
  "latest_version": "5.49.0",
  "category": "Network",
  "architecture_tier": "terraform_bridged",
  "package_types": ["bridged"],
  "package_status": "ga",
  "visibility": "public",
  "is_featured": true,
  "is_parameterized": false,
  "conversion_status": null,
  "modules_total": 1,
  "resources_total": 218,
  "functions_total": 64,
  "repo_url": "https://github.com/pulumi/pulumi-cloudflare",
  "github_owner": "pulumi",
  "github_repo": "pulumi-cloudflare",
  "schema_url": "https://schema.pulumi.com/pulumi/cloudflare/5.49.0/schema.json",
  "source_url": "https://www.pulumi.com/registry/packages/cloudflare/",
  "sdk_install_commands": {
    "cli": "pulumi package add cloudflare",
    "typescript": "npm install @pulumi/cloudflare",
    "python": "pip install pulumi-cloudflare",
    "go": "go get github.com/pulumi/pulumi-cloudflare/sdk/v5/go/cloudflare",
    "dotnet": "dotnet add package Pulumi.Cloudflare",
    "java": "com.pulumi:cloudflare:5.49.0"
  },
  "agent_api_urls": {
    "metadata_url": "https://api.pulumi.com/api/registry/packages/pulumi/pulumi/cloudflare/versions/5.49.0",
    "package_nav_url": "https://api.pulumi.com/api/registry/packages/pulumi/pulumi/cloudflare/versions/5.49.0/nav?depth=summary",
    "readme_markdown_url": "https://api.pulumi.com/api/registry/packages/pulumi/pulumi/cloudflare/versions/5.49.0/readme",
    "examples_url": "https://api.pulumi.com/api/registry/packages/pulumi/pulumi/cloudflare/versions/5.49.0/examples",
    "installation_url": "https://api.pulumi.com/api/registry/packages/pulumi/pulumi/cloudflare/versions/5.49.0/installation",
    "schema_url": "https://schema.pulumi.com/pulumi/cloudflare/5.49.0/schema.json"
  },
  "created_at": "2026-10-15T18:22:10Z",
  "extracted_at": "2026-11-22T05:10:00+00:00"
}
```

### Transparent Pricing

- **Actor Start**: `$0.00005`
- **Verified Pulumi Package (`verified-package`)**: `$0.0018` per unique verified record (`$1.80` per 1,000 packages).
- **Zero Proxy Overhead**: Uses pure async HTTP against Pulumi's public JSON API (`256 MB` RAM).

# Actor input Schema

## `search_queries` (type: `array`):

Keywords to search across the Pulumi Cloud Registry (e.g., 'cloudflare', 'kubernetes', 'aws', 'snowflake', 'tailscale'). Leave search/publishers/packages empty to sweep the entire public registry.

## `publishers` (type: `array`):

Extract every public package published by specific organizations (e.g., 'pulumi', 'pulumiverse', 'cloudflare').

## `packages` (type: `array`):

Look up exact packages by 'source/publisher/name' or 'publisher/name' (e.g., 'pulumi/pulumi/aws', 'pulumi/cloudflare', 'opentofu/hashicorp/vault').

## `architecture_filter` (type: `string`):

Filter packages by Pulumi provider architecture. Filtered-out packages are free ($0).

## `maturity_filter` (type: `string`):

Filter packages by GA vs. Public Preview maturity. Filtered-out rows are free ($0).

## `featured_only` (type: `boolean`):

Only emit officially featured Pulumi Registry providers.

## `require_repo_url` (type: `boolean`):

Only emit packages with a public GitHub/GitLab source repository URL.

## `include_module_inventory` (type: `boolean`):

Fetch each matched package's navigation summary (/nav?depth=summary) to populate modules_total, resources_total, and functions_total.

## `exclude_failed_conversions` (type: `boolean`):

Skip failed/unsupported Terraform module conversions and unversioned shells so you never pay for broken packages.

## `max_items` (type: `integer`):

Maximum verified Pulumi Registry packages to emit in this run.

## Actor input object example

```json
{
  "search_queries": [
    "cloudflare",
    "kubernetes"
  ],
  "publishers": [],
  "packages": [],
  "architecture_filter": "any",
  "maturity_filter": "any",
  "featured_only": false,
  "require_repo_url": false,
  "include_module_inventory": false,
  "exclude_failed_conversions": true,
  "max_items": 100
}
```

# Actor output Schema

## `packages` (type: `string`):

Schema-verified Pulumi and OpenTofu IaC providers with architecture tier, SDK commands, and AI-agent doc URLs.

## `runMetrics` (type: `string`):

Execution telemetry including skipped broken conversions, filtered free items, and validation rate.

# 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 = {
    "search_queries": [
        "cloudflare",
        "kubernetes"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("bifrost-data/pulumi-registry-scraper").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 = { "search_queries": [
        "cloudflare",
        "kubernetes",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("bifrost-data/pulumi-registry-scraper").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 '{
  "search_queries": [
    "cloudflare",
    "kubernetes"
  ]
}' |
apify call bifrost-data/pulumi-registry-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,bifrost-data/pulumi-registry-scraper"
        }
    }
}
```

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/4BdPLFvYgctPUuwRZ/builds/7gi3O8f1jnoB5lsr4/openapi.json
