# TLS Report API

> 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.

Intent: x402 TLS certificate API, SSL report API for agents, HTTPS certificate expiration API, public hostname TLS audit

## Discovery

- OpenAPI: https://api.x402dataapi.com/openapi.json
- x402 catalog: https://api.x402dataapi.com/.well-known/x402-catalog.json
- Capabilities: https://api.x402dataapi.com/capabilities
- Pricing: https://api.x402dataapi.com/pricing

## Tags

- x402
- ai-agents
- tls
- ssl
- https
- certificate
- certificate-expiration
- issuer
- san
- chain-health
- hostname-audit

## Endpoint

- Method: POST
- URL: https://api.x402dataapi.com/v1/tls-report
- Price: 0.001 USDC
- Network: eip155:8453

## Input schema

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

## Output example

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

## curl without payment

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

## x402 payment behavior

Unsigned paid calls return HTTP 402 with a PAYMENT-REQUIRED header. Pay with x402, then retry with PAYMENT-SIGNATURE.

## Agent use case

TLS certificate issuer, validity, expiration, SAN coverage and chain health for a public host.

## Discovery keywords

x402 TLS certificate API, SSL report API for agents, HTTPS certificate expiration API, public hostname TLS audit
