Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Abort Agent (v1)
PHANTOMBUSTER_ABORT_AGENT_V1Tool to abort all running instances of an agent using the legacy v1 API. Use when you need to immediately stop an agent's execution. Supports soft abort for graceful shutdown.
Delete Agent
PHANTOMBUSTER_DELETE_AGENTTool to delete an agent by id. Use when you need to remove a PhantomBuster agent. Ensure the agent is not currently running before deletion.
Delete Lead Objects
PHANTOMBUSTER_DELETE_LEAD_OBJECTSTool to delete one or more lead objects from organization storage. Use when you need to remove lead data. Provide either leadObjectId, or both slug and type parameters.
Delete Many Leads
PHANTOMBUSTER_DELETE_LEADS_MANYTool to delete multiple leads from organization storage. Use when you need to bulk delete leads by their IDs.
Delete List
PHANTOMBUSTER_DELETE_LISTTool to delete a storage list by id (Beta). Use when you need to remove a list from organization storage.
Delete Script
PHANTOMBUSTER_DELETE_SCRIPTTool to delete a script by id. Use when you need to remove a specific script from PhantomBuster. Optionally specify a branch and environment to delete a specific version.
Get Agent
PHANTOMBUSTER_GET_AGENTTool to get an agent by its ID. Use when you need to retrieve detailed information about a specific Phantombuster agent, including its configuration, schedule, and execution settings.
Get Agent Containers (v1)
PHANTOMBUSTER_GET_AGENT_CONTAINERSGet a list of ended containers for an agent, ordered by date, using the legacy v1 API. The returned container records include launch and end details.
Get Agent Output (v1)
PHANTOMBUSTER_GET_AGENT_OUTPUTTool to get incremental data from an agent including console output, status, progress and messages. This is a legacy v1 API endpoint designed for easy incremental data retrieval. Use outputPos to track position.
Get All Agents
PHANTOMBUSTER_GET_AGENTS_FETCH_ALLFetch all agents associated with the current user or organization to list the available agents.
Get Deleted Agents
PHANTOMBUSTER_GET_AGENTS_FETCH_DELETEDTool to get deleted agents for the current user or organization. Use when you need to audit recently removed agents.
Get Branches Diff
PHANTOMBUSTER_GET_BRANCHES_DIFFTool to get the length difference between the staging and release branch of all scripts. Use when assessing branch changes before deployment.
Get All Branches
PHANTOMBUSTER_GET_BRANCHES_FETCH_ALLTool to fetch all branches associated with the current organization. Use when you need to enumerate every branch across your scripts.
Get Containers Fetch All
PHANTOMBUSTER_GET_CONTAINERS_FETCH_ALLFetch containers associated with a specified agent for monitoring or reporting. The response indicates whether the maximum fetch limit was reached.
Get Leads By List
PHANTOMBUSTER_GET_LEADS_BY_LISTFetch leads from a specific list by its ID, with optional pagination and associated company or lead-object data.
Get IP Location
PHANTOMBUSTER_GET_LOCATION_IPTool to retrieve the country of a given or environment IP address. Use when you need to geolocate an IP endpoint. Example: get_location_ip(ip="8.8.8.8")
Export Agent Usage CSV
PHANTOMBUSTER_GET_ORGS_EXPORT_AGENT_USAGETool to export agent usage CSV for current organization. Use when you need a downloadable report of all agents' run statistics in CSV format.
Export Container Usage CSV
PHANTOMBUSTER_GET_ORGS_EXPORT_CONTAINER_USAGETool to export container usage CSV for current organization. Use when you need a downloadable CSV report of container execution history up to 6 months; URL expires in 30 days.
Get Organization
PHANTOMBUSTER_GET_ORGS_FETCHTool to fetch current organization details. Use when you need to retrieve the organization associated with the provided API key.
Get Agent Groups
PHANTOMBUSTER_GET_ORGS_FETCH_AGENT_GROUPSTool to get agent groups and order for the current organization. Use when you need to review how agents are grouped and ordered.