79trust / 100

Sslcheck

by api.trustsource.cc in Security & trust

x402 APIPassing, checked 16 min ago

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.

GET https://api.trustsource.cc/sslcheck

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
522 ms typical, 593 ms slowest 5%
Last check
16 min ago
Next check
in 13 min

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://api.trustsource.cc/sslcheck?domain=google.com"
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.trustsource.cc%2Fsslcheck
const res = await pay("https://api.trustsource.cc/sslcheck?domain=google.com");
console.log(await res.json());

Example input

{
  "domain": "google.com"
}

Example output

{
  "breakdown": {
    "chainValid": 30,
    "modernTls": 10,
    "notExpired": 25,
    "strongCrypto": 10,
    "trustedCa": 25
  },
  "domain": "google.com",
  "score": 100,
  "tier": "VALID"
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
16 min agoPassed402537 ms$0.002
4 h agoPassed402545 ms$0.002
7 h agoPassed402642 ms$0.002
11 h agoPassed402425 ms$0.002
15 h agoPassed402522 ms$0.002
18 h agoPassed402593 ms$0.002
23 h agoPassed402492 ms$0.002
26 h agoPassed402501 ms$0.002
29 h agoPassed402525 ms$0.002
34 h agoPassed402518 ms$0.002