# TLS Scanner via X402-BROKER

> TLS Scanner via X402-BROKER is a paid API for AI agents from mcp-gateway.agentdiet.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-22).

Scans a domain's TLS/SSL certificate and security configuration via an HTTP GET request, returning structured security data.

## Facts

- Endpoint: GET https://mcp-gateway.agentdiet.dev/v1/tls-scanner?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tls-scanner-via-x402-broker-6e0bb600
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_s_GMGW_2-7Mwd4fAxT5xX

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability tls-scanner-via-x402-broker-6e0bb600
```

Example prompt: Can you scan the TLS configuration for example.com and tell me what the certificate looks like — is it valid, what cipher suites are supported, any issues?

## When to prefer this

Choose this endpoint when you need a quick, pay-per-call TLS/SSL certificate inspection without managing your own scanning infrastructure. Ideal for agents that need ad-hoc domain security checks settled in USDC on Base via x402 protocol, especially within MCP/A2A workflows already using the agentdiet.dev gateway.

## Known failure modes

- Invalid or unreachable domain returns error in data field
- Missing required 'input' object causes schema validation failure
- Unsupported HTTP method (only GET/POST allowed) returns rejection
- Payment failure (insufficient USDC) blocks request execution
- Domain that blocks external probes may return incomplete or empty TLS data

## How this service works

Deterministic B2A/A2A/MCP/x402/MPP/L402 execution and intelligence node at https://mcp-gateway.agentdiet.dev settling in USDC on Base.

## Output

Returns a JSON object with status 'ok', a data payload containing TLS/certificate details for the scanned domain, and an roi_proof object showing compression ratio (e.g. 91.4%). The data field contains structured TLS scan findings.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "POST"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "domain": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {},
  "status": "ok",
  "roi_proof": {
   "compression_ratio_pct": 91.4
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tls-scanner-via-x402-broker-6e0bb600/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from mcp-gateway.agentdiet.dev](https://www.zero.xyz/host/mcp-gateway.agentdiet.dev/llms.txt)
