https://networkcalc.com/api/security/certificate/{hostname}
Retrieve the TLS/SSL certificate presented by a host. Returns the issuing chain details, validity window, alternate names, serial number, fingerprint and raw PEM for the certificate found on the given hostname and port.
Parameters
{hostname}(Required) The hostname, domain name, or IP address to look up.
Example: https://networkcalc.com/api/security/certificate/example.com
port(Optional) Specify the TCP port to use on the remote host.
Values: 0-65535
Example: https://networkcalc.com/api/security/certificate/example.com?port=8080
Response Format
Response Codes
200
OK - Success.400
NO_HOST_SPECIFIED - The {hostname} parameter was not specified.400
INVALID_PORT - The port you specified is invalid or out of range.400
TIMEOUT - The network connection timed out or no certificate exists.400
UNSPECIFIED_ERROR - An unknown error occurred. Check all parameters and try again.