{"uid":"cap_7btP8cV8TFKwA_6dCzre7","slug":"deadman-switch-registration-onchain-trading-intelligence-platform-efcb5493","name":"Deadman Switch Registration — Onchain & Trading Intelligence Platform","description":"Dead-man's switch: if you don't ping within intervalSec, we POST your webhook. Detects crashed agents. Send { id, token, url, intervalSec }.","url":"https://x402-services-production.up.railway.app/api/deadman/register","method":"POST","headers":{},"bodySchema":{"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"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_yCVheLt1GlAHDyz_00QeS","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Registers a deadman switch that fires a webhook if the monitored agent fails to ping within a specified interval","exampleAgentPrompt":"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.","exampleUseCases":[{"title":"Trading bot liveness failsafe","prompt":"Set up a deadman switch called 'perps-bot' that will POST to https://ops.myhedgefund.com/halt with token 'halt-secret-99' if the bot hasn't checked in within 30 seconds — I want an automatic kill switch if it goes silent."},{"title":"DeFi agent health monitoring","prompt":"Register a watchdog with ID 'defi-rebalancer' pointing to my webhook https://alerts.myapp.io/down with token 'rebal-watchdog' and a 120-second timeout so I get notified if my rebalancing agent crashes."},{"title":"On-chain agent uptime alerting","prompt":"Create a deadman switch ID 'sniper-agent-sol' with webhook https://discord-bridge.mybot.xyz/notify, secret token 'sol-sniper-key', and a 45-second interval so my team gets pinged on Discord if the Solana sniping agent stops running."}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:42:01.778Z","isFirstParty":false}