List servers
/v1/servers Lists the account's servers, newest first. Destroyed servers aren't listed.
A token limited to some servers sees only those. Filter by status, cloud or region; sort by createdAt or name.
Scopes
The token needs this scope. Without it, the request is refused with insufficient_scope (see Scopes).
-
servers:read - View servers. See servers, their graphs, snapshots, logs and security (Imunify360).
Query parameters
| Field | Type and description |
|---|---|
limit | integer 1 to 100 Default How many items to return, from 1 to 100. Default 25. |
cursor | string 1 to 1,024 characters The |
sort | string Default The field to sort by. Each list names the fields it can be sorted by. One of: |
order | string Default
One of: |
status | string Only servers with this status. One of: |
cloud | string Only servers on this cloud ( One of: |
region | string 1 to 64 characters Only servers in this location, like fra1. |
Example request
curl "https://api.rabbitflare.com/v1/servers?status=active" \
-H "Authorization: Bearer $RABBITFLARE_TOKEN" const res = await fetch("https://api.rabbitflare.com/v1/servers?status=active", {
headers: {
Authorization: `Bearer ${process.env.RABBITFLARE_TOKEN}`,
},
});
if (!res.ok) throw new Error(`Rabbitflare API error ${res.status}: ${await res.text()}`);
const { data, pagination } = await res.json();
console.log(data, pagination.nextCursor); import { Rabbitflare } from "@rabbitflare/api";
const rf = new Rabbitflare({ token: process.env.RABBITFLARE_TOKEN });
for await (const item of rf.servers.list({ status: "active" })) {
console.log(item);
} <?php
$ch = curl_init('https://api.rabbitflare.com/v1/servers?status=active');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 120,
CURLOPT_HTTPHEADER => [
'Authorization: Bearer ' . getenv('RABBITFLARE_TOKEN'),
],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($body === false || $status >= 400) {
throw new RuntimeException("Rabbitflare API error $status: $body");
}
$answer = json_decode($body, true);
print_r($answer['data']);
echo $answer['pagination']['nextCursor'] ?? 'Last page', PHP_EOL; import os
import requests
response = requests.get(
"https://api.rabbitflare.com/v1/servers",
headers={
"Authorization": "Bearer " + os.environ["RABBITFLARE_TOKEN"],
},
params={
"status": "active",
},
timeout=120,
)
response.raise_for_status()
answer = response.json()
print(answer["data"], answer["pagination"]["nextCursor"]) Response
200 OK Returns a list of Server objects in data, with a Pagination object in pagination.
The Server object's fields 60 fields
| Field | Type and description | ||||||||
|---|---|---|---|---|---|---|---|---|---|
id | string The server's id. | ||||||||
name | string The server's name, as shown in the panel. | ||||||||
status | string
Known values: | ||||||||
stage | string How far setup has got: Known values: | ||||||||
pendingAction | string or null A change in progress on the server ( Known values: | ||||||||
cloud | string Where the server runs: Known values: | ||||||||
region | string The location's id on its cloud, like fra1 (Frankfurt). | ||||||||
planId | string The plan's id (see the plans of each cloud). | ||||||||
priceMonthlyCents | integer What this server is billed each month, in US cents, before any offer: during a sale an invoice can be lower, never higher. It stays as bought when plan prices change. | ||||||||
currency | string Always Always | ||||||||
ipv4 | string or null The server's public IPv4 address. Null until it has one. | ||||||||
ipv6 | string or null The server's public IPv6 address. Null when it has none. | ||||||||
phpVersion | string The PHP version the server's sites run, like 8.3. | ||||||||
backupsEnabled | boolean Whether the whole server is backed up automatically: by its cloud, or by Rabbitflare once it has moved to Rabbitflare's own backups ( | ||||||||
automaticBackupsBy | string or null Who takes the server's automatic backups: Known values: | ||||||||
billing | object How the server is paid for. | ||||||||
method | string or null How the server is paid: Known values: | ||||||||
status | string or null The state of the server's monthly payment: Known values: | ||||||||
currentPeriodEnd | string or null An ISO 8601 time, in UTC When the period paid for ends (the next payment is due then). Null when not known. | ||||||||
pendingPlanId | string or null The plan a resize is waiting to move to, while a PayPal approval is outstanding. Null otherwise. | ||||||||
scheduledDeletionAt | string or null An ISO 8601 time, in UTC When the server will be destroyed if nothing changes (a suspended server, or a free trial that wasn't kept). Null otherwise. | ||||||||
trial | boolean A free trial server that hasn't been kept (paid for) yet. | ||||||||
specs | object or null Servers of your own: the machine as it reported itself. Null for servers bought from Rabbitflare (their plan says it all). | ||||||||
vcpus | integer Processor cores. | ||||||||
memoryGb | number Memory, in GB. | ||||||||
diskGb | number Disk size, in GB. | ||||||||
os | string The operating system, as the server reported it. | ||||||||
arch | string The processor architecture, like x86_64 or aarch64. | ||||||||
provider | string or null The hosting provider the machine was recognised as, when it was (like Amazon Web Services). Null otherwise. | ||||||||
siteCount | integer Sites on the server (staging copies aren't counted). | ||||||||
dataTransfer | object or null Amazon EC2 and Google Cloud servers: data transfer this month. Null on the other clouds, where it isn't billed by use. | ||||||||
period | string The month counted, as YYYY-MM. | ||||||||
usedBytes | integer Data the server sent this month so far (backups to Rabbitflare Backup in the server's own location don't count). | ||||||||
includedBytes | integer What the server's plan includes this month. | ||||||||
extraCentsPerGb | integer The price of each GB beyond what's included, in US cents. | ||||||||
currency | string Always Always | ||||||||
measuredAt | string or null An ISO 8601 time, in UTC When it was last measured (every hour). Null until the first time. | ||||||||
unpaidBill | boolean A data transfer bill that includes this server couldn't be charged: the server stays off until it's paid (in the panel's Billing). | ||||||||
phpSecurity | object Whether the server has every PHP security fix installed and running. Checked every few hours, and on demand. | ||||||||
state | string
Known values: | ||||||||
reason | string or null Why the state is Known values: | ||||||||
build | string or null The installed PHP build, like 8.3.6-0ubuntu0.24.04.13. Null until the first check. | ||||||||
packages | integer How many PHP packages are installed (PHP itself and its extensions). | ||||||||
fixes | array of objects Security fixes released for PHP that aren't installed yet. Show its 3 fields
| ||||||||
restart | array of strings Who still runs the build from before an update: the server's PHP, or a site's address. | ||||||||
auto | boolean Whether security fixes install themselves every day. | ||||||||
listsAt | string or null An ISO 8601 time, in UTC When the server last downloaded the lists of updates. Null when it never has. | ||||||||
securityAt | string or null An ISO 8601 time, in UTC When the list of security updates the server has was published. Null when it has none. | ||||||||
checkedAt | string or null An ISO 8601 time, in UTC When the server was last checked. Null until the first check. | ||||||||
error | string or null Why the latest check failed, when it failed after the last good one. Null otherwise. | ||||||||
security | object The server's security (Imunify360). | ||||||||
status | string Imunify360 on the server: Known values: | ||||||||
available | boolean Whether the server can run Imunify360 and it's open to the account. | ||||||||
lastError | string or null Why the last setup or change failed. Null when nothing failed. | ||||||||
readyAt | string or null An ISO 8601 time, in UTC When the server finished setting up (a server of your own: when it connected). Null until then. | ||||||||
createdAt | string An ISO 8601 time, in UTC When the server was created. | ||||||||
updatedAt | string An ISO 8601 time, in UTC When the server last changed. |
Example response
{
"data": [
{
"id": "3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d",
"name": "Production",
"status": "active",
"stage": "complete",
"pendingAction": null,
"cloud": "digitalocean",
"region": "fra1",
"planId": "business",
"priceMonthlyCents": 5200,
"currency": "usd",
"ipv4": "203.0.113.10",
"ipv6": "2001:db8::10",
"phpVersion": "8.3",
"backupsEnabled": true,
"automaticBackupsBy": null,
"billing": {
"method": "card",
"status": "active",
"currentPeriodEnd": "2026-12-18T08:46:49.000Z"
},
"pendingPlanId": null,
"scheduledDeletionAt": null,
"trial": false,
"specs": null,
"siteCount": 2,
"dataTransfer": null,
"phpSecurity": {
"state": "current",
"reason": null,
"build": "8.3.6-0ubuntu0.24.04.13",
"packages": 14,
"fixes": [],
"restart": [],
"auto": true,
"listsAt": "2026-11-18T06:12:04.000Z",
"securityAt": "2026-11-17T21:30:00.000Z",
"checkedAt": "2026-11-18T07:00:31.000Z",
"error": null
},
"security": {
"status": "on",
"available": true
},
"lastError": null,
"readyAt": "2026-11-18T08:51:12.000Z",
"createdAt": "2026-11-18T08:46:49.000Z",
"updatedAt": "2026-11-18T09:02:31.000Z"
}
],
"pagination": {
"limit": 25,
"hasMore": false,
"nextCursor": null
}
} Errors
The errors this request can answer besides those every request can (a missing token, a missing scope, the rate limits). Each answer is an Error object (see Errors).
| Status and code | When, and what to do |
|---|---|
400 invalid_ | A query parameter is unknown or has a wrong value ( Correct or remove the parameter named in |
400 invalid_ | The cursor isn't one this list gave, or was made with other filters or another sort. Start again from the first page, or keep the filters and sort the cursor was made with. |