Install
openclaw skills install phantombusterControl PhantomBuster automation agents via API. List agents, launch automations, get output/results, check status, and abort running agents. Use when the user needs to run LinkedIn scraping, Twitter automation, lead generation phantoms, or any PhantomBuster workflow.
openclaw skills install phantombusterControl your PhantomBuster automation agents from the command line.
export PHANTOMBUSTER_API_KEY=your-api-key-here
All commands use the bundled pb.py script in this skill's directory.
See all your configured PhantomBuster agents.
python3 pb.py list
python3 pb.py list --json # JSON output
Start a phantom by ID or name.
python3 pb.py launch <agent-id>
python3 pb.py launch <agent-id> --argument '{"search": "CEO fintech"}'
Fetch the results/output from the most recent run.
python3 pb.py output <agent-id>
python3 pb.py output <agent-id> --json # Raw JSON
See if an agent is running, finished, or errored.
python3 pb.py status <agent-id>
Stop an agent that's currently running.
python3 pb.py abort <agent-id>
Full details about a specific agent.
python3 pb.py get <agent-id>
Download the actual result data (CSV) from an agent's latest run.
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.
PhantomBuster offers many pre-built automations:
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.