# SafeStream API - Full SSL Certificate Stream (Hourly, with DER Encoding)

> SafeStream API - Full SSL Certificate Stream (Hourly, with DER Encoding) is a paid API for AI agents from api.thesafestream.com, paid per call via x402, $0.42/call, status down (last checked 2026-09-15).

Authenticates payment for hourly access to a real-time WebSocket stream of complete SSL certificates including DER encoding for deep cryptographic analysis.

## Facts

- Endpoint: POST https://api.thesafestream.com/paid/auth/full-stream
- Price: $0.42/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/safestream-api-hourly-full-ssl-certificate-stream-der-encoded-97d16c39
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_by9knrFfpHHzkktlTqh7v

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 safestream-api-hourly-full-ssl-certificate-stream-der-encoded-97d16c39 -d '<json body>'
```

Example prompt: Get me hourly access to SafeStream's full SSL certificate stream — I need the complete certificates with DER encoding for deep cryptographic analysis, so connect me to their real-time WebSocket feed.

## When to prefer this

Choose this endpoint when you need the richest possible SSL certificate data — full certificates including DER binary encoding — for deep cryptographic analysis, certificate parsing, or forensic investigation. Prefer over the non-DER stream when downstream processing requires raw binary certificate fields. Choose the hourly tier over the daily tier when you need frequent or near-real-time refresh of access without committing to a full day subscription.

## Known failure modes

- Payment not completed or x402 payment rejected — success: false, no token issued
- Token expires quickly (check expiresIn in milliseconds) requiring re-authentication
- WebSocket connection fails if token is not used before expiresAt
- Invalid or missing payment credentials result in 402 or 401 error
- Rate limiting if too many authentication requests are made within the hour

## How this service works

Hourly access to full SSL certificates with DER encoding. Complete SSL certificates with DER encoding for deep analysis. Full documentation: https://www.thesafestream.com

## Output

Returns a short-lived access token, a WebSocket URL (wss://api.thesafestream.com/paid/full-stream?token=xxx), a success flag, and the token's expiration time (ISO 8601 timestamp and milliseconds remaining). The agent uses the WebSocket URL and token to connect to the live stream of complete SSL certificates with DER encoding.

## Request schema (JSON Schema)

```json
{
 "properties": {
  "input": {
   "properties": {
    "body": {
     "type": "object",
     "properties": {}
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "token": {
     "type": "string"
    },
    "success": {
     "type": "boolean"
    },
    "expiresAt": {
     "type": "string",
     "format": "date-time"
    },
    "expiresIn": {
     "type": "number"
    },
    "websocketUrl": {
     "type": "string"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "token": {
  "type": "string",
  "description": "Access token for WebSocket connection"
 },
 "success": {
  "type": "boolean",
  "description": "Whether payment was successful"
 },
 "expiresAt": {
  "type": "string",
  "description": "Token expiration timestamp (ISO 8601)"
 },
 "expiresIn": {
  "type": "number",
  "description": "Milliseconds until token expiration"
 },
 "websocketUrl": {
  "type": "string",
  "description": "WebSocket URL: wss://api.thesafestream.com/paid/full-stream?token=xxx"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/safestream-api-hourly-full-ssl-certificate-stream-der-encoded-97d16c39/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.thesafestream.com](https://www.zero.xyz/host/api.thesafestream.com/llms.txt)
