SSL API Documentation

How To Use SSL API


SSL API use case

Online security is becoming tremendously important every single passing day. If commerce and businesses are going online, we can’t transfer the locks and alarm systems they have in their brick and mortar stores. We have to create new technologies that do that.

With our SSL API you can check the certificates of any domain name in the world and see it’s expiry date. Either offer your clients the installation of a certificate, or alert them in time when it’s time to renew or switch to another provider!

For detailed code examples that will help you use SSL API, see our code examples page. For prices check our SSL API pricing page.

SSL API

SSL how to

Let’s make an example request:

http://api.whoapi.com/?domain=whoapi.com&r=cert&apikey=demokey

Output in JSON format:

{
  "status": "0",
  "certondomain": true,
  "category": "Private Organization",
  "organization": "WhoAPI Inc.",
  "street": "444 Castro Street",
  "city": "Mountain View",
  "state": "California",
  "postalcode": "94041",
  "country": "US",
  "other": "US",
  "issuer": "COMODO CA Limited",
  "date_issued": "2015-01-09 00:00:00",
  "date_expires": "2016-01-09 23:59:59",
  "requests_available": 100
}

http://api.whoapi.com/?domain=whoapi.com&r=cert&apikey=demokey&asxml

Output in XML format:

<?xml version="1.0"?>
<response>
  <status>0</status>
  <certondomain>1</certondomain>
  <category>Private Organization</category>
  <organization>WhoAPI Inc.</organization>
  <street>444 Castro street</street>
  <city>Mountain View</city>
  <state>California</state>
  <postalcode>94041</postalcode>
  <country>US</country>
  <other>
    <item0>US</item0>
    <item1>Delaware</item1>
  </other>
  <issuer>COMODO CA Limited</issuer>
  <date_issued>2017-02-01 00:00:00</date_issued>
  <date_expires>2018-04-02 23:59:59</date_expires>
  <requests_available>100</requests_available>
</response>