List reserved IPs

List the reserved IPs in this zone, with the server each one is assigned to. Filter by part of a name or by metadata.

GET https://{availability_zone}.betterstackcloud.com/v1/reserved-ips
query string

Only reserved IPs whose name or ptr_record contains this text, ignoring case.

metadata object

Only reserved IPs with this tag, sent as metadata[<key>]=<value>, such as metadata[env]=prod. Repeat it to match reserved IPs that have every given tag. Accepts any keys.

page integer default: 1

The page to return, starting at 1.

per_page integer default: 25

How many entries to return per page. Maximum 1000.

Authorization string required

Bearer $TOKEN

Results are paginated

Use page and per_page to move through pages. See Pagination.

200 OK
{
  "data": [
    {
      "id": "example",
      "name": "Example reserved IP",
      "ip": "example",
      "type": "ipv4",
      "gateway": "example",
      "term": "monthly",
      "server_id": "123456789",
      "server": {
        "id": "example",
        "name": "Example",
        "status": "up"
      },
      "ptr_record": "example",
      "created_at": "2026-07-01T12:00:00.000Z",
      "updated_at": "2026-07-01T12:00:00.000Z",
      "team_id": "t123",
      "metadata": {
        "example": "value"
      }
    }
  ],
  "meta": {}
}

Returns the list of reserved IPs.

id string

The reserved IP's ID, a UUID.

name string or null

The reserved IP's name, unique in the organization.

ip string

The IP address.

type string

Whether it's an IPv4 or an IPv6 address. Possible values: ipv4, ipv6.

gateway string or null

The gateway for the address, for when you configure the server's network yourself.

term string

The billing term. Defaults to monthly. Possible values: monthly, annual.

server_id string or null

The ID of the server the address is assigned to, or null when it isn't assigned. Assign and unassign the address to change it.

server object or null

The ID, name and status of the server the address is assigned to, or null when the address isn't assigned.

server.id string

The server's ID.

server.name string

The server's name.

server.status string

The server's status, such as running.

ptr_record string or null

The reverse DNS name for the address. When you send a ptr_record as you assign the address, that one is used while the address stays assigned.

created_at datetime

When the reserved IP was created. In ISO 8601 format, such as 2026-07-01T12:00:00Z.

updated_at datetime

When the reserved IP was last updated. In ISO 8601 format, such as 2026-07-01T12:00:00Z.

team_id string

The ID of the team that owns the reserved IP. betterstack team list shows it.

metadata object

Your own tags, as an object of string keys and values.