We offer a free REST API to facilitate application development and provide quick access to network information. APIs are also available for managing subnets and domains saved to your NetworkCalc account.
Use the REST APIs to programmatically access our network tools with simple HTTPS interfaces and JSON responses.
This documentation provides example uses for accessing the APIs command-line using Python, cURL (Linux), and PowerShell (Windows).
The NetworkCalc APIs are RESTful APIs oriented around resources such as subnets and domains. They use common HTTP verbs that correspond to the four CRUD operations:
These components are available through the API. Click on one of them for documentation and examples.
Converts numbers between bases, like decimal to binary or binary to hexadecimal.
Resolves DNS records of various types for a given hostname. Look up DNS, WHOIS, SPF records, and more.
Encode and decode text using URL encoding, Base64 encoding, and Base64URL encoding.
Retrieve security details for a website or domain, including TLS certificates.
Calculates subnet information from an IP address or CIDR address. Includes masks, binary representations, assignable addresses, and more.
These components are available through the API and require authorization. Click on one of them for documentation and examples.
Monitor your network resources with custom alerts in the Alerts API.
Authorize your NetworkCalc account to make API calls securely.
Manage and monitor your domains and subdomains through the Domains API.
Monitor your domains and subdomains with scheduled and on-demand reports.
Manage your saved subnets through the Subnet API.