First-party app
PhantomBuster

PhantomBuster

Launch and monitor PhantomBuster Phantoms (agents), read the containers and result data they produce, and check organization resource headroom.

stable MarketingCustomer Relationship ManagementDeveloper Tools

About

PhantomBuster ships in the w6w first-party pack. It declares 14 actions, 3 health checks, and the host runs its code in a sandbox that never sees the credential.

App id
io.w6w.phantombuster
Version
0.1.0
Author
w6w
Licence
MIT
Categories
Marketing · Customer Relationship Management · Developer Tools

Overview

PhantomBuster runs “Phantoms” — pre-built or custom browser-automation agents that scrape and act on sites like LinkedIn, Sales Navigator and Instagram — and gives a workflow the same three-beat path most PhantomBuster automations need: launch an agent, poll the container it creates, and read the output or result object that container produces.

Beyond launching and monitoring agents, this app covers container introspection (list, fetch, output, result object), account-level visibility (organization profile and daily/monthly resource headroom), and a live view of every container currently running across the organization. Health checks track PhantomBuster’s own status page alongside real, readable quota — daily and monthly execution time, mail credits, captcha credits, discovered-mail credits, AI credits and SERP credits — and the app deliberately narrows what an organization or agent read hands back, because PhantomBuster’s own API returns several live credentials inside otherwise ordinary reads.

Build with PhantomBuster

Three routes to the same 14 actions. The Workflow tab is generated from PhantomBuster's own manifest and carries its real ids, so it is copy-pasteable; the Code and CLI examples are the same call for any action on any app, so every app-specific value in them is a blank you fill in.

Delete Agent

agent-delete

Delete an agent by id. Fails with 403 if the agent is currently running.

List Deleted Agents

agent-fetch-deleted

List every deleted agent in the current organization.

Get Agent Output

agent-fetch-output

Get the console output, status, progress and messages of an agent's most recent container.

Get Agent

agent-get

Get one agent (Phantom) by id.

Launch Agent

agent-launch

Add an agent to the launch queue.

List Agents

agent-list

List every agent (Phantom) in the current organization.

Stop Agent

agent-stop

Stop an agent's running instance(s).

Get Container

container-get

Get one container (agent run) by id.

List Containers

container-list

List the containers (runs) an agent has created.

Get Container Output

container-output

Get a container's console output.

Get Container Result Object

container-result-object

Get the result object a container's agent set via buster.setResultObject().

Get Organization

org-get

Get the current organization's profile and billing record.

Get Organization Resources

org-resources-get

Get the current organization's daily/monthly execution time, mail/captcha/discovered-mail/AI/SERP credits, S3 storage and plan ceilings.

List Running Containers

org-running-containers-list

List every container currently running across the organization.

A workflow step names the app and the action, and the editor fills in the connection when you pick one. This is the Step shape from the workflow spec, carrying PhantomBuster's real ids.

{
  "manifestVersion": "2",
  "name": "phantombuster-example",
  "steps": [
    {
      "id": "agent-fetch-output",
      "uses": {
        "app": "io.w6w.phantombuster",
        "action": "agent-fetch-output",
        "connection": "conn_YOUR_CONNECTION_ID"
      },
      "with": {
        "id": "<id>"
      }
    }
  ]
}

Here are some of the things you can do

  • Get Agent Output

    read
    agent-fetch-output
  • List Deleted Agents

    read
    agent-fetch-deleted
  • Get Agent

    read
    agent-get
  • Launch Agent

    perform
    agent-launch
  • List Agents

    read
    agent-list

+9 more actions available

Every app-specific value here is a blank you have to fill in. An app action is reached through the connection that authenticates it, so the address is a connection id, not the app id — and connections belong to your account, so a public page cannot know yours. Create one for PhantomBuster, then fill in the three blanks: conn_YOUR_CONNECTION_ID, the action key, and the parameters that action declares. The call itself is real — the shape is transcribed from the studio's own snippet builder, which prints the same kind of blanks — but nothing in it is specific to PhantomBuster. The Workflow tab is where this app's real ids are.

Install
npm install @w6w/sdk
yarn add @w6w/sdk
pnpm add @w6w/sdk
deno add npm:@w6w/sdk
Code
import { W6wClient, isActionRun } from "@w6w/sdk";

// Reads W6W_BASE_URL and W6W_TOKEN from the environment when omitted.
const client = new W6wClient();

const envelope = await client.run({
  urn: "conn_YOUR_CONNECTION_ID",
  action: "agent-fetch-output",
  payload: {
    id: "<value>",
    // fromOutputPos: "<value>",
    // prevContainerId: "<value>",
    // prevStatus: "<value>",
    // prevRuntimeEventIndex: "<value>",
  },
});

if (isActionRun(envelope)) console.log(envelope.value);
Install the CLI
npm install -g @w6w/cli
CLI
w6w run conn_YOUR_CONNECTION_ID --action agent-fetch-output --payload '{"id":"<value>"}'

Give an AI agent PhantomBuster — without giving it PhantomBuster's credentials. One MCP endpoint exposes every app, function and workflow the caller is entitled to, as tools it can discover and run. Access is granted per team while we onboard.

One tool call
{
  "name": "w6w_invoke",
  "arguments": {
    "ref": "app:io.w6w.phantombuster#agent-fetch-output",
    "input": {
      "id": "<id>"
    }
  }
}

Every tool names its target with a single ref. The app: form above doesn't name a connection at all — the host resolves which of the caller's PhantomBuster connections to sign with, and refuses rather than guesses when the answer is ambiguous.

What the agent gets

Credentials it can't read

The token is attached host-side, at the moment of the call. It is never a tool argument, never in the model's context, and never in a transcript — so a prompt injection has nothing to exfiltrate.

A tool surface scoped to the caller

Tools are derived per end user from what that person has actually connected and is entitled to — not one shared bot identity carrying the union of everyone's access.

A durable workflow in one call

Multi-step work runs on the workflow engine and returns a run handle the agent can poll — retries, branching and state survive the conversation that started them.

Health-aware discovery

PhantomBuster's declared health checks are on the surface too, so an agent can tell "the vendor is down" from "your credential expired" before it burns a retry on either.

The MCP surface is part of the hosted platform. PhantomBuster itself is MIT, and the runtime that executes it is source-available (FSL).

Request MCP access

Health checks

PhantomBuster declares its own checks, so its health is a property of the app rather than something the host guesses at.

service

PhantomBuster platform status

Component status from status.phantombuster.com: Phantoms (the agent-execution fleet), API, Phantom file delivery, Phantom email notifications, Content CDN, Image CDN and Developer documentation.

quota

Organization resource headroom

Daily and monthly execution time, mail/captcha/discovered-mail/AI/SERP credits, and S3 storage, read from GET /orgs/fetch-resources.

quota

API request-rate headroom