Virtual IPs

Generated on 25 Jun 2026

Virtual IPs are the IP addresses of the network load balancers a Droplet is attached to. Adding a Droplet to a network load balancer adds that load balancer's IP address to this list.

Base URL http://169.254.169.254

GET Get Virtual IP Index

/metadata/v1/virtual_ips/

An index of the available virtual IP address types.

curl -X GET \
  "http://169.254.169.254/metadata/v1/virtual_ips/"

Responses

200

Success

ipv4
ipv6

GET Get Virtual IPv4 Addresses

/metadata/v1/virtual_ips/ipv4

The IPv4 addresses of the network load balancers that the Droplet is attached to. The response lists one address per load balancer.

curl -X GET \
  "http://169.254.169.254/metadata/v1/virtual_ips/ipv4"

Responses

200

Success

203.0.113.10
203.0.113.11

GET Get Virtual IPv6 Addresses

/metadata/v1/virtual_ips/ipv6

The IPv6 addresses of the network load balancers that the Droplet is attached to. The response lists one address per load balancer.

curl -X GET \
  "http://169.254.169.254/metadata/v1/virtual_ips/ipv6"

Responses

200

Success

2001:DB8::1
2001:DB8::2

We can't find any results for your search.

Try using different keywords or simplifying your search terms.