{"uid":"cap_hh4y-6CqMpNqem3m2i2tU","slug":"agentstoolshub-ssl-certificate-expiry-checker-a0b19ed7","name":"AgentsToolsHub SSL Certificate Expiry Checker","description":"Fast TLS certificate expiry check: days remaining, issuer, validity window and an expired/expiring-soon flag, read live from a TLS handshake. The cheap monitoring primitive agents should call on a schedule before a cert lapses and an integration breaks. Use this when an agent needs to days until a certificate expires — the lightweight check.","url":"https://agentstoolshub.com/api/v1/security/ssl-expiry?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":["domain"],"properties":{"domain":{"type":"string","description":"Domain"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_2pR-5M2zLH3S-inhcEUgE","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Checks a domain's TLS certificate in real-time and returns days remaining until expiry, issuer, validity window, and an expired/expiring-soon flag.","exampleAgentPrompt":"How many days are left on the SSL certificate for api.myapp.com — is it about to expire or already expired?","exampleUseCases":[{"title":"Pre-deployment certificate health check","prompt":"Before we push the new release, can you check how many days are left on the SSL cert for staging.mycompany.com and flag it if it's expiring in the next 30 days?"},{"title":"Scheduled cert monitoring across production domains","prompt":"Check the TLS certificate expiry for shop.example.com and tell me the issuer, how many days remain, and whether it's in danger of lapsing soon."},{"title":"Post-migration SSL validation","prompt":"We just migrated our site — can you verify that the SSL certificate for newsite.mybrand.io is valid, who issued it, and roughly how long it's good for?"}],"resultDescription":"Returns the number of days remaining until the certificate expires, the certificate issuer, the validity window (not-before and not-after dates), and boolean flags indicating whether the certificate is already expired or expiring soon — all read live from a TLS handshake against the target domain.","failureModes":["Domain not found or DNS resolution failure — endpoint cannot connect to perform handshake","Domain provided without a TLS-enabled server — no certificate to inspect","Expired certificate causing handshake rejection before data can be read","Rate limit exceeded — too many requests in a short window","Invalid domain format in query parameter — missing or malformed input"],"whenToPreferThis":"Prefer this endpoint when an agent needs a lightweight, real-time TLS certificate status check without standing up monitoring infrastructure. It's ideal for scheduled pre-expiry alerts, one-off validation checks after deployments or migrations, or as a cheap polling primitive integrated into automated workflows. Use it over full certificate management platforms when you only need expiry days, issuer identity, and an expiring-soon signal rather than certificate issuance or renewal capabilities.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T18:44:39.557Z","isFirstParty":false,"canonicalSlug":"agentstoolshub-ssl-certificate-expiry-checker-a0b19ed7"}