Call
- Method
POST- URL
https://api.x402dataapi.com/v1/tls-report- Price
- 0.001 USDC
- Network
- eip155:8453
- TTL
- 3600s
- Timeout
- 15000ms
Paid x402 API for AI agents that checks TLS certificate health, SSL report data, HTTPS certificate expiration, issuer, validity, SAN coverage, chain health, HTTPS readiness and certificate risk for a public hostname.
POSThttps://api.x402dataapi.com/v1/tls-reportThis endpoint returns structured JSON suitable for autonomous agents, scanners and workflow tools.
{
"type": "object",
"properties": {
"host": {
"type": "string",
"description": "Public hostname to inspect"
},
"port": {
"type": "number",
"description": "TLS port, usually 443"
}
},
"required": [
"host"
]
}{
"host": "example.com",
"port": 443
}{
"host": "example.com",
"port": 443,
"tls_enabled": true,
"issuer": "Example CA",
"days_remaining": 60,
"errors": []
}curl -X POST https://api.x402dataapi.com/v1/tls-report \
-H "Content-Type: application/json" \
-d '{"host":"example.com","port":443}'Paid endpoints return HTTP 402 with payment requirements when called without a valid x402 payment signature.
curl -X POST https://api.x402dataapi.com/v1/tls-report \
-H "Content-Type: application/json" \
-H "PAYMENT-SIGNATURE: <x402-payment-payload>" \
-d '{"host":"example.com","port":443}'