{"openapi":"3.1.0","info":{"title":"Ledgerbell onchain alerts (Quietwork Labs)","version":"0.3.0","contact":{"email":"quietworklabs@outlook.com"},"description":"Onchain alerts to webhooks for Base/Ethereum/Arbitrum/OP. Free tier via /api/key; Pro via x402 or USDC invoice. By Quietwork Labs (see /about, /terms).","x-guidance":"GET /x402/pro-30d (x402, $5) returns an lb_ key with 30 days Pro. Then POST /api/watch {chain, kind: wallet|contract|event|safe_queue, address, webhook, event?} with header x-api-key. Free: POST /api/key."},"servers":[{"url":"https://ledgerbell.quietworklabs.workers.dev"}],"x-discovery":{"ownershipProofs":["0x7fcc4de0b54031049382f421735a622ccd77f2def1384267ef68acbd93dc1d8f204f4a5acd7f9726969e9a0ad8a534f0d864d9906124e8be7058c55c2e1fa5e31b"]},"paths":{"/x402/pro-6d":{"get":{"operationId":"buy_pro_6d","summary":"Buy 6 days of Pro (returns API key)","description":"Buys 6 days of Ledgerbell Pro: 30 onchain watches (wallet ERC-20 transfers + new token approvals, contract/Safe admin events such as proxy upgrades, ownership, Safe owner/threshold/module changes, timelock and governor events, or any custom event) on Base, Ethereum, Arbitrum and OP Mainnet, delivered to Discord/Slack/Telegram/ntfy/any webhook within ~1-2 min, 1000 alerts/day. Returns an API key (or extends ?key=lb_...). Then POST /api/watch. Includes queued Safe transaction alerts and proxy-upgrade \"what changed\" reports. By Quietwork Labs; best-effort, see /terms.","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"1"},"protocols":[{"x402":{}}]},"parameters":[{"in":"query","name":"key","required":false,"schema":{"type":"string"},"description":"Existing lb_ key to extend"}],"responses":{"200":{"description":"Key","content":{"application/json":{"schema":{"type":"object","properties":{"key":{"type":"string"},"plan":{"type":"string"},"pro_until":{"type":"integer"}},"required":["key","plan","pro_until"]}}}},"402":{"description":"Payment Required"}}}},"/x402/pro-7d":{"get":{"operationId":"buy_pro_7d","summary":"Buy 7 days of Pro (returns API key)","description":"Buys 7 days of Ledgerbell Pro: 30 onchain watches (wallet ERC-20 transfers + new token approvals, contract/Safe admin events such as proxy upgrades, ownership, Safe owner/threshold/module changes, timelock and governor events, or any custom event) on Base, Ethereum, Arbitrum and OP Mainnet, delivered to Discord/Slack/Telegram/ntfy/any webhook within ~1-2 min, 1000 alerts/day. Returns an API key (or extends ?key=lb_...). Then POST /api/watch. Includes queued Safe transaction alerts and proxy-upgrade \"what changed\" reports. By Quietwork Labs; best-effort, see /terms.","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"1.25"},"protocols":[{"x402":{}}]},"parameters":[{"in":"query","name":"key","required":false,"schema":{"type":"string"},"description":"Existing lb_ key to extend"}],"responses":{"200":{"description":"Key","content":{"application/json":{"schema":{"type":"object","properties":{"key":{"type":"string"},"plan":{"type":"string"},"pro_until":{"type":"integer"}},"required":["key","plan","pro_until"]}}}},"402":{"description":"Payment Required"}}}},"/x402/pro-30d":{"get":{"operationId":"buy_pro_30d","summary":"Buy 30 days of Pro (returns API key)","description":"Buys 30 days of Ledgerbell Pro: 30 onchain watches (wallet ERC-20 transfers + new token approvals, contract/Safe admin events such as proxy upgrades, ownership, Safe owner/threshold/module changes, timelock and governor events, or any custom event) on Base, Ethereum, Arbitrum and OP Mainnet, delivered to Discord/Slack/Telegram/ntfy/any webhook within ~1-2 min, 1000 alerts/day. Returns an API key (or extends ?key=lb_...). Then POST /api/watch. Includes queued Safe transaction alerts and proxy-upgrade \"what changed\" reports. By Quietwork Labs; best-effort, see /terms.","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"5"},"protocols":[{"x402":{}}]},"parameters":[{"in":"query","name":"key","required":false,"schema":{"type":"string"},"description":"Existing lb_ key to extend"}],"responses":{"200":{"description":"Key","content":{"application/json":{"schema":{"type":"object","properties":{"key":{"type":"string"},"plan":{"type":"string"},"pro_until":{"type":"integer"}},"required":["key","plan","pro_until"]}}}},"402":{"description":"Payment Required"}}}},"/api/key":{"post":{"operationId":"create_key","summary":"Create a free API key","security":[],"responses":{"201":{"description":"Key"}}}},"/api/watch":{"post":{"operationId":"add_watch","summary":"Add a watch (x-api-key header)","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"chain":{"type":"string","enum":["base","ethereum","arbitrum","optimism"]},"kind":{"type":"string","enum":["wallet","contract","event","safe_queue"]},"safe_api_key":{"type":"string","description":"Optional Safe Transaction Service API key (safe_queue only)"},"address":{"type":"string"},"webhook":{"type":"string"},"event":{"type":"string"},"token":{"type":"string"},"label":{"type":"string"}},"required":["chain","kind","address","webhook"]}}}},"responses":{"201":{"description":"Created"}}}},"/api/me":{"get":{"operationId":"me","summary":"Plan, watches, invoices (x-api-key header)","responses":{"200":{"description":"OK"}}}}}}