# Deadman Switch Registration — Onchain & Trading Intelligence Platform

> Deadman Switch Registration — Onchain & Trading Intelligence Platform is a paid API for AI agents from x402-services-production.up.railway.app, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-14).

Registers a deadman switch that fires a webhook if the monitored agent fails to ping within a specified interval

## Facts

- Endpoint: POST https://x402-services-production.up.railway.app/api/deadman/register
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/deadman-switch-registration-onchain-trading-intelligence-platform-efcb5493
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7btP8cV8TFKwA_6dCzre7

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 deadman-switch-registration-onchain-trading-intelligence-platform-efcb5493 -d '<json body>'
```

Example prompt: Register a deadman switch with ID 'agent-trader-01', firing my webhook at https://myserver.com/alert with secret token 'abc123' if I haven't pinged in 60 seconds.

## When to prefer this

Use this endpoint when you need a server-side deadman switch tied to the onchain trading intelligence platform's infrastructure — ideal for AI trading agents or on-chain bots that already use this platform's 130 tools and want built-in failsafe monitoring without running separate watchdog infrastructure. Prefer this over generic uptime monitoring services when your agent is already integrated with this platform's pay-per-call model.

## Known failure modes

- Missing required fields (id, url, token, intervalSec) returns a 400 validation error
- Invalid or unreachable webhook URL may cause silent failures when the switch fires
- Duplicate switch ID may overwrite an existing switch or return a conflict error
- Payment failure (insufficient USDC balance or unsupported stablecoin) returns a 402 error
- Very short intervalSec values may cause false positives due to network latency

## How this service works

Dead-man's switch: if you don't ping within intervalSec, we POST your webhook. Detects crashed agents. Send { id, token, url, intervalSec }.

## Output

A confirmation that the deadman switch has been registered, storing the switch ID, webhook URL, secret token, and interval. If the agent fails to ping within the specified interval, the registered webhook will be fired with the secret token to signal a missed heartbeat.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "id",
  "intervalSec",
  "token",
  "url"
 ],
 "properties": {
  "id": {
   "type": "string",
   "description": "Switch id"
  },
  "url": {
   "type": "string",
   "description": "Public webhook to fire on miss"
  },
  "token": {
   "type": "string",
   "description": "Your secret token"
  },
  "intervalSec": {
   "type": "number",
   "description": "Max seconds between pings"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/deadman-switch-registration-onchain-trading-intelligence-platform-efcb5493/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-services-production.up.railway.app](https://www.zero.xyz/host/x402-services-production.up.railway.app/llms.txt)
