Skip to content

List locations for floating IPs

GET/floating-ips/locations

Overview

Lists locations where you can request a floating IP address. You do not need a server there first: the address waits unattached until you attach it to one. prices lists the price of each IP family, so you can show prices before requesting a quote. A null price means the price could not be loaded, and buying that family will be refused with a reason.

Permissions

Requires the network.read (View networking) permission for the selected team. Resources outside that team return 404.

curl --request GET \
  --url 'https://console.advinservers.com/api/v1/client/floating-ips/locations' \
  --header 'Authorization: Bearer <token>' \
  --header 'Accept: application/json'
{
  "items": [
    {
      "id": 3,
      "name": "Kansas City, MO"
    }
  ],
  "sellable": {
    "ipv4": true,
    "ipv6": true
  },
  "prices": {
    "ipv4": {
      "recurring_amount": "3.00",
      "currency": "USD",
      "billing_cycle": "monthly"
    },
    "ipv6": {
      "recurring_amount": "1.00",
      "currency": "USD",
      "billing_cycle": "monthly"
    }
  }
}

Authorization

Authorizationstringheaderrequired

Your API key, sent as a bearer token. Create one in the control panel under API Keys, give it only the permissions the integration needs, and copy it when it is created. It cannot be shown again. Each key is restricted to one owned team. The key determines the team for every request.

Send it as Bearer <token>.

Response 200

application/json

The record, as a JSON object. There is no envelope.

itemsobject[]required

The cities where the account may request an address.

Show child attributes
idintegerrequired

The id ID.

namestringrequired

The name shown to customers.

sellableobjectrequired

Whether IPv4 and IPv6 addresses are available to buy.

Show child attributes
ipv4booleanrequired

The value of ipv4.

ipv6booleanrequired

The value of ipv6.

pricesobjectrequired

Current IPv4 and IPv6 prices for display. Request a quote before buying.

Show child attributes
ipv4object | nullrequired

The value of ipv4.

Show child attributes
recurring_amountstringrequired

The amount charged each billing cycle.

currencystringrequired

The three-letter currency code used for monetary amounts.

billing_cyclestringrequired

How often the service renews and is billed.

ipv6object | nullrequired

The value of ipv6.

Show child attributes
recurring_amountstringrequired

The amount charged each billing cycle.

currencystringrequired

The three-letter currency code used for monetary amounts.

billing_cyclestringrequired

How often the service renews and is billed.

Errors

401
The key was missing, malformed, revoked, or belongs to an account that no longer exists.
403
Access denied. Check the key's team, permissions and allowed IP addresses. Some actions, such as managing API keys, require a browser session. The response message explains the reason.
429
Too many requests. The Retry-After header says how many seconds to wait. Limits are per account, so several keys on one account share them.