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.
Return addresses whose IP, reverse DNS name, server name, network name or reserved IP name contains this text, ignoring case.
The page to return, starting at 1.
How many entries to return per page. Maximum 1000.
Bearer $TOKEN
Results are paginated
Use page and per_page to move through pages. See Pagination.
{
"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": {}
}
{
"error": {
"message": "Malformed JSON body.",
"code": "bad_request"
}
}
{
"error": {
"message": "Missing or invalid token.",
"code": "unauthorized"
}
}
{
"error": {
"message": "We require at least one successful credit card transaction before allowing billable actions via the API. This significantly helps us to prevent fraud. Once your first transaction is processed, you will be able to use the API unrestricted. Please add credit to your account at https://betterstack.com/settings/billing/card/new?credits=10&activate_api=true. Need help? We're here for you at hello@betterstack.com.",
"code": "payment_required"
}
}
{
"error": {
"message": "The request could not be completed right now. Please try again in a few moments.",
"code": "internal_error"
}
}
Returns the list of IP addresses.
The body isn't valid JSON.
The API token is missing or invalid.
The organization hasn't made its first payment yet, and the request creates a resource we charge for. The code is payment_required. A request that creates a server, load balancer, object cache, database, reserved IP or volume can also return first_purchase. The url in first_purchase opens a page where you make the payment. The resource is created after the payment. The page works until expires_at, 24 hours after the response.
A rule of the resource forbids the request.
The resource's state doesn't allow the request, such as starting a running server or removing a placement group that still has servers.
A value isn't valid, with the code validation_failed. The error's details list the messages for each field. A create or rescale that names a deprecated type with a replacement returns the code type_deprecated. The error's details then name the field, the deprecated type and its replacement.
We've locked the resource, with the code locked. Every change to a locked resource is refused, and so is a change that involves one.
Too many requests, with the code rate_limited. We limit requests per client IP and per organization, and some costly endpoints have a stricter limit. Wait as long as the Retry-After header says.
An unexpected, temporary error on our side, with the code internal_error. Try again.
The zone has no capacity, with the code no_capacity. Or we couldn't set up or change the resource, with the code orchestration_failed. Or the organization is creating too many resources at the same time, with the code concurrent_create_limit. Try again after a short wait.
The ID of the public IP, private IP or reserved IP the address belongs to.
The address.
Whether it's an IPv4 or IPv6 address. Possible values: ipv4, ipv6.
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.
Whether it's a reserved IP that isn't assigned to a server.
The reverse DNS name of a public address, or null for a private address.
The server that has the address, or null when no server has it.
The id.
The name.
The status.
The private network the address is in, or null for a public address.
The id.
The name.
The reserved IP for the address, or null when it isn't reserved.
The id.
The name.
When the address was added to the server or network, or reserved. In ISO 8601 format, such as 2026-07-01T12:00:00Z.
The network interface in the server that has the public address. Only public addresses on a server have it.
The ID of the server that has a private address or a reserved IP. Public addresses on a server don't have it.
The ID of the network a private address is in. Only private addresses have it.
The private address, the same as ip. Only private addresses have it.
The name of a reserved IP that isn't assigned. Only those entries have it.
The gateway of a reserved IP that isn't assigned. Only those entries have it.
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.
The ID of the team that owns a reserved IP that isn't assigned. Only those entries have it.
The tags of a reserved IP that isn't assigned. Only those entries have it.