NewAPIVerve Academy: free courses and certifications anyone can verify.Explore the Academy →

TLS Checker API

GET

Check supported TLS versions and highest negotiable protocol for any domain.

TLS Checker tests which TLS protocol versions a server accepts by running a live handshake for each of TLS 1.0, 1.1, 1.2 and 1.3. It reports the highest version, the cipher the server picks, whether the certificate validates, whether deprecated protocols are still exposed, a risk score and a letter grade from a published rubric.

Try it — live request, no key required

Request
GETapi.apiverve.com/v1/tlscheck?domain=amazon.com
Query parameters
Verification
Format

No key required to try it. Get a key to use it in your app.

Example
{
  "status": "ok",
  "error": null,
  "data": {
    "domain": "amazon.com",
    "tlsVersions": {
      "TLSv1": false,
      "TLSv1.1": false,
      "TLSv1.2": true,
      "TLSv1.3": true
    },
    "highestVersion": "TLSv1.3",
    "negotiatedCipher": "TLS_AES_256_GCM_SHA384",
    "forwardSecrecy": true,
    "certificateTrusted": true,
    "certificateError": null,
    "hasDeprecatedTLS": false,
    "isSecure": true,
    "riskScore": 0,
    "riskLevel": "low",
    "grade": "A+",
    "gradeReasons": []
  }
}

About the TLS Checker API

A TLS checker API for testing a server's TLS version support from code, a cron job or a CI pipeline, with the answer in seconds. TLS Checker connects to the domain and port you give it and runs a separate handshake at each protocol version, so it reports exactly which of TLS 1.0, 1.1, 1.2 and 1.3 are accepted. From the handshake at the highest version it returns the negotiated cipher, whether that cipher has forward secrecy, and whether the certificate validates for the host. It flags deprecated TLS 1.0/1.1, returns a composite risk score, and assigns an A+ to F grade using APIVerve's own documented rubric: TLS 1.2 or newer and a valid certificate are required; TLS 1.0/1.1, or a chosen cipher without forward secrecy or AEAD, caps the grade at B; A+ needs TLS 1.3. It does not enumerate every cipher suite or test for named vulnerabilities, so the grade is not an SSL Labs grade.

What people use it for

Payment Gateway Auditing
Before onboarding merchant checkout domains, fintech compliance auditors check whether incoming endpoints accept legacy protocols like TLS 1.0 or 1.1.
Deployment Pipeline Verification
Flag outdated web server configurations during production releases by testing handshake support across all modern protocol versions before traffic switches over.
Attack Surface Scanning
Security analysts query customer-facing domains periodically to find legacy protocol support and review the highest negotiable version across exposed web ports.
Vendor Security Assessments
When evaluating SaaS suppliers, procurement teams inspect external hostnames to confirm that partner servers negotiate TLS 1.2 or 1.3.

Ways to call it

One endpoint, many ways in — REST with JSON, XML, YAML and CSV, plus GraphQL and an MCP interface for AI agents.

JSON
Default REST response
XML
Markup format
YAML
Human-readable
CSV
Tabular export
Beta
GraphQL
Query language
New
MCP
For AI agents

How it compares

Side by side with the tools people weigh TLS Checker against — what each one is better at, in plain terms.

Other ways to use TLS Checker

Same data, same APIVerve account, same credit balance — one key works on all of them.

Questions.

Common questions about the TLS Checker API.

Read the docs →
Which TLS versions does the check test against?
The check runs live handshakes for TLS 1.0, 1.1, 1.2 and 1.3 and reports each one. From the highest version it also returns the negotiated cipher, whether it has forward secrecy, and whether the certificate validates for the host. You can target any domain and set a custom port if the service does not run on HTTPS port 443.
Which plan fits 25,000 domain TLS checks a month?
The Starter plan easily covers this volume. Each check costs 2 credits, so 25,000 scans use 50,000 of the 200,000 credits on Starter, working out to about $0.30 per 1,000 calls. The Free plan includes 100 checks each month for testing.
Are the grade, risk score and deprecated protocol flags available on the Free plan?
No, those are premium fields. The Free plan reports raw version support, the highest negotiable version, the negotiated cipher, forward secrecy and certificate validity. The letter grade and its reasons, the composite risk score, the risk level band, the deprecated TLS flag and the overall security verdict unlock on any paid plan.
Does this check use cached data or scan live?
Every check performs real-time TLS handshakes directly against the destination host and port at the moment of your request. It does not rely on cached or historical scan databases.
What does the response return if a server refuses all TLS connections?
If none of the tested TLS protocols successfully negotiate a handshake, each protocol flag returns false and the highest version field returns null. You can use that null check to detect non-TLS services or connection failures.
How is the TLS grade calculated?
It is APIVerve's own rubric, applied only to what this check measures. No TLS 1.2 or 1.3, or a certificate that fails validation, is an F. Accepting TLS 1.0 or 1.1, or choosing a cipher without forward secrecy or AEAD at the highest version, caps the grade at B. Otherwise the grade is A, or A+ when TLS 1.3 is supported. Every deduction is listed in gradeReasons. It does not enumerate cipher suites or probe for vulnerabilities, so it is not equivalent to an SSL Labs grade.

Ready to build with TLS Checker? Start with 200 free credits — one key unlocks all 300+ APIs.

Explore the catalog

300+ APIs on the same key and the same response shape.

Browse all APIs