Developer Libraries
Third-party Integrations
Check SSL Certificate Info Using WhoisFreaks Python SDK
The WhoisFreaks Python SDK allows you to fetch SSL certificate details for any domain, including the certificate’s validity period, issuing authority, and other essential information. This helps ensure secure communication, verify website authenticity, and is crucial for maintaining web security and protecting online transactions.
SSL Lookup
This package is for performing any type of SSL lookup.
To utilize the WhoisFreaks Python SDK for SSL Lookup of domain names, follow these steps:
First, ensure that Python and the WhoisFreaks Python SDK are installed on your system. To install the necessary modules, please visit the Installation Steps page.
In all lookups, replace "your_api_key" with your actual API key.
-
SSL Live Lookup
ssl_live_lookup retrieves live SSL information for a specific domain using the Python SDK's SSL endpoint.
python Copyssl_live_lookup(api_key='your_api_key', domain_name='google.com')
Parameters:
- domain_name: The domain name for which live SSL information is requested (e.g., "example.com").
- chain: A boolean flag indicating whether to include SSL certificate chain information.
- ssl_raw: A boolean flag indicating whether to include raw SSL certificate information.
- format: Two response formats are available: JSON and XML. If the 'format' parameter is not specified, JSON will be used by default.
- api_key: Get your API key from our billing dashboard.
Returns:
- Success: A pointer to a domain_ssl_info struct containing live SSL information.
- Error: A JSON string containing the error structure if an API error occurs, or 'nil' if the request fails.
For a comprehensive details of response fields, please visit the SSL Live Lookup Documentation.Example Usage:
python Copyfrom whoisfreaks import WhoisfreaksApi from whoisfreaks.core.api_error import ApiError client = WhoisfreaksApi() try: response = client.ssl_live_lookup(api_key='your_api_key', domain_name='google.com') response = {k: v for k, v in response.dict().items() if v is not None} # Filtering the Null values print(response) except ApiError as e: print(e.body)
Replace "google.com" with the domain you wish to query.
To perform other lookups using the Python SDK, click on one of the related options below.
WHOIS lookups
Offers live, reverse, historical, IP, ASN, and bulk domain WHOIS lookups.
DNS Lookups
Provides live, reverse, historical, and bulk DNS lookup services.
Domain Availability
Checks domain availability across TLDs and suggests alternatives.
Visit the official WhoisFreaks Python SDK documentation for SSL certificate lookups and management.

WhoisFreaks Python SDK
Use this powerful Python-based SDK to easily integrate, interact with, and manage data from the WhoisFreaks API seamlessly.
whoisfreaks.docs.buildwithfern.com