Skip to content

TLS Check API

1 endpointDeveloper & TechGlobalsocial:read

Inspects the TLS setup of a public host with hoshime's own handshakes: protocol versions and negotiated cipher suites, certificate chain, trust, OCSP stapling, HSTS and a grade from A+ to F.

View as Markdown
GET/tlscheck/inspectTLS inspection of a public host: protocol versions accepted (TLS 1.0 to 1.3) with the cipher suite negotiated for each, certificate chain (subject, issuer, SANs, validity, key type and size, signature algorithm), trust, OCSP stapling, HSTS header and a grade from A+ to F.

inspect

GET/v1/tlscheck/inspect

TLS inspection of a public host: protocol versions accepted (TLS 1.0 to 1.3) with the cipher suite negotiated for each, certificate chain (subject, issuer, SANs, validity, key type and size, signature algorithm), trust, OCSP stapling, HSTS header and a grade from A+ to F.

scope social:read2 unitscached 1 h

Parameters

host
string
required
Host name, such as example.com. A URL is reduced to its host.
e.g. example.com
port
integer
TCP port of the TLS service.
default 443
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

29 fields
alpnProtocolstring
certificatesCertificate[]
isCaboolean
issuerstring
keyBitsany
keyTypestring
notAfterAtstring
notBeforeAtstring
sansstring[]
serialNumberstring
sha256Fingerprintstring
signatureAlgorithmstring
subjectstring
gradestring
gradeReasonsstring[]
hoststring
hstsHsts | null
headerstring
includeSubDomainsboolean
maxAgeSecondsinteger (int64)
preloadboolean
ocspStapledboolean
portany
trustErrorstring
trustedboolean
versionsVersion[]
cipherSuitestring
protocolstring
supportedboolean
curl "https://api.hoshime.com/v1/tlscheck/inspect?host=example.com" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "data": {
    "alpnProtocol": "…",
    "certificates": [
      {
        "isCa": false,
        "issuer": "…",
        "keyBits": null,
        "keyType": "…",
        "notAfterAt": "2026-11-06T09:41:00Z",
        "notBeforeAt": "2026-11-06T09:41:00Z",
        "sans": [],
        "serialNumber": "…",
        "sha256Fingerprint": "…",
        "signatureAlgorithm": "…",
        "subject": "…"
      }
    ],
    "grade": "…",
    "gradeReasons": [
      "…"
    ],
    "host": "…",
    "hsts": {
      "header": "…",
      "includeSubDomains": false,
      "maxAgeSeconds": 0,
      "preload": false
    },
    "ocspStapled": false,
    "port": null,
    "trustError": "…",
    "trusted": false,
    "versions": [
      {
        "cipherSuite": "…",
        "protocol": "…",
        "supported": false
      }
    ]
  },
  "meta": {
    "cached": false,
    "endpoint": "inspect",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "tlscheck",
    "requestId": "req_2Xb9kQ…",
    "units": 2
  }
}
esc
↑↓ move↵ open