cPanel IP Addresses API

The IP Addresses module for WHM API 1.

GitHub OpenAPI
Business capability
IT Infrastructure Management BC-600.50

Operations 16

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /addips Add an IPv4 address to the server · Add IP addresses #
Ask an LLM
“How do I add a new public IPv4 address to my server?”
“Can I add an IP address range and exclude certain addresses from it?”
Tell an agent
Add IP addresses {ips} with netmask {netmask} to the server.
Add {ips} on netmask {netmask} excluding {excludes}.
GET /delip Remove an IPv4 address from the server · Remove IP address #
Ask an LLM
“How do I remove an IP address from my server?”
“Can I skip removing an IP if the interface is down?”
Tell an agent destructive · confirm first
Remove IP address {ip} from the server.
Remove {ip} on interface {ethernetdev} unless the interface is down.
GET /get_public_ip Find the public IP for a private IP · Return public IP address of private IP address #
Ask an LLM
“What public IP corresponds to a private IP on my NAT server?”
“How can I find my server's main public IP address?”
Tell an agent
Find the public IP for {ip}.
Look up the public address behind private IP {ip}.
GET /get_shared_ip Get the shared IP address of an account · Return shared IP address #
Ask an LLM
“Which IP address does an account share with its sub-accounts?”
“What is the shared IP of a particular user?”
Tell an agent
Get the shared IP for user {user}.
Show the shared IP address of account {user}.
GET /ipv6_disable_account Disable IPv6 on an account · Remove IPv6 address range from account #
Ask an LLM
“How do I turn off IPv6 for an account?”
“Will an account get a new IPv6 address if I re-enable it later?”
Tell an agent destructive · confirm first
Disable IPv6 for accounts {user}.
Remove the IPv6 address from account {user}.
GET /ipv6_enable_account Assign an IPv6 address to accounts · Add IPv6 address range to accounts #
Ask an LLM
“How do I give an account a dedicated IPv6 address?”
“Can I assign the shared IPv6 range to several accounts at once?”
Tell an agent
Assign IPv6 range {range} to accounts {user}.
Give account {user} the shared IPv6 range {range}.
GET /ipv6_range_add Add an IPv6 address range to the server · Add IPv6 address range #
Ask an LLM
“How do I add a new range of IPv6 addresses to the server?”
“Can I add an IPv6 range and mark it as reserved?”
Tell an agent
Add IPv6 range {range} named {name} to the server.
Add {name} as an IPv6 range {range} with note {note}.
GET /ipv6_range_edit Rename or re-note an IPv6 range · Update IPv6 address range name or note #
Ask an LLM
“How do I rename an existing IPv6 address range?”
“Can I change the note on an IPv6 range without renaming it?”
Tell an agent
Rename IPv6 range {name} to {new_name}.
Set the note on IPv6 range {name} to {note}.
GET /ipv6_range_list List available IPv6 address ranges · Return available IPv6 address ranges #
Ask an LLM
“Which IPv6 address ranges are available on my server?”
“What IPv6 ranges can I assign to accounts?”
Tell an agent
List all available IPv6 address ranges.
Show the IPv6 ranges I can use for accounts.
GET /ipv6_range_remove Remove an IPv6 address range · Remove IPv6 address range #
Ask an LLM
“How do I remove an IPv6 range from the server?”
“Can I delete a shared IPv6 range?”
Tell an agent destructive · confirm first
Remove IPv6 range {name} from the server.
Delete the IPv6 address range named {name}.
GET /ipv6_range_usage Show IPv6 address usage in a range · Return IPv6 address usage #
Ask an LLM
“How many IPv6 addresses in a range are in use?”
“What is the usage of a particular IPv6 range?”
Tell an agent
Show IPv6 usage for range {name}.
Report how many addresses in {name} are used.
GET /listips List the server's IPv4 addresses · Return server's IP addresses #
Ask an LLM
“Which IPv4 addresses are assigned to my server?”
“What IP addresses does the server currently have?”
Tell an agent
List all IPv4 addresses on the server.
Show the server's IP address pool.
GET /listipv6s List the server's IPv6 addresses · Return server's IPv6 addresses #
Ask an LLM
“Which IPv6 addresses are bound to the server's network interfaces?”
“What IPv6 addresses does the server use?”
Tell an agent
List the IPv6 addresses bound to the server.
Show the server's IPv6 interface addresses.
GET /nat_checkip Validate a local IP for NAT · Validate public IP address for NAT #
Ask an LLM
“Is a given local IP address valid on my NAT-configured server?”
“How do I check a private IP against the NAT configuration?”
Tell an agent
Validate local IP {ip} on the NAT server.
Check whether {ip} is a valid NAT address.
GET /nat_set_public_ip Pair a local IP with a public IP for NAT · Register NAT IP address to public IP address #
Ask an LLM
“How do I map a local IP address to a public IP on a NAT server?”
“Can I register a NAT IP address to a public IP?”
Tell an agent
Pair local IP {local_ip} with public IP {public_ip}.
Register {local_ip} on NAT as {public_ip}.
GET /setsiteip Change a domain's or account's IP address · Update domain or cPanel account IP address #
Ask an LLM
“How do I move a domain or account to a different IP address?”
“Can I change an account's IP address without touching the domain?”
Tell an agent
Move domain {domain} to IP address {ip}.
Change account {user}'s IP address to {ip}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/cpanel:cpanel-ip-addresses-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

cpanel-ip-addresses-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  contact:
    email: cs@cpanel.net
    name: WebPros International, LLC
    url: https://cpanel.net/support/
  description: WHM API.
  license:
    name: cPanel License
    url: https://cpanel.net/legal-notices/
  termsOfService: https://cpanel.net/legal-notices/
  title: WHM IP Addresses API
  version: 11.137.9999.106
  x-api-evangelist-provenance: 'Harvested verbatim from cPanel''s developer portal on 2026-09-05 via the MCP tool get-full-api-description at https://api.docs.cpanel.net/mcp. ONE mechanical change was made before storage: example values containing PEM private-key or certificate blocks, and AWS-access-key-shaped example strings, were replaced with REDACTED_* placeholders so the file can be stored in a public git repository without tripping secret scanning. No path, operation, parameter, schema or description was altered, added or removed.'
servers:
- description: A server running WHM.
  url: https://{host}:{port}/json-api
  variables:
    host:
      default: whm-server.tld
      description: The hostname of a server running WHM.
    port:
      default: '2087'
      description: The WHM port.
security:
- BasicAuth: []
tags:


# --- truncated at 32 KB (59 KB total) ---
# Full source: https://artifacts.apis.io/cpanel/openapi/cpanel-ip-addresses-api-openapi.yml