Skip to content

mskian/sslcheck-api

Repository files navigation

SSLCheck API

API Test

Simple API to Get the SSL Expiry date, time and Days.

SSL Expiry date Checker API - Built using Node.js and Express.js

Requirements

  • Node.js Stable version
  • Yarn - For install and update the package
  • Web Server with Node.js Support

usage

  • clone to repo
git clone https://github.com/mskian/sslcheck-api.git
cd sslcheck-api
  • install packages
yarn install
  • Run the API
yarn start
  • Test the API on Browser
http://localhost:3001/google.com
[
    {
        "domain": "google.com",
        "issued": "Monday, July 11, 2022 1:50 PM",
        "expires": "Monday, October 3, 2022 1:50 PM",
        "daysleft": 62,
        "provider": "Google Trust Services LLC"
    }
]

Deploy

you can deploy this script on Vercel.com for free

Deploy with Vercel

Module

Node SSL Checker - https://github.com/mskian/ssl-checker-node-api

LICENSE

MIT