✓ Verified 🌐 Web Scrapers ✓ Enhanced Data

Phantombuster

Control PhantomBuster automation agents via API.

Rating
4.9 (117 reviews)
Downloads
23,686 downloads
Version
1.0.0

Overview

Control PhantomBuster automation agents via API.

Complete Documentation

View Source →

PhantomBuster Skill

Control your PhantomBuster automation agents from the command line.

Setup

bash
export PHANTOMBUSTER_API_KEY=your-api-key-here

Usage

All commands use the bundled pb.py script in this skill's directory.

List Agents

See all your configured PhantomBuster agents.

bash
python3 pb.py list
python3 pb.py list --json  # JSON output

Launch an Agent

Start a phantom by ID or name.

bash
python3 pb.py launch <agent-id>
python3 pb.py launch <agent-id> --argument '{"search": "CEO fintech"}'

Get Agent Output

Fetch the results/output from the most recent run.

bash
python3 pb.py output <agent-id>
python3 pb.py output <agent-id> --json  # Raw JSON

Check Agent Status

See if an agent is running, finished, or errored.

bash
python3 pb.py status <agent-id>

Abort Running Agent

Stop an agent that's currently running.

bash
python3 pb.py abort <agent-id>

Get Agent Details

Full details about a specific agent.

bash
python3 pb.py get <agent-id>

Fetch Result Data

Download the actual result data (CSV) from an agent's latest run.

bash
python3 pb.py fetch-result <agent-id>
python3 pb.py fetch-result <agent-id> > output.csv

This downloads the result.csv file from the agent's S3 storage, perfect for integrating PhantomBuster data into your workflows.

Example Prompts

  • "List my PhantomBuster agents"
  • "Launch my LinkedIn Sales Navigator scraper"
  • "Get the output from agent 12345"
  • "Check if my Twitter follower phantom is still running"
  • "Abort the currently running agent"

Common Phantoms

PhantomBuster offers many pre-built automations:

  • LinkedIn Sales Navigator Search — Extract leads from searches
  • LinkedIn Profile Scraper — Get profile data
  • Twitter Follower Collector — Scrape followers
  • Instagram Profile Scraper — Get IG profile data
  • Google Maps Search Export — Extract business listings

Rate Limits

PhantomBuster has execution time limits based on your plan. The API itself is not heavily rate-limited, but agent execution consumes your plan's minutes.

Installation

Terminal bash

openclaw install phantombuster
    
Copied!

💻Code Examples

python3 pb.py list --json # JSON output

python3-pbpy-list---json--json-output.txt
### Launch an Agent

Start a phantom by ID or name.

python3 pb.py launch <agent-id> --argument '{"search": "CEO fintech"}'

python3-pbpy-launch-agent-id---argument-search-ceo-fintech.txt
### Get Agent Output

Fetch the results/output from the most recent run.

python3 pb.py output <agent-id> --json # Raw JSON

python3-pbpy-output-agent-id---json--raw-json.txt
### Check Agent Status

See if an agent is running, finished, or errored.

python3 pb.py status <agent-id>

python3-pbpy-status-agent-id.txt
### Abort Running Agent

Stop an agent that's currently running.

python3 pb.py abort <agent-id>

python3-pbpy-abort-agent-id.txt
### Get Agent Details

Full details about a specific agent.

python3 pb.py get <agent-id>

python3-pbpy-get-agent-id.txt
### Fetch Result Data

Download the actual result data (CSV) from an agent's latest run.

Tags

#browser_and-automation #api #automation

Quick Info

Category Web Scrapers
Model Claude 3.5
Complexity Multi-Agent
Author capt-marbles
Last Updated 3/10/2026
🚀
Optimized for
Claude 3.5
🧠

Ready to Install?

Get started with this skill in seconds

openclaw install phantombuster