TLS Version API
free/v1/domain/tls-versionActively tests TLS protocol versions against the target and reports accepted, rejected and inconclusive handshakes. Results describe one measurement vantage point and do not assume that a successful HTTPS request proves support for other versions.
What It Does
Attempts separate native TLS handshakes for supported client protocol versions, recording negotiated versions and ciphers. Deprecated accepted versions become findings; timeouts and client limitations remain inconclusive. Includes validation outcomes and per-protocol probe outcomes.
Why It's Useful
TLS version support directly impacts security posture. PCI DSS 4.0.1 (current version) and NIST SP 800-52r2 require TLS 1.2 as a minimum, and HIPAA follows similar guidance. This endpoint helps verify compliance and identify servers needing protocol updates.
Use Cases
Security Compliance Audit
Verify all public-facing servers have disabled TLS 1.0 and 1.1 as required by PCI DSS 4.0.
Maintain compliance by identifying servers with deprecated TLS versions.
Security Assessment
Identify weak TLS configurations during security assessments.
Document TLS misconfigurations for remediation recommendations.
Infrastructure Hardening
Verify TLS configuration after hardening load balancers or web servers.
Confirm TLS hardening was applied correctly across infrastructure.
Parameters
| Name | Location | Type | Required | Description |
|---|---|---|---|---|
domain | query | string | Required | The domain to check TLS version support forExample: example.com |
port | query | number | Optional | Port to connect to (default: 443)Example: 443 |
Response Fields
Result fields below are inside the JSON data object. Any row named meta describes the sibling response metadata object. See response and error handling for status codes and error responses. Optional observations may be absent or null; inspect warnings and partial-failure fields before treating a missing result as a negative finding.
| Field | Type | Description |
|---|---|---|
domain | string | The queried domain |
port | number | The port used for connection |
negotiated | string | null | TLS version negotiated in the native baseline connection, or null if unavailable. |
negotiatedCipher | string | null | Cipher negotiated in the native baseline connection, or null if unavailable. |
pqHybrid | object | Key-exchange group is not measured; supported remains null instead of inferring support from a CDN. |
alignsWith | object | Profile/regulatory alignment remains unknown when the complete required evidence is not measured. Protocol acceptance alone does not establish compliance. |
note | string | Methodology and single-vantage limitations. |
recommendations | array | Security improvement suggestions |
supportedVersions | array | TLS versions accepted in separate protocol-specific handshakes. |
preferredVersion | string | null | Version negotiated in the native baseline connection. |
deprecatedVersions | array | Deprecated TLS versions actually accepted by the target. |
versions | array | Per-protocol accepted, rejected or inconclusive handshake results. |
complete | boolean | Whether all applicable version checks completed conclusively. |
Code Examples
Replace YOUR_API_KEY with your API key. This endpoint requires the free plan or higher; see plans and usage limits.
curl --request GET 'https://api.edgedns.dev/v1/domain/tls-version?domain=example.com' \
--header "Authorization: Bearer YOUR_API_KEY"const response = await fetch(
"https://api.edgedns.dev/v1/domain/tls-version?domain=example.com",
{
"method": "GET",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
);
if (!response.ok) {
throw new Error(`EdgeDNS returned HTTP ${response.status}`);
}
const data = await response.json();
console.log(data);import requests
response = requests.request(
'GET',
"https://api.edgedns.dev/v1/domain/tls-version?domain=example.com",
headers={'Authorization': 'Bearer YOUR_API_KEY'},
timeout=60,
)
response.raise_for_status()
data = response.json()
print(data)Read the full TLS Version guide
Learn the concepts, choose a practical workflow, and interpret the observations from TLS Version before acting on them. Run supported checks via MCP or through REST.
Read the guide →Related Endpoints
External References
Learn more about the standards and protocols behind this endpoint.