Fetch expiration date via API call

Hey all,
I have a web endpoint of lets encrypt which lists all Domains and their expiry date with keys and all.
I am creating a script to generate alerts for expiry dates. I tried to search your api calls but couldn't find any api call which can send relevant data.
Can someone share sample api call for fetching relevant data for this purpose?


Hi @findmyname

that's not required and it's the wrong idea.

You have the certificate local. So you have all you need.

Or fetch the certificate from your domain. Every programming language should be able to extract the certificate informations.

So a Letsencrypt API isn't required.