{"uid":"cap_5qxWbIXCKdFoDxe2fuZ4_","slug":"api-trustsource-cc-e4b912b7","name":"TrustSource SSL/TLS Certificate Intelligence","description":"Check whether a domain's TLS/SSL certificate is valid, trusted, and not expiring before connecting to it. Performs a live handshake and returns a 0–100 score and tier (VALID/WEAK/EXPIRING/EXPIRED/UNTRUSTED/INVALID) with chain trust, days-to-expiry, signature algorithm, TLS version, and cipher quality. Use before submitting credentials, posting to a webhook, or following a payment link, to catch expired, self-signed, or MITM-risk certificates.","url":"https://api.trustsource.cc/sslcheck","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 to perform a live TLS handshake against (e.g. example.com); port 443 is assumed."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"domain":"google.com"}}},"response":{"meta":{"cached":false,"paidWith":"x402/USDC","checkedAt":"2026-05-29T04:39:30.805Z","apiVersion":"1.0"},"tier":"VALID","chain":{"depth":4,"valid":true,"rootCa":"GlobalSign nv-sa","trusted":true},"score":100,"domain":"google.com","maxScore":100,"warnings":[],"breakdown":{"modernTls":10,"trustedCa":25,"chainValid":30,"notExpired":25,"strongCrypto":10},"connection":{"cipher":{"name":"TLS_AES_256_GCM_SHA384","version":"TLSv1.3"},"protocol":"TLSv1.3","authError":null,"authorized":true},"certificate":{"san":["*.google.com","*.appengine.google.com","*.bdn.dev","*.origin-test.bdn.dev","*.cloud.google.com","*.crowdsource.google.com","*.datacompute.google.com","*.google.ca","*.google.cl","*.google.co.in","*.google.co.jp","*.google.co.uk","*.google.com.ar","*.google.com.au","*.google.com.br","*.google.com.co","*.google.com.mx","*.google.com.tr","*.google.com.vn","*.google.de"],"issuer":"Google Trust Services","subject":"*.google.com","validTo":"2026-07-30T15:51:25.000Z","validFrom":"2026-05-07T15:51:26.000Z","isSelfSigned":false,"serialNumber":"434A9CE2B1BEA03712465721EB3FAB63","daysRemaining":62,"fingerprint256":"16:A1:EB:63:D1:FC:CC:47:80:09:5E:C3:61:20:56:39:EC:CA:BA:D6:D2:EF:7A:A6:D6:F6:D1:75:BC:EB:9A:2C"}}},"exampleRequest":{"domain":"google.com"},"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_VBNAWbNbacGszwq473Kxo","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes a domain's SSL/TLS certificate and returns a 0–100 trust score, tier classification, chain details, expiry info, signature algorithm, TLS protocol version, and cipher quality.","exampleAgentPrompt":"Can you check the SSL certificate health for stripe.com — I want to know the trust score, whether it's flagged as VALID or something worse, when it expires, and how strong the TLS protocol and cipher are?","exampleUseCases":[{"title":"Monitor customer-facing domains for certificate expiry","prompt":"Check the SSL certificate status for all our payment processor domains — I need to know if any are expiring soon, their current trust scores, and whether they're using weak ciphers or outdated TLS versions."},{"title":"Audit third-party vendor HTTPS security","prompt":"I need you to analyze the SSL certificates for our top five API vendor endpoints and give me their trust scores, tier classifications, and cipher suite quality — flag anything that's WEAK, EXPIRING, or using poor TLS protocols."},{"title":"Detect compromised or spoofed domains","prompt":"Can you check the SSL certificate trust score for these three domains that claim to be from our partner — I want to make sure their certificates are VALID, their chains are intact, and they're not UNTRUSTED or INVALID."}],"resultDescription":"Returns a 0–100 SSL/TLS trust score, a tier label (VALID, WEAK, EXPIRING, EXPIRED, UNTRUSTED, or INVALID), full certificate chain details, expiry timestamp, signature algorithm, TLS protocol version in use, and an assessment of cipher suite quality.","failureModes":["Domain not reachable or does not serve HTTPS — may return INVALID tier or error","Domain has no SSL certificate at all — returns INVALID or UNTRUSTED tier","Malformed domain input — likely returns a 400-level validation error","Network timeout reaching the target domain — may return an error or null score","Self-signed certificates flagged as UNTRUSTED with low score"],"whenToPreferThis":"Use this endpoint when you need structured, scored SSL/TLS certificate intelligence about a domain — specifically when you need the tier classification (VALID/WEAK/EXPIRING/EXPIRED/UNTRUSTED/INVALID), expiry awareness, cipher quality, and TLS protocol version all in a single call. Prefer this over generic WHOIS or HTTP header checks when the focus is certificate chain integrity and TLS configuration quality.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:35:25.785Z","isFirstParty":false}