Floating IPs

Generated on 18 Mar 2026

DigitalOcean Reserved IP addresses are publicly-accessible static IP addresses that you can assign to Droplets and instantly remap between other Droplets in the same datacenter.

Base URL http://169.254.169.254

GET Get Floating IP Index

/metadata/v1/floating_ip

An index of IPv4 Floating IPs.

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

Responses

200

Success

ipv4/

GET Get Floating IPv4 Attributes Index

/metadata/v1/floating_ip/ipv4

An index of IPv4 Floating IP attributes.

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

Responses

200

Success

active
ip_address

GET Get Floating IPv4 Status

/metadata/v1/floating_ip/ipv4/active

Displays true if a Floating IP is currently assigned to the Droplet and false if it is not.

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

Responses

200

Success

true

GET Get Floating IPv4 Address

/metadata/v1/floating_ip/ipv4/ip_address

The IP address of the Floating IP that is currently assigned to the Droplet.

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

Responses

200

Success

45.55.96.17

We can't find any results for your search.

Try using different keywords or simplifying your search terms.