Docs

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.

Request

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

Tags

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
}

Response Example

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

Errors

PAYMENT_REQUIREDNo valid x402 payment signature was provided.
INVALID_PAYMENTThe signature was malformed, expired, replayed or does not match the endpoint price/resource.
VALIDATION_ERRORThe JSON input does not match the documented schema.
SSRF_PRIVATE_HOSTThe target resolves to a private or blocked address.

curl without payment

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

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

Intent

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

x402ai-agentstlssslhttpscertificatecertificate-expirationissuersanchain-healthhostname-audit

x402 agent flow

  1. Read /llms.txt.
  2. Fetch /openapi.json or /.well-known/x402-catalog.json.
  3. Inspect schema, price and network.
  4. Pay with x402 and 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