Docs

TLS Report

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.

Agent discoveryUse OpenAPI and the x402 catalog before calling paid endpoints.
openapi.jsonx402 catalogllms-full.txt

Call

Method
POST
URL
https://api.x402dataapi.com/v1/tls-report
Price
0.001 USDC
Network
eip155:8453
TTL
3600s
Timeout
15000ms

Agent value

This endpoint returns structured JSON suitable for autonomous agents, scanners and workflow tools.

x402ai-agentstlssslhttps

Input schema

{
  "type": "object",
  "properties": {
    "host": {
      "type": "string",
      "description": "Public hostname to inspect"
    },
    "port": {
      "type": "number",
      "description": "TLS port, usually 443"
    }
  },
  "required": [
    "host"
  ]
}

Input example

{
  "host": "example.com",
  "port": 443
}

Output example

{
  "host": "example.com",
  "port": 443,
  "tls_enabled": true,
  "issuer": "Example CA",
  "days_remaining": 60,
  "errors": []
}

curl

curl -X POST https://api.x402dataapi.com/v1/tls-report \
  -H "Content-Type: application/json" \
  -d '{"host":"example.com","port":443}'

Payment behavior

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}'