Web
SSL/TLS certificate check API
Check a host's SSL certificate: issuer, validity window, days until expiry, and trust. Answers 'is this SSL cert valid', 'when does this certificate expire', 'check the TLS cert for this host'.
Price$0.01per request
MethodPOST
Route/v1/web/ssl-check
StatusLive
MIME typeapplication/json
Rate limit60/minute
Cache600s public
webssltlscertificateexpiryhttpssecurity
API URL
Integration docshttps://x402.hexl.dev/v1/web/ssl-checkExample request
{
"host": "example.com"
}Example response
{
"host": "example.com",
"valid": true,
"issuer": "DigiCert Inc",
"subject": "example.com",
"validFrom": "2025-01-01T00:00:00Z",
"validTo": "2026-01-01T00:00:00Z",
"daysUntilExpiry": 210,
"flags": []
}Input schema
{
"type": "object",
"required": [
"host"
],
"properties": {
"host": {
"type": "string",
"examples": [
"example.com"
]
}
}
}Output schema
{
"type": "object",
"required": [
"host",
"valid"
],
"properties": {
"host": {
"type": "string"
},
"valid": {
"type": "boolean"
},
"issuer": {
"type": [
"string",
"null"
]
},
"subject": {
"type": [
"string",
"null"
]
},
"validFrom": {
"type": [
"string",
"null"
]
},
"validTo": {
"type": [
"string",
"null"
]
},
"daysUntilExpiry": {
"type": [
"number",
"null"
]
},
"flags": {
"type": "array",
"items": {
"type": "string"
}
}
}
}