Security related services

SSL Labs API

by github.com

Security related services Added on October 31st, 2026 Checked and working on November 16th, 2026
Visit github.com →

What it does

The Qualys SSL Labs API runs the well-known SSL Server Test on any public website and returns its grade (A+ to F) with details about certificates, protocols, cipher suites and known vulnerabilities. Start a scan, poll until it is ready, and read the results as JSON. Free, but version 4 needs registration with an organisation e-mail address, and commercial use needs permission from Qualys.
  • API
  • HTTP-GET
  • JSON
  • REST

At a glance

API key
Needed, free · More APIs with a free key
Pricing
Free, but version 4 needs registration with an organisation e-mail address, and commercial use needs permission from Qualys.
From the browser
No, call it from a server
Formats
JSON
Interface
REST, HTTP-GET
Provider
github.com
Last checked
Working on November 16th, 2026

More information: https://github.com/ssllabs/ssllabs-scan/blob/master/ssllabs-api-docs-v4.md

Used in: Check a website's security, HTTPS and speed with free APIs

Is this your service? Show that it is listed

Put this badge on your website or in your README; it links to this page. About the badge

Listed on Free Web Services

github.com
SSL Labs API

Example request

curl

curl 'https://api.ssllabs.com/api/v4/analyze?host=example.com' \
  -H 'email: YOUR_REGISTERED_EMAIL'

JavaScript

const response = await fetch("https://api.ssllabs.com/api/v4/analyze?host=example.com", {
  headers: {
    "email": "YOUR_REGISTERED_EMAIL",
  },
});
const data = await response.json();
console.log(data);

Python

import requests

response = requests.get(
    "https://api.ssllabs.com/api/v4/analyze?host=example.com",
    headers={
        "email": "YOUR_REGISTERED_EMAIL",
    },
    timeout=30,
)
print(response.json())

Replace YOUR_REGISTERED_EMAIL with your own values from your account. Run the JavaScript on a server, such as Node.js 18 or newer: this API does not accept calls from web pages on other sites.

Did it work for you?

Tell us what you found when you tried SSL Labs API.