# SSL certificate check

GET https://horizonpulse.dev/api/domain/ssl

- Price: $0.005 per call. The exact amount is in the 402.
- Pay with: USDC on Base, USDC on Polygon
- Family: Sites and security (/catalog/sites-security.md)

## What it returns
To check a host's TLS certificate: one direct handshake on port 443 returns issuer, subject, SANs, valid from/to, days remaining, expired, hostname match, chain length and chain validation as observed, plus protocol. Input: one public hostname, one name per call. No HTTP request is sent. Errors are not charged. USDC on Base or Polygon. On USDC on Base, errors are not charged, apart from the exceptions noted on a route. On USDC on Solana, and RLUSD on the XRP Ledger, a refused or failed request may still be charged. On Polygon (native USDC), a request is settled only when it succeeds (HTTP status below 400). Failed requests are not charged.

## Inputs
See /openapi.json for this path.

## If the call fails
- USDC on Base: errors are not charged, apart from the exceptions noted on a route.
- On Polygon (native USDC), a request is settled only when it succeeds (HTTP status below 400). Failed requests are not charged.

## Try it
- Call it unpaid to read the 402: GET https://horizonpulse.dev/api/domain/ssl
- Setup: /setup.md
