Skip to main content

Cipher Suites API

developer
GET/v1/domain/ciphers

Enumerates cipher suites accepted by the target through real TLS handshakes and grades the measured results. Reference profiles are not presented as evidence of target support.

What It Does

Tests locally available cipher suites against accepted TLS versions with bounded concurrency and scan duration. Reports measured suites, protocol outcomes, completion state and inconclusive checks. Grades forward secrecy, AEAD and cipher strength from the measured evidence; unsupported client capabilities remain explicit.

Why It's Useful

Cipher suite configuration determines the actual encryption strength of TLS connections. Weak ciphers (RC4, DES, export ciphers) can be exploited even with modern TLS versions, and missing forward secrecy means a compromised server key decrypts all past traffic. Regular cipher auditing against Mozilla SSL Configuration Generator (modern/intermediate profiles) and NIST SP 800-52r2 is required for PCI-DSS and SOC 2 compliance.

Use Cases

Security Engineer

Security Hardening Verification

After configuring cipher suites, verify only strong ciphers are enabled and properly ordered.

Confirm cipher hardening is effective and no weak ciphers remain.

Auditor

Compliance Assessment

Verify cipher suite configuration meets compliance requirements (e.g., NIST guidelines).

Document cipher compliance for regulatory audits.

Penetration Tester

Vulnerability Assessment

Identify weak cipher suites that could be exploited in downgrade attacks.

Find cryptographic weaknesses during security assessments.

Parameters

NameLocationTypeRequiredDescription
domainquerystringRequiredThe domain to analyze cipher suites 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
overallGradestringGrade for a completed scan; unknown if the bounded scan is incomplete.
reference_ciphersarrayEmpty for live scans; reference profiles are never counted as measured target support.
methodologyobjectMeasurement provenance: live-handshakes, native client method and scan limitations.
pq_hybridobjectKey-exchange group was not measured; support is null rather than inferred from provider defaults.
ciphersarrayAccepted cipher suites measured through native TLS handshakes; alias of measured_ciphers.
bestCipherstringName of the strongest cipher suite
worstCipherstringName of the weakest cipher suite
issuesarraySecurity issues found with the cipher configuration
recommendationsarrayActionable cipher suite improvement suggestions
serverInfoobjectDetected CDN and server information (cdn, server)
analysisMethodstringNative measurement method used to obtain the cipher data.
tlsVersionsarrayTLS versions represented by accepted cipher measurements.
supportsForwardSecrecyboolean | nullObserved/reference key-exchange evidence; null when TLS1.3 AEAD names cannot establish separately negotiated forward secrecy.
supportsAEADbooleanWhether any cipher uses authenticated encryption (AEAD)
mozillaCompatibilityobjectFull profile compatibility remains unknown unless all required protocol and group evidence is measured.
countnumberTotal number of cipher suites
timestampstringISO 8601 timestamp of the analysis
measured_ciphersarrayCipher suites accepted by actual TLS handshakes.
completebooleanWhether the bounded enumeration completed.
inconclusivearrayUnresolved checks and client/budget limitations.

Code Examples

Replace YOUR_API_KEY with your API key. This endpoint requires the developer plan or higher; see plans and usage limits.

cURL
curl --request GET 'https://api.edgedns.dev/v1/domain/ciphers?domain=example.com' \
  --header "Authorization: Bearer YOUR_API_KEY"
JavaScript
const response = await fetch(
  "https://api.edgedns.dev/v1/domain/ciphers?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/ciphers?domain=example.com",
    headers={'Authorization': 'Bearer YOUR_API_KEY'},
    timeout=60,
)
response.raise_for_status()
data = response.json()
print(data)

Read the full Cipher Suites guide

Learn the concepts, choose a practical workflow, and interpret the observations from Cipher Suites 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 Cipher Suites endpoint live in the playground.

    Cipher Suites API Reference | EdgeDNS