UtilityActive

SSL Certificate Check

Inspect SSL/TLS certificate for any domain. Returns valid boolean, days_remaining, issuer, valid_from, valid_to, subject_alt_names (SANs), fingerprint_sha256, and protocol version. Default port 443. Use for certificate expiry monitoring, security audits, or HTTPS verification.

Endpointx402 Payment Required

POST

https://agentsvc.io/api/v1/proxy/ssl-check

Price

$0.001 USDC

Latency P99

~800ms

Provider

agentsvc.io

Input Schema

{ "type": "object", "required": [ "domain" ], "properties": { "domain": { "type": "string", "description": "Domain to check SSL for (e.g. 'github.com', 'api.example.com'). Do not include https://" }, "port": { "type": "integer", "default": 443, "description": "Port to check (default: 443)" } } }

Output Schema

{ "type": "object", "required": [ "domain", "port", "valid", "days_remaining" ], "properties": { "domain": { "type": "string", "description": "The checked domain" }, "port": { "type": "integer", "description": "The port that was checked" }, "valid": { "type": "boolean", "description": "true if certificate is currently valid and not expired" }, "subject": { "type": "string", "description": "Certificate subject (CN=...)" }, "subject_alt_names": { "type": "array", "items": { "type": "string" }, "description": "Subject Alternative Names the cert is valid for" }, "issuer": { "type": "string", "description": "Certificate issuer organization" }, "valid_from": { "type": "string", "format": "date-time", "description": "Certificate valid-from date (ISO 8601)" }, "valid_to": { "type": "string", "format": "date-time", "description": "Certificate expiry date (ISO 8601)" }, "days_remaining": { "type": "integer", "description": "Number of days until certificate expires (negative = already expired)" }, "serial_number": { "type": "string", "description": "Certificate serial number (hex)" }, "fingerprint_sha256": { "type": "string", "description": "SHA-256 fingerprint of the certificate" }, "protocol": { "type": "string", "description": "TLS protocol version in use (e.g. TLSv1.3)" } }, "example": { "domain": "github.com", "port": 443, "valid": true, "subject": "CN=github.com", "subject_alt_names": [ "github.com", "www.github.com" ], "issuer": "DigiCert Inc", "valid_from": "2024-03-07T00:00:00.000Z", "valid_to": "2025-03-07T23:59:59.000Z", "days_remaining": 156, "serial_number": "0a:bc:12:...", "fingerprint_sha256": "AB:CD:EF:...", "protocol": "TLSv1.3" } }

Code Examples

# Step 1: Call without payment → receive 402 with requirements
curl -X POST "https://agentsvc.io/api/v1/proxy/ssl-check" \
  -H "Content-Type: application/json" \
  -d '{
  "domain": "your_domain",
  "port": 443
}'

# Step 2: Sign payment using x402 SDK, then retry
curl -X POST "https://agentsvc.io/api/v1/proxy/ssl-check" \
  -H "Content-Type: application/json" \
  -H "X-Payment: x402 usdc base <your-signed-payment>" \
  -d '{
  "domain": "your_domain",
  "port": 443
}'

Tags

#ssl#tls#certificate#security#https#expiry#monitoring

Service Info

Service IDsvc_sslcheck_12
Categoryutility
StatusActive
ChainBase (USDC)
Protocolx402
Read API Documentation →