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
Endpoints
GET Get Floating IP Index
/metadata/v1/floating_ip
An index of IPv4 Floating IPs.
Request: /metadata/v1/floating_ip
curl -X GET \
"http://169.254.169.254/metadata/v1/floating_ip"Responses
200
Success
Response
ipv4/GET Get Floating IPv4 Attributes Index
/metadata/v1/floating_ip/ipv4
An index of IPv4 Floating IP attributes.
Request: /metadata/v1/floating_ip/ipv4
curl -X GET \
"http://169.254.169.254/metadata/v1/floating_ip/ipv4"Responses
200
Success
Response
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.
Request: /metadata/v1/floating_ip/ipv4/active
curl -X GET \
"http://169.254.169.254/metadata/v1/floating_ip/ipv4/active"Responses
200
Success
Response
trueGET 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.
Request: /metadata/v1/floating_ip/ipv4/ip_address
curl -X GET \
"http://169.254.169.254/metadata/v1/floating_ip/ipv4/ip_address"Responses
200
Success
Response
45.55.96.17