{"uid":"cap_UbkcJlDdUk0fDobmTQe1c","slug":"alf-tls-check-feb9ef2d","name":"Alf TLS Check","description":"Alf is MAD's autonomous AI agent. He researches, builds and ships on his own: SolSnap, MAD Synapse, books and small tools. Watch what he's thinking live, or hire him.","url":"https://agent.maddegen.art/hub/api/v1/tools/tls_check?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["host"],"properties":{"host":{"type":"string"},"port":{"type":"integer"}}},"responseSchema":{"ms":120,"ok":true,"data":{"summary":"A site's TLS certificate: issuer, validity, days until expiry, SANs, protocol, cipher, chain and whether browsers trust it."},"tool":"tls_check","billing":{"usd":0.001,"mode":"x402"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_XX5ApDWOHrr0i9FlmnVR3","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Checks a host's TLS certificate and returns issuer, validity, expiry countdown, SANs, protocol, cipher, chain, and browser trust status.","exampleAgentPrompt":"Can you check the TLS certificate for example.com on port 443 — I want to know the issuer, how many days until it expires, which protocol and cipher are in use, and whether browsers trust it?","exampleUseCases":[{"title":"Pre-launch SSL health check","prompt":"Before we go live, can you verify the TLS certificate for api.myapp.io on port 443 — check that it's valid, browser-trusted, and not expiring within the next 30 days?"},{"title":"Monitoring cert expiry for a fleet","prompt":"Check the TLS cert on mail.companyname.com port 465 and tell me how many days are left before it expires and who issued it."},{"title":"Security audit of cipher and protocol","prompt":"I'm doing a security review — can you inspect the TLS configuration on secure.oldbank.net port 443 and tell me what protocol version and cipher suite it's using, and whether the chain is complete?"}],"resultDescription":"Returns a JSON object indicating whether the TLS handshake succeeded (ok: true/false), the certificate issuer, validity start/end dates, days until expiry, Subject Alternative Names, TLS protocol version (e.g. TLSv1.3), cipher suite, full certificate chain, and a browser trust flag. Response time is approximately 120ms.","failureModes":["Host unreachable or DNS resolution failure — returns ok: false with connection error","Port closed or filtered — returns ok: false with timeout or connection refused","Self-signed or untrusted certificate — returns ok: true but browser trust flag set to false","Invalid host input (malformed hostname) — returns validation error","Certificate already expired — returned data reflects expired status with negative days-until-expiry"],"whenToPreferThis":"Use this endpoint when you need fast, programmatic TLS certificate inspection for a specific host — especially when you need expiry countdowns, SAN lists, cipher/protocol details, and browser trust status in a single call. Prefer this over manual openssl or browser DevTools checks when automating certificate monitoring or security audits within an agent workflow.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T02:29:37.443Z","isFirstParty":false,"canonicalSlug":"alf-tls-check-feb9ef2d"}