Skip to main content

TLS Version API

free
GET/v1/domain/tls-version

Actively 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

Compliance Officer

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.

Penetration Tester

Security Assessment

Identify weak TLS configurations during security assessments.

Document TLS misconfigurations for remediation recommendations.

DevOps Engineer

Infrastructure Hardening

Verify TLS configuration after hardening load balancers or web servers.

Confirm TLS hardening was applied correctly across infrastructure.

Parameters

NameLocationTypeRequiredDescription
domainquerystringRequiredThe domain to check TLS version support forExample: example.com
portquerynumberOptionalPort 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.

FieldTypeDescription
domainstringThe queried domain
portnumberThe port used for connection
negotiatedstring | nullTLS version negotiated in the native baseline connection, or null if unavailable.
negotiatedCipherstring | nullCipher negotiated in the native baseline connection, or null if unavailable.
pqHybridobjectKey-exchange group is not measured; supported remains null instead of inferring support from a CDN.
alignsWithobjectProfile/regulatory alignment remains unknown when the complete required evidence is not measured. Protocol acceptance alone does not establish compliance.
notestringMethodology and single-vantage limitations.
recommendationsarraySecurity improvement suggestions
supportedVersionsarrayTLS versions accepted in separate protocol-specific handshakes.
preferredVersionstring | nullVersion negotiated in the native baseline connection.
deprecatedVersionsarrayDeprecated TLS versions actually accepted by the target.
versionsarrayPer-protocol accepted, rejected or inconclusive handshake results.
completebooleanWhether 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
curl --request GET 'https://api.edgedns.dev/v1/domain/tls-version?domain=example.com' \
  --header "Authorization: Bearer YOUR_API_KEY"
JavaScript
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);
Python
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.

    Try This Endpoint

    Test the TLS Version endpoint live in the playground.

    TLS Version API Reference | EdgeDNS