South Star

TLS Cipher Suite Decoder Security Linter SSL Checker API

Free tier included · Cybersecurity
Decode IANA TLS cipher suites and lint OpenSSL/nginx strings with scores, grades, and batch support;.

TLS Cipher Suite Decoder & Security Linter decodes any of the 356 IANA-registered TLS cipher suites by IANA name, OpenSSL/GnuTLS name, or code point (e.g. `TLS_AES_256_GCM_SHA384`, `ECDHE-RSA-AES128-GCM-SHA256`, `0xC02F`). Each decode returns the code point, TLS versions (1.0–1.3), key exchange, authentication, encryption, hash, strength bits, mode, forward secrecy, RFC, IANA Recommended flag, security level (ciphersuite.info scale), and weaknesses (CBC, RC4, 3DES/SWEET32, DES, NULL, EXPORT, MD5, SHA1, anonymous, no forward secrecy, IANA deprecated, TLS 1.0/1.1 only). GREASE values are recognised.

Three endpoints cover the workflow. `/decode` handles a single suite. `/decode/full` returns the extended decode with all registry fields, security analysis, and related suites. `/security-lint` grades a whole cipher list or a full OpenSSL/nginx cipher string with a numeric score, letter grade (A–F), and warnings, recommending replacements for weak or deprecated choices. `/batch/decode` and `/batch/lint` process up to 100 suites or cipher lists per call, so you can audit a fleet's TLS configs in one request.

The service is offline and stateless: it ships a bundled IANA registry snapshot, makes no external network calls, and stores nothing — no databases, no request logs, no cross-request state. That makes it privacy-friendly for config-review automation and fast, since decoding is a lookup plus formatting over short strings. Responses are tiny and a 100-item batch completes in milliseconds.

Honest limits: the registry is a snapshot, so newly published suites need a rebuild before they decode. Key exchange and authentication for TLS 1.3 suites are reported as `TLS13` (implicit), since TLS 1.3 hides those in the protocol. Batch endpoints cap at 100 items per request and 256 ciphers per `/security-lint` call. A single `/decode` accepts a `suite` of 4–128 characters; unknown references return a structured 404 error.

Endpoints

MethodPathWhat it does
GET/API metadata: name, version, and paths to the interactive docs and health endpoint.
GET/healthLiveness probe; returns status "ok" while the process is up.
GET/decodeDecode one TLS cipher suite by IANA name, OpenSSL/GnuTLS name, or code point. suite is a required query parameter (4–128 chars). Unknown references return HTTP 404 with a structured error.
GET/decode/fullExtended decode of a TLS cipher suite including all registry fields, security analysis, and related suites. suite is required (4–128 chars); format optional (json default, xml, yaml).
POST/security-lintLint a cipher list or a whole OpenSSL/nginx cipher string. Body: {"ciphers": ["TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384", "TLS_RSA_WITH_3DES_EDE_CBC_SHA"]} — an item may be a full OpenSSL cipher string like ECDHE-RSA-AES128-GCM-SHA256:AES128-SHA. Caps at 256 ciphers. Returns a score, letter grade (A–F), and warnings with recommended replacements.
GET/suitesList cipher suites, optionally filtered by security (recommended | acceptable | weak | insecure) and/or protocol (TLS 1.0 | TLS 1.1 | TLS 1.2 | TLS 1.3).
POST/batch/decodeDecode up to 100 TLS cipher suites in one call. Body: {"suites": ["TLS_AES_256_GCM_SHA384", "0xC02F"]}. Optional format query (json default, xml, yaml). Returns per-item results in request order plus totals.
POST/batch/lintLint up to 100 cipher suite lists in one call. Body: {"batches": [["TLS_AES_256_GCM_SHA384","TLS_RSA_WITH_RC4_128_MD5"],["ECDHE-RSA-AES128-GCM-SHA256:AES128-SHA"]]}. Optional format query (json default, xml, yaml). Returns per-batch results in request order plus totals.

Quick start

curl -X GET "https://tlscipher.p.rapidapi.com/decode?suite=TLS_AES_256_GCM_SHA384" \
  -H "X-RapidAPI-Key: YOUR_RAPIDAPI_KEY" \
  -H "X-RapidAPI-Host: tlscipher.p.rapidapi.com"

FAQ

Does the API make any external network calls?

No. It ships a bundled IANA registry snapshot and decodes entirely offline — no calls to IANA, ciphersuite.info, or any other external source. There are no databases and no logs.

How many suites can I decode or lint in one request?

`/batch/decode` and `/batch/lint` cap at 100 items per call. `/security-lint` accepts up to 256 ciphers per call. A single `/decode` or `/decode/full` handles one suite at a time.

What does a TLS 1.3 suite's key exchange and authentication show?

They are reported as `TLS13` (implicit), because TLS 1.3 hides those in the protocol. The encryption, hash, and forward-secrecy fields are still populated from the suite name.

Is the registry up to date with the latest IANA suites?

It is a snapshot built from the IANA CSV plus ciphersuite.info and OpenSSL sources. Newly published suites decode only after a rebuild; check `/suites` to see what is currently covered.

Try TLS Cipher Suite Decoder Security Linter SSL Checker free

Free tier on every plan. Get an API key and start calling in under a minute.

Open on RapidAPI

Related APIs