Cipher Suites API
developer/v1/domain/ciphersEnumerates 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 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.
Compliance Assessment
Verify cipher suite configuration meets compliance requirements (e.g., NIST guidelines).
Document cipher compliance for regulatory audits.
Vulnerability Assessment
Identify weak cipher suites that could be exploited in downgrade attacks.
Find cryptographic weaknesses during security assessments.
Parameters
| Name | Location | Type | Required | Description |
|---|---|---|---|---|
domain | query | string | Required | The domain to analyze cipher suites 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 |
overallGrade | string | Grade for a completed scan; unknown if the bounded scan is incomplete. |
reference_ciphers | array | Empty for live scans; reference profiles are never counted as measured target support. |
methodology | object | Measurement provenance: live-handshakes, native client method and scan limitations. |
pq_hybrid | object | Key-exchange group was not measured; support is null rather than inferred from provider defaults. |
ciphers | array | Accepted cipher suites measured through native TLS handshakes; alias of measured_ciphers. |
bestCipher | string | Name of the strongest cipher suite |
worstCipher | string | Name of the weakest cipher suite |
issues | array | Security issues found with the cipher configuration |
recommendations | array | Actionable cipher suite improvement suggestions |
serverInfo | object | Detected CDN and server information (cdn, server) |
analysisMethod | string | Native measurement method used to obtain the cipher data. |
tlsVersions | array | TLS versions represented by accepted cipher measurements. |
supportsForwardSecrecy | boolean | null | Observed/reference key-exchange evidence; null when TLS1.3 AEAD names cannot establish separately negotiated forward secrecy. |
supportsAEAD | boolean | Whether any cipher uses authenticated encryption (AEAD) |
mozillaCompatibility | object | Full profile compatibility remains unknown unless all required protocol and group evidence is measured. |
count | number | Total number of cipher suites |
timestamp | string | ISO 8601 timestamp of the analysis |
measured_ciphers | array | Cipher suites accepted by actual TLS handshakes. |
complete | boolean | Whether the bounded enumeration completed. |
inconclusive | array | Unresolved 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 --request GET 'https://api.edgedns.dev/v1/domain/ciphers?domain=example.com' \
--header "Authorization: Bearer YOUR_API_KEY"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);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.