GET /ips

Retrieve IP information

Returns a list of IPs with pagination and search capabilities.

Parameters

NameTypeInDescription
page
integerqueryPage number for pagination
filter
stringquerySearch string to filter IPs
limit
integerqueryNumber of IPs to return per page

Response

200
dataobject
ipsarray
totalinteger

Total number of IPs matching the query

pagesinteger

Total amount of pages with current limit

limitinteger

Number of IPs per page

successboolean

Request

curl -X GET "https://shield.royalehosting.net/api/v2/ips" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "x-organization-id: YOUR_ORG_ID"

Response

{
  "data": {
    "ips": [
      {
        "address": "1.1.1.1/24",
        "dns_name": "hosted-by.royalehosting.net",
        "family": {
          "value": 4
        }
      }
    ],
    "total": 0,
    "pages": 0,
    "limit": 0
  },
  "success": true
}