# Arkham x402 WebSocket Session Info

> Arkham x402 WebSocket Session Info is a paid API for AI agents from api.arkm.com, paid per call via x402, $0.2/call, status unknown (last checked 2026-09-14).

Retrieves current WebSocket session details for an Arkham x402 subscription, including renewal date and per-session/per-transfer credit allocations.

## Facts

- Endpoint: POST https://api.arkm.com/x402/ws/session-info
- Price: $0.2/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/arkham-x402-websocket-session-info-558a28e3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_AChV_eYSBVjzkg1srmsdO

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 arkham-x402-websocket-session-info-558a28e3 -d '<json body>'
```

Example prompt: Check my Arkham x402 WebSocket session info — I want to know my credit per session, credit per transfer, and when the subscription renews next.

## When to prefer this

Use this endpoint when you need to programmatically inspect the state of an active Arkham x402 WebSocket subscription — specifically to check credit balances and renewal timing before making downstream data calls. Prefer this over manual dashboard checks when building automated agents that need to gate behavior on available session credits or schedule actions around renewal windows.

## Known failure modes

- Invalid or missing x402 payment token returns 402 Payment Required
- Expired session credentials return 401 Unauthorized
- Malformed POST body returns 400 Bad Request
- Network timeout or service unavailability returns 503
- Insufficient USDC balance to cover $0.20 per-call fee blocks access

## How this service works

Get Arkham WebSocket pricing info. $0.20 per call.

## Output

Returns a JSON object with: nextRenewalDate (ISO 8601 timestamp of when the subscription renews), creditPerSession (integer credits available per WebSocket session), and creditPerTransfer (integer credits consumed per data transfer).

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "$schema": "https://json-schema.org/draft/2020-12/schema",
     "properties": {},
     "additionalProperties": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "number"
       },
       {
        "type": "boolean"
       },
       {
        "type": "array",
        "items": {
         "anyOf": [
          {
           "type": "string"
          },
          {
           "type": "number"
          },
          {
           "type": "boolean"
          }
         ]
        }
       }
      ]
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "$schema": "https://json-schema.org/draft/2020-12/schema"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "nextRenewalDate": "2026-08-19T00:00:00Z",
  "creditPerSession": 500,
  "creditPerTransfer": 2
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/arkham-x402-websocket-session-info-558a28e3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.arkm.com](https://www.zero.xyz/host/api.arkm.com/llms.txt)
