{"uid":"cap_kZk0JFa4pzZ2wTVrGWglQ","slug":"nightshift-ssl-tls-certificate-checker-07bb4e6c","name":"Nightshift SSL/TLS Certificate Checker","description":"TLS/SSL certificate check for a host: live verified HTTPS handshake (reachable, status, HSTS) plus the newest valid certificate from public Certificate Transparency logs: issuer, notBefore/notAfter, days left, covered names, wildcard, other active certs. Flags certs expiring within 14/30 days, missing certs, failed handshakes, very new certs and mixed issuers. Use for uptime/expiry monitoring or to vet a site.","url":"https://nightshift-x402.nightshift-labs.workers.dev/v1/domain/ssl?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["host"],"properties":{"host":{"type":"string","description":"host name, e.g. github.com or api.example.com"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"host":"github.com","flags":[],"https":{"hsts":"max-age=31536000; includeSubdomains; preload","status":200,"reachable":true,"chainTrusted":true},"latestCertificate":{"names":["github.com","www.github.com"],"issuer":"Sectigo","daysLeft":65,"notAfter":"2027-01-11T23:59:59Z","wildcard":false},"activeCertificates":2}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_FI8Rbpk5FjrDpofbuo2Oi","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Performs a live HTTPS handshake verification and fetches the latest certificate from Certificate Transparency logs for a given host, returning expiry, issuer, HSTS, and active cert details.","exampleAgentPrompt":"Can you check the SSL certificate status for api.example.com — I want to know if it's reachable over HTTPS, who issued the cert, how many days are left before it expires, and whether HSTS is enabled?","exampleUseCases":[{"title":"Pre-launch HTTPS security audit","prompt":"Before we go live, check the SSL setup for staging.myapp.io — confirm the HTTPS handshake works, the cert is trusted, HSTS is set, and tell me who issued the cert and how long it's valid for."},{"title":"Expiry monitoring for production domain","prompt":"Can you check how many days are left on the TLS certificate for payments.acme.com? Flag it if it's expiring within 30 days and tell me how many active certs are currently listed for that host."},{"title":"Vetting an unfamiliar third-party site","prompt":"I need to vet the site cdn.vendor-partner.net before we integrate with it — check if its HTTPS handshake is clean, who issued the certificate, whether it covers any wildcard names, and if there are mixed issuers across active certs."}],"resultDescription":"Returns a JSON object with: live HTTPS reachability, HTTP status code, HSTS header value, chain trust status; the newest valid certificate's issuer, notBefore/notAfter dates, days remaining, covered names, wildcard flag; total count of active certificates; and warning flags for certs expiring within 14 or 30 days, missing certs, failed handshakes, very new certs, and mixed issuers.","failureModes":["Host unreachable or DNS resolution fails — reachable:false with no certificate data","TLS handshake fails — chainTrusted:false and failed handshake flag","No certificate found in CT logs — missing cert flag raised","Invalid or missing 'host' query parameter — 400 error","Rate limit or x402 payment failure — 402 response before data is returned"],"whenToPreferThis":"Use this endpoint when you need both a live HTTPS reachability check AND Certificate Transparency log data in a single call. Prefer it over generic uptime monitors when you need issuer details, expiry countdown, wildcard coverage, and multi-cert auditing. Ideal for pre-launch site vetting, automated certificate expiry alerting pipelines, or quickly auditing an unfamiliar third-party domain's TLS posture.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-18T01:09:18.127Z","isFirstParty":false,"canonicalSlug":"nightshift-ssl-tls-certificate-checker-07bb4e6c"}