# Qualys SSL Labs Server Test API reference

> The Qualys SSL Labs API v4 runs the SSL Server Test programmatically. It returns a grade and the detailed findings for a public HTTPS host: certificate chain, protocols, cipher suites, HSTS and HTTP policies, and results of vulnerability tests such as Heartbleed and ROBOT. Calls are HTTP GET with…

Source: https://osinttools.io/apis/ssl-labs-server-test/ (Markdown view of an OSINTtools.io page; append `.md` to any page URL for this format).

Compiled by OSINTtools.io editors from the vendor's docs, updated Nov 29, 2026. Listing: https://osinttools.io/tools/ssl-labs-server-test/

- Base URL: https://api.ssllabs.com/api/v4
- Authentication: API key in the `email` header. The email address registered through the register call.
- Rate limits: Qualys may cap concurrent assessments and total assessments per period; exceeding them returns 429 for new assessments. After each new assessment wait newAssessmentCoolOff milliseconds (from info). Responses carry X-Max-Assessments and X-Current-Assessments headers.
- Vendor docs: https://github.com/ssllabs/ssllabs-scan/blob/master/ssllabs-api-docs-v4.md

## Overview

The Qualys SSL Labs API v4 runs the SSL Server Test programmatically. It returns a grade and the detailed findings for a public HTTPS host: certificate chain, protocols, cipher suites, HSTS and HTTP policies, and results of vulnerability tests such as Heartbleed and ROBOT.

Calls are HTTP GET with JSON responses (register is a POST). You register once with an organizational email address (common consumer providers are not allowed), then send that address in an `email` header on `analyze` and `getEndpointData`. Commercial use generally needs Qualys's explicit permission.

An assessment usually takes at least 60 seconds: start one with `analyze`, then poll it every 5 seconds until it is IN_PROGRESS and every 10 seconds after that, until the status is READY or ERROR. A fresh assessment connects to the tested host, so it is an active check. The `getRootCertsRaw` call (root certificates per trust store) is not documented here.

## Errors

| Status | Meaning |
| --- | --- |
| 400 | Invalid invocation or parameters |
| 441 | Not registered; use the register call |
| 429 | Request rate too high or too many new assessments |
| 500 | Internal error; retry, and give up after repeated 500s |
| 503 | Service unavailable (for example maintenance); wait about 15 minutes |
| 529 | Service overloaded; wait about 30 minutes |

## Assessments

### Start an assessment of a host, or fetch its status or a cached report.

`GET /analyze`

- Takes: Domain
- Footprint: active (contacts the target)

Returns a Host object. Use startNew=on once to begin, then poll without it. Use fromCache=on (with maxAge) to get a cached report. startNew and fromCache cannot be combined. Interim responses hold only endpoint status; the final response has full data.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `host` | query | string | yes | Hostname to assess Example: example.com |
| `publish` | query | string | no | Publish the result to the public boards One of: on, off |
| `startNew` | query | string | no | Start a new assessment. Use once only; repeated use can cause an assessment loop. One of: on, off |
| `fromCache` | query | string | no | Return a cached report if available. Cannot be combined with startNew. One of: on, off |
| `maxAge` | query | string | no | Maximum age of a cached report, in hours; used with fromCache Example: 24 |
| `all` | query | string | no | on returns full endpoint info; done returns it only when status is READY or ERROR One of: on, done |
| `ignoreMismatch` | query | string | no | Proceed even if the certificate does not match the hostname One of: on, off |

Response fields:

- `host` (string): Assessed hostname
- `port` (integer): Port tested
- `protocol` (string): Protocol tested
- `isPublic` (boolean): Whether the result is on the public boards
- `status` (string): DNS, ERROR, IN_PROGRESS or READY
- `statusMessage` (string): Status text
- `startTime` (integer): Assessment start time
- `testTime` (integer): Assessment completion time
- `engineVersion` (string): Assessment engine version
- `criteriaVersion` (string): Grading criteria version
- `cacheExpiryTime` (integer): When the cached report expires
- `certHostnames[]` (string): Hostnames in the certificates
- `endpoints[].ipAddress` (string): Server IP address
- `endpoints[].serverName` (string): Server name
- `endpoints[].statusMessage` (string): Endpoint status; Ready on success
- `endpoints[].grade` (string): Grade: A+, A-, A to F, T or M
- `endpoints[].hasWarnings` (boolean): Whether the endpoint has warnings
- `endpoints[].isExceptional` (boolean): Whether the endpoint is exceptional
- `endpoints[].progress` (integer): Assessment progress
- `endpoints[].details` (object): Detailed findings: chains, protocols, suites, policies, vulnerability tests
- `certs[]` (object): Certificates with subject, validity dates, issuer, key info and hashes

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

Example response (200):

```json
{
  "host": "example.com",
  "port": 443,
  "protocol": "http",
  "isPublic": false,
  "status": "READY",
  "startTime": 1700000000000,
  "testTime": 1700000090000,
  "engineVersion": "2.3.0",
  "criteriaVersion": "2009q",
  "endpoints": [
    {
      "ipAddress": "192.0.2.10",
      "statusMessage": "Ready",
      "grade": "A",
      "hasWarnings": false,
      "isExceptional": false,
      "progress": 100
    }
  ]
}
```

### Detailed results for one endpoint (IP) of a host, without starting an assessment.

`GET /getEndpointData`

- Takes: Domain
- Footprint: passive (the target is not contacted)

Returns an Endpoint object. Does not start a new assessment. The docs' own example for this call shows the analyze path, which looks like a documentation error.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `host` | query | string | yes | Hostname Example: example.com |
| `s` | query | string | yes | Endpoint IP address Example: 192.0.2.10 |
| `fromCache` | query | string | no | Return a cached report if available One of: on, off |

Response fields:

- `ipAddress` (string): Endpoint IP address
- `serverName` (string): Server name
- `statusMessage` (string): Endpoint status; Ready on success
- `grade` (string): Grade: A+, A-, A to F, T or M
- `hasWarnings` (boolean): Whether the endpoint has warnings
- `details` (object): Detailed findings: chains, protocols, suites, policies, vulnerability tests

```bash
curl 'https://api.ssllabs.com/api/v4/getEndpointData?host=example.com&s=192.0.2.10' \
  -H 'email: YOUR_API_KEY'
```

Example response (200):

```json
{
  "ipAddress": "192.0.2.10",
  "statusMessage": "Ready",
  "grade": "A",
  "hasWarnings": false,
  "details": {
    "protocols": []
  }
}
```

## Service

### Check availability and read engine versions and concurrency limits.

`GET /info`

- Footprint: passive (the target is not contacted)

No parameters. Use newAssessmentCoolOff to pace new assessments.

Response fields:

- `engineVersion` (string): Engine version
- `criteriaVersion` (string): Criteria version
- `maxAssessments` (integer): Maximum concurrent assessments
- `currentAssessments` (integer): Assessments currently running
- `newAssessmentCoolOff` (integer): Milliseconds to wait between new assessments
- `messages[]` (string): Messages; private ones start with [Private]

```bash
curl 'https://api.ssllabs.com/api/v4/info' \
  -H 'email: YOUR_API_KEY'
```

Example response (200):

```json
{
  "engineVersion": "2.3.0",
  "criteriaVersion": "2009q",
  "maxAssessments": 25,
  "currentAssessments": 3,
  "newAssessmentCoolOff": 1000,
  "messages": [
    "Example message"
  ]
}
```

### Register an organizational email address to use the API.

`POST /register`

- Footprint: passive (the target is not contacted)

Consumer email providers (Gmail, Yahoo, Hotmail) are not allowed. The registered address is then sent in the email header.

Response fields:

- `message` (string): Result message
- `status` (string): success or failure

```bash
curl -X POST 'https://api.ssllabs.com/api/v4/register' \
  -H 'email: YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{"firstName":"Alex","lastName":"Example","email":"alex@example.org","organization":"Example Org"}'
```

Example response (200):

```json
{
  "message": "Registration successful",
  "status": "success"
}
```

---

Listings on OSINTtools.io are reviewed by editors and re-verified on a schedule; check pricing and availability on the vendor's site before relying on them, and use OSINT tools only with a lawful basis.
Site index for agents: https://osinttools.io/llms.txt · Full catalog: https://osinttools.io/llms-full.txt · MCP server (Streamable HTTP, no auth): https://osinttools.io/mcp/
