DDiwigo API

SSL Certificate Checker API

TLS certificate of a domain: issuer, validity dates, days left, covered names, protocol.

What is it?

The Diwigo SSL API reads the TLS certificate of a domain and returns the issuer, validity dates, days left before expiry and the names it covers.

It answers with JSON and is included in the free plan: 10,000 requests per API key and per month.

Example request

GET https://landing.diwigo.com/api/?key=YOUR_API_KEY&ssl=landing.diwigo.com

Parameters

ParameterDescription
keyYour API key (required)
sslDomain name (or URL)

Example response

{
  "host": "landing.diwigo.com",
  "trusted": true,
  "issuer": "Let's Encrypt",
  "valid_to": "2026-12-28T22:22:49+00:00",
  "days_left": 52,
  "covers_host": true,
  "protocol": "TLSv1.3"
}

Code examples

cURL
curl "https://landing.diwigo.com/api/?key=YOUR_API_KEY&ssl=landing.diwigo.com"
JavaScript
const res = await fetch("https://landing.diwigo.com/api/?key=YOUR_API_KEY&ssl=landing.diwigo.com");
const data = await res.json();
console.log(data);
PHP
<?php
$response = file_get_contents("https://landing.diwigo.com/api/?key=YOUR_API_KEY&ssl=landing.diwigo.com");
$data = json_decode($response, true);
print_r($data);
Python
import requests

response = requests.get("https://landing.diwigo.com/api/?key=YOUR_API_KEY&ssl=landing.diwigo.com")
print(response.json())

Use cases

  • Get warned before certificates expire
  • Check certificates after a migration
  • Inventory domains and issuers

SSL certificate: questions and answers

What does the SSL certificate API do?

The Diwigo SSL API reads the TLS certificate of a domain and returns the issuer, validity dates, days left before expiry and the names it covers.

How do I call the SSL certificate API?

Send a GET request to https://landing.diwigo.com/api/?key=YOUR_API_KEY&ssl=landing.diwigo.com with your own API key instead of YOUR_API_KEY. It answers with JSON.

Is the SSL certificate API free?

Yes, it is included in the free plan: 10,000 requests per API key and per calendar month, shared by all Diwigo endpoints. Higher limits are available on request.