NetworkCalc Subnet Calculator API

IPv4 and IPv6 subnet calculations.

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/networkcalc-subnet-calculator-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

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

OpenAPI Specification

networkcalc-subnet-calculator-api-openapi.yml Raw ↑
openapi: 3.0.3
info:
  title: NetworkCalc Binary Converter Subnet Calculator API
  description: NetworkCalc provides RESTful APIs for network and security tools including a subnet calculator, DNS tools, security tools (TLS/SSL inspection, password generation), encoders, and a binary converter. The public APIs return JSON responses over HTTPS and use common HTTP verbs.
  version: '1.9'
  contact:
    name: NetworkCalc
    url: https://networkcalc.com/
servers:
- url: https://networkcalc.com/api
  description: Production
tags:
- name: Subnet Calculator
  description: IPv4 and IPv6 subnet calculations.
paths:
  /ip/{address}:
    get:
      tags:
      - Subnet Calculator
      summary: Subnet calculator (IPv4)
      description: Calculate subnet details for a given IPv4 address with CIDR notation.
      parameters:
      - name: address
        in: path
        required: true
        schema:
          type: string
        description: IPv4 address with CIDR mask, for example 192.168.1.0/24.
      responses:
        '200':
          description: Subnet calculation result.
  /ipv6/{address}:
    get:
      tags:
      - Subnet Calculator
      summary: Subnet calculator (IPv6)
      description: Calculate subnet details for a given IPv6 address with CIDR notation.
      parameters:
      - name: address
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: IPv6 subnet calculation result.