F

fetchx402 · Tools SSL Check

by fetchx402

GETBase

$0.005

per call · USD Coin on Base

Inspect the leaf TLS certificate for a public hostname (validity, issuer, SANs, fingerprint, expiry). Use when you need live cert facts and must not guess. Expired or hostname-mismatched certs still return JSON flags.

Endpoint

GET https://api.fetchx402.com/v1/tools/ssl-check

1

Calls / 30d

1

Unique payers / 30d

Aug 13

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://api.fetchx402.com/v1/tools/ssl-check", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://api.fetchx402.com/v1/tools/ssl-check?domain=example.com&port=443" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "domain": "example.com",
  "expired": false,
  "fingerprint_sha256": "00",
  "hostname_match": true,
  "port": 443,
  "sans": [
    "example.com",
    "www.example.com"
  ],
  "sni": "example.com"
}

Payment details

Pay to0x33236133bece789d551d0b5c4f9a50095d4b57d3
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Developer Tools and the homepage with a featured placement.

Get featured →

More from fetchx402 & similar services