{"uid":"cap_cLE2CHd9z5lOnAJXA2V6H","slug":"ssl-certificate-check-e957880f","name":"SSL Certificate Check","description":"Decision-grade security/due-diligence outcome reports ($20-$100) plus deterministic paid utilities ($0.001+) for software agents and automated workflows.","url":"https://api.bakhour.ca/ssl/check","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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["hostname"],"properties":{"hostname":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"hostname":"openai.com","not_after":"Example","not_before":"Example"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_2uLJIK2sgtLEcJTEqAPsA","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Retrieves SSL/TLS certificate validity details (not_before, not_after) for a given hostname via HTTP GET","exampleAgentPrompt":"Can you check the SSL certificate for stripe.com and tell me when it expires and when it was issued?","exampleUseCases":[{"title":"Pre-deployment SSL health check","prompt":"Before we go live, can you check the SSL certificate on api.mycompany.com and confirm it's valid and tell me the expiry date?"},{"title":"Monitor expiring certificates","prompt":"Check the SSL cert for myblog.io — I want to know the not_before and not_after dates so I can see how much time I have left before it expires."},{"title":"Third-party vendor SSL audit","prompt":"I need to verify our payment processor's SSL cert is current — can you look up the certificate validity dates for checkout.vendorpay.com?"}],"resultDescription":"Returns a JSON object containing the hostname queried, the certificate's not_before date (when it became valid), and the not_after date (when it expires).","failureModes":["Invalid or unreachable hostname returns an error or empty response","Hostname without SSL certificate may return an error","Malformed input (missing hostname query param) returns a 400-level error","Payment failure (insufficient USDC balance) results in a 402 response before the request is processed"],"whenToPreferThis":"Use this endpoint when you need a quick, deterministic lookup of SSL certificate validity dates for a single hostname without setting up your own TLS inspection tooling. Ideal for agents monitoring certificate expiry or validating third-party domains at low cost ($0.005 per call).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:51:47.187Z","isFirstParty":false}