List IP addresses

List the IPs in this zone. The list includes public addresses on servers, private addresses in networks and reserved IPs that aren't assigned.

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

Return addresses whose IP, reverse DNS name, server name, network name or reserved IP name contains this text, ignoring case.

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",
      "ip": "example",
      "type": "ipv4",
      "visibility": "public",
      "available": false,
      "ptr_record": "example",
      "server": {
        "id": "example",
        "name": "Example",
        "status": "up"
      },
      "network": {
        "id": "example",
        "name": "Example"
      },
      "reservation": {
        "id": "example",
        "name": "Example"
      },
      "created_at": "2026-07-01T12:00:00.000Z",
      "device_name": "Example IP address",
      "server_id": "123456789",
      "network_id": "123456789",
      "ip_address": "example",
      "name": "Example IP address",
      "gateway": "example",
      "updated_at": "2026-07-01T12:00:00.000Z",
      "team_id": "123456789",
      "metadata": {
        "example": "value"
      }
    }
  ],
  "meta": {}
}

Returns the list of IP addresses.

id string

The ID of the public IP, private IP or reserved IP the address belongs to.

ip string

The address.

type string

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

visibility string

Where the address can be reached from.
Valid values:
public: The address is reachable from the internet.
private: The address is reachable only inside one of your private networks.

available boolean

Whether it's a reserved IP that isn't assigned to a server.

ptr_record string or null

The reverse DNS name of a public address, or null for a private address.

server object or null

The server that has the address, or null when no server has it.

server.id string

The id.

server.name string

The name.

server.status string

The status.

network object or null

The private network the address is in, or null for a public address.

network.id string

The id.

network.name string

The name.

reservation object or null

The reserved IP for the address, or null when it isn't reserved.

reservation.id string

The id.

reservation.name string

The name.

created_at datetime

When the address was added to the server or network, or reserved. In ISO 8601 format, such as 2026-07-01T12:00:00Z.

device_name string

The network interface in the server that has the public address. Only public addresses on a server have it.

server_id string or null

The ID of the server that has a private address or a reserved IP. Public addresses on a server don't have it.

network_id string

The ID of the network a private address is in. Only private addresses have it.

ip_address string

The private address, the same as ip. Only private addresses have it.

name string or null

The name of a reserved IP that isn't assigned. Only those entries have it.

gateway string or null

The gateway of a reserved IP that isn't assigned. Only those entries have it.

updated_at datetime

When the private address or the reserved IP was last updated. Public addresses on a server don't have it. In ISO 8601 format, such as 2026-07-01T12:00:00Z.

team_id string

The ID of the team that owns a reserved IP that isn't assigned. Only those entries have it.

metadata object

The tags of a reserved IP that isn't assigned. Only those entries have it.