# Anokha Web Tools – TLS Certificate Checker

> Anokha Web Tools – TLS Certificate Checker is a paid API for AI agents from tools.anokha.space, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-02).

Retrieves TLS/SSL certificate details for a domain, including issuer, expiry date, days remaining, and Subject Alternative Names

## Facts

- Endpoint: GET https://tools.anokha.space/v1/tls?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/anokha-web-tools-tls-certificate-checker-ce156dc5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_85_8IiwBlol8RGWwVJ8Ou

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 anokha-web-tools-tls-certificate-checker-ce156dc5
```

Example prompt: Can you check the TLS certificate for anokha.space — I want to know the issuer, how many days until it expires, and what SANs are listed?

## When to prefer this

Use this endpoint when you need a quick, pay-per-call TLS certificate lookup without managing API keys. Ideal for agents that need to check cert expiry, validate issuers, or inspect SAN entries for arbitrary domains programmatically, especially in x402/USDC micropayment workflows on Base.

## Known failure modes

- Invalid or non-existent domain returns an error response
- Domain with no TLS certificate or unreachable HTTPS endpoint may return an error
- Malformed domain name input rejected by schema validation
- Network timeouts when the target domain is slow to respond

## How this service works

Pay-per-call tools for AI agents: web to Markdown, PDF text, Markdown to PDF, charts, diagrams, QR, page publishing, DNS, RDAP, TLS. x402, USDC on Base, no API key.

## Output

Returns a JSON object with the domain name, certificate issuer string, expiry date (not_after), number of days remaining (days_left), and an array of Subject Alternative Names (san) covered by the certificate.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "domain"
     ],
     "properties": {
      "domain": {
       "type": "string",
       "description": "Domain name, e.g. example.com"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "san": [
   "example.com"
  ],
  "domain": "example.com",
  "issuer": "...",
  "days_left": 60,
  "not_after": "..."
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/anokha-web-tools-tls-certificate-checker-ce156dc5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from tools.anokha.space](https://www.zero.xyz/host/tools.anokha.space/llms.txt)
