{"uid":"cap_r8-9xzZMAFaRlvkq7vO0_","slug":"ssl-certificate-check-a3ee1a03","name":"SSL Certificate Check","description":"817 pay-per-call APIs for AI agents. Every endpoint is POST /<name> and is payable in USDC over x402 on Base and Solana — no signup, no API key, just pay-per-call. GET https://x402.agentutility.ai/ returns the same catalog as machine-readable JSON.","url":"https://x402.agentutility.ai/ssl-certificate-check?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"required":["host"],"properties":{"host":{"type":"string","description":"Hostname to inspect, e.g. 'example.com'. Normalized (scheme/port stripped)."},"history":{"type":"boolean","description":"Include up to 50 historical certificates for the host. Optional, default false."}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"host":{"type":"string"},"days_until_expiry":{"type":"integer"},"issuer_common_name":{"type":"string"}}}}}}},"responseSchema":{"type":"json","example":{"host":"example.com","days_until_expiry":60,"issuer_common_name":"Cloudflare TLS Issuing ECC CA 3"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.03","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Z3naGe6TaY-ccFXMknSpq","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Inspects the SSL/TLS certificate for a given hostname and returns expiry, issuer, and optionally historical certificate data","exampleAgentPrompt":"Can you check the SSL certificate for api.stripe.com — I want to know who issued it and how many days until it expires? Also pull the last 50 historical certs for that host.","exampleUseCases":[{"title":"Pre-launch certificate expiry audit","prompt":"Before we go live tomorrow, can you check the SSL certificate on myapp.example.com and tell me how many days until it expires and which CA issued it?"},{"title":"Security review of third-party vendor","prompt":"I need to verify the TLS certificate details for payments.acmecorp.com — who issued it, is it still valid, and can you also pull the historical certificate records for that host?"},{"title":"Automated cert expiry monitoring","prompt":"Check the SSL cert for blog.mycompany.io — I want to know the issuer and how many days we have left before it expires so I can decide whether to renew now."}],"resultDescription":"Returns a JSON object containing the hostname, the number of days remaining until the SSL certificate expires, the issuer's common name (e.g. 'Cloudflare TLS Issuing ECC CA 3'), and optionally an array of up to 50 historical certificates for the host when the history flag is set to true.","failureModes":["Host unreachable or does not exist — returns an error indicating the hostname could not be resolved","Host has no SSL/TLS certificate (HTTP-only) — returns an error or empty certificate data","Hostname normalization failure if scheme or port is included incorrectly — API strips these but malformed input may cause unexpected results","Rate or payment failure — x402 payment not accepted, call rejected before processing"],"whenToPreferThis":"Use this endpoint when you need a quick, pay-per-call SSL certificate lookup without maintaining any infrastructure or API key subscriptions. It is ideal for agents doing one-off certificate checks, pre-deployment audits, or monitoring pipelines that need issuer and expiry data on demand. Prefer this over running openssl commands or scraping crt.sh when you need clean structured JSON output including optional certificate history.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-21T12:37:36.168Z","isFirstParty":false,"canonicalSlug":"ssl-certificate-check-a3ee1a03"}