@seekdaseek/plugin-agentfeed 0.4.1 → 0.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Live crypto market data for [elizaOS](https://github.com/elizaOS/eliza) trading agents, paid per-call in USDC over the [x402 protocol](https://x402.org) on Solana.
4
4
 
5
- No API keys. No subscriptions. No signup. Your agent holds a wallet, and pays $0.001–$0.01 per call only when it actually needs data.
5
+ No API keys. No subscriptions. No signup. Your agent holds a wallet, and pays $0.001–$0.10 per call only when it actually needs data.
6
6
 
7
7
  Backed by [AgentFeed](https://x402.ochinimus.app) — multi-exchange liquidation collection (Bybit + OKX WebSocket), Bybit v5 positioning, spot prices (multi-source: Coinbase, Kraken, Pyth Hermes fallback), and Helius DAS on-chain data.
8
8
 
@@ -10,6 +10,8 @@ Backed by [AgentFeed](https://x402.ochinimus.app) — multi-exchange liquidation
10
10
 
11
11
  | Action | Data | Price |
12
12
  |---|---|---|
13
+ | `AGENTFEED_GET_EXIT_QUOTE` | What a lending reserve would realise if seized and sold: oracle mark vs live-routed realisable value, haircut in bps, whether the liquidation bonus covers it | $0.02 |
14
+ | `AGENTFEED_GET_EXIT_METHOD` | How those exit measurements are produced, so they can be checked rather than trusted | free |
13
15
  | `AGENTFEED_GET_TRADE_CONTEXT` | Full market state: prices, funding, fear/greed, positioning, liquidations | $0.01 |
14
16
  | `AGENTFEED_GET_LIQUIDATIONS` | Recent SOL/BTC liquidation prints, filterable | $0.003 |
15
17
  | `AGENTFEED_GET_LIQUIDATION_STATS` | 1h/24h totals, long/short split, biggest print | $0.004 |
package/dist/index.js CHANGED
@@ -179,7 +179,7 @@ var ENDPOINTS = [
179
179
  usd: 0.05,
180
180
  action: "AGENTFEED_GET_CASCADE_SCAN",
181
181
  similes: ["CASCADE_SCAN", "FULL_CASCADE_SCAN", "SCAN_ALL_LIQUIDATIONS", "WHAT_IS_CASCADING"],
182
- description: "Scan for liquidation cascades across the FULL universe of ~600 USDT perps on Bybit, OKX and Binance simultaneously ($0.05) \u2014 not just the majors. Returns each active cascade: symbol, side liquidated, USD total, print count, duration, severity (minor/major/extreme). Bybit is the only complete unthrottled liquidation tape in crypto and no exchange publishes history of it, so this coverage is not available anywhere else. Use when the agent needs to know what is blowing up across the whole market, including alts it is not already watching.",
182
+ description: "Scan for liquidation cascades across the FULL universe of every USDT perp we record on Bybit, OKX and Binance simultaneously ($0.05) \u2014 not just the majors. Returns each active cascade: symbol, side liquidated, USD total, print count, duration, severity (minor/major/extreme). Bybit is the only complete unthrottled liquidation tape in crypto and no exchange publishes history of it, so this coverage is not available anywhere else. Use when the agent needs to know what is blowing up across the whole market, including alts it is not already watching.",
183
183
  triggers: [
184
184
  "is anything cascading right now",
185
185
  "scan the whole market for liquidation cascades",
@@ -192,7 +192,7 @@ var ENDPOINTS = [
192
192
  usd: 0.02,
193
193
  action: "AGENTFEED_GET_LIQUIDATION_LEADERS",
194
194
  similes: ["LIQUIDATION_LEADERS", "WHATS_GETTING_REKT", "TOP_LIQUIDATIONS"],
195
- description: "Rank the top symbols by liquidation USD right now across ~600 USDT perps on Bybit, OKX and Binance ($0.02). Per symbol: total liquidated, long vs short split, biggest single print, venue count, dominant side. The fastest read on where leverage is being flushed.",
195
+ description: "Rank the top symbols by liquidation USD right now across every USDT perp we record on Bybit, OKX and Binance ($0.02). Per symbol: total liquidated, long vs short split, biggest single print, venue count, dominant side. The fastest read on where leverage is being flushed.",
196
196
  triggers: [
197
197
  "what is getting rekt right now",
198
198
  "which coins have the most liquidations today",
@@ -204,7 +204,7 @@ var ENDPOINTS = [
204
204
  usd: 0.01,
205
205
  action: "AGENTFEED_GET_CASCADE_ALERT",
206
206
  similes: ["CASCADE_ALERT", "IS_THERE_A_CASCADE"],
207
- description: "Liquidation cascade detector for the 5 majors \u2014 SOL, BTC, ETH, XRP, DOGE \u2014 across Bybit, OKX and Binance ($0.01). Returns cascades active NOW: clustered same-side liquidations with symbol, side, USD total, prints, duration, severity. Empty array = no cascade in the window. For all ~600 perps use AGENTFEED_GET_CASCADE_SCAN instead.",
207
+ description: "Liquidation cascade detector for the 5 majors \u2014 SOL, BTC, ETH, XRP, DOGE \u2014 across Bybit, OKX and Binance ($0.01). Returns cascades active NOW: clustered same-side liquidations with symbol, side, USD total, prints, duration, severity. Empty array = no cascade in the window. For every perp we record use AGENTFEED_GET_CASCADE_SCAN instead.",
208
208
  triggers: [
209
209
  "is SOL cascading",
210
210
  "is there a liquidation cascade on BTC right now",
@@ -229,7 +229,7 @@ var ENDPOINTS = [
229
229
  usd: 3e-3,
230
230
  action: "AGENTFEED_GET_LIQUIDATIONS",
231
231
  similes: ["GET_RECENT_LIQUIDATIONS", "RECENT_LIQUIDATIONS", "LIQUIDATION_FEED"],
232
- description: "Fetch recent perp liquidation prints ($0.003) across ~600 USDT perps on Bybit (complete unthrottled tape), OKX and Binance: side, size, price, exchange, timestamp. Filterable by symbol \u2014 any USDT perp, not just majors. Use for questions about recent liquidations or big prints.",
232
+ description: "Fetch recent perp liquidation prints ($0.003) across every USDT perp we record on Bybit (complete unthrottled tape), OKX and Binance: side, size, price, exchange, timestamp. Filterable by symbol \u2014 any USDT perp, not just majors. Use for questions about recent liquidations or big prints.",
233
233
  triggers: [
234
234
  "any big liquidations in the last hour",
235
235
  "show me recent SOL liquidations",
@@ -343,7 +343,7 @@ var ENDPOINTS = [
343
343
  usd: 0.05,
344
344
  action: "AGENTFEED_GET_LIQ_HISTORY",
345
345
  similes: ["LIQ_HISTORY", "GET_LIQ_HISTORY"],
346
- description: "HISTORICAL liquidation tape, time-bucketed: total/long/short USD, prints, biggest print per bucket. Any USDT perp or the whole ~600-perp universe, up to 7 days back. Bybit is the only complete liq tape in crypto and no exchange publishes history of it \u2014 this data exists nowhere else.",
346
+ description: "HISTORICAL liquidation tape, time-bucketed: total/long/short USD, prints, biggest print per bucket. Any USDT perp or the whole recorded universe, up to 7 days back. Bybit is the only complete liq tape in crypto and no exchange publishes history of it \u2014 this data exists nowhere else.",
347
347
  triggers: ["liquidation history for SOL over the last day", "how much got liquidated per hour today"]
348
348
  },
349
349
  {
@@ -383,7 +383,7 @@ var ENDPOINTS = [
383
383
  usd: 0.02,
384
384
  action: "AGENTFEED_GET_FUNDING_EXTREMES",
385
385
  similes: ["FUNDING_EXTREMES", "GET_FUNDING_EXTREMES"],
386
- description: "Most crowded trades across ~600 USDT perps: top most-positive and most-negative funding with annualized %, 24h price move and OI. Crowded shorts = squeeze candidates.",
386
+ description: "Most crowded trades across every Bybit USDT perp: top most-positive and most-negative funding with annualized %, 24h price move and OI. Crowded shorts = squeeze candidates.",
387
387
  triggers: ["most crowded funding trades right now", "which perps have extreme funding"]
388
388
  },
389
389
  {
@@ -399,7 +399,7 @@ var ENDPOINTS = [
399
399
  usd: 0.02,
400
400
  action: "AGENTFEED_GET_OI_SPIKE_SCAN",
401
401
  similes: ["OI_SPIKE_SCAN", "GET_OI_SPIKE_SCAN"],
402
- description: "Abnormal open-interest jumps across ~600 USDT perps vs a 30min+ baseline \u2014 where new leverage is piling in, with funding and price context. Squeeze/flush precursor screener.",
402
+ description: "Abnormal open-interest jumps across every Bybit USDT perp vs a 30min+ baseline \u2014 where new leverage is piling in, with funding and price context. Squeeze/flush precursor screener.",
403
403
  triggers: ["where is open interest spiking", "any OI spikes across perps"]
404
404
  },
405
405
  {
@@ -439,7 +439,7 @@ var ENDPOINTS = [
439
439
  usd: 0.01,
440
440
  action: "AGENTFEED_GET_TOP_MOVERS",
441
441
  similes: ["TOP_MOVERS", "GET_TOP_MOVERS"],
442
- description: '24h top gainers and losers across ~600 USDT perps with a liquidity floor, funding attached. The "what moved" screener.',
442
+ description: '24h top gainers and losers across every Bybit USDT perp with a liquidity floor, funding attached. The "what moved" screener.',
443
443
  triggers: ["top gainers and losers today", "what perps are moving most"]
444
444
  },
445
445
  {
@@ -565,6 +565,23 @@ var ENDPOINTS = [
565
565
  description: "Peg deviation for one tokenized equity broken out by trading session ($0.03) \u2014 open, premarket, afterhours, overnight, weekend \u2014 with mean, p95, max bps and median liquidity per session, and the worst off-hours window flagged. The open session acts as a control: tight deviation there means the off-hours numbers are signal rather than measurement noise.",
566
566
  triggers: ["when does <symbol> depeg", "peg by session for <symbol>", "weekend peg for <symbol>"],
567
567
  param: "symbol"
568
+ },
569
+ {
570
+ path: "/api/exit-quote?symbol=:symbol",
571
+ usd: 0.02,
572
+ action: "AGENTFEED_GET_EXIT_QUOTE",
573
+ similes: ["EXIT_QUOTE", "COLLATERAL_EXIT", "LIQUIDATION_HAIRCUT", "CAN_I_SELL_THIS"],
574
+ description: "What a lending reserve would actually realise if it had to be seized and sold ($0.02): the protocol oracle mark, the realisable value measured by live routing at real clip sizes, the haircut in bps, and whether the liquidation bonus covers the cost of selling. Measured every 15 minutes against Solana lending markets since 11 August 2026 by our own collector; this tape exists nowhere else. Returns the nearest clip the ladder actually probed, never an interpolation. A terminal no-exit verdict requires six consecutive agreeing observations from that symbol own tape, so one bad quote cannot become a finding. Never returns null: an unconfirmed sample falls back to the last corroborated measurement with its age.",
575
+ triggers: ["what would <symbol> realise if liquidated", "exit quote for <symbol>", "can this collateral actually be sold", "liquidation haircut for <symbol>"],
576
+ param: "symbol"
577
+ },
578
+ {
579
+ path: "/api/exit-method",
580
+ usd: 0,
581
+ action: "AGENTFEED_GET_EXIT_METHOD",
582
+ similes: ["EXIT_METHOD", "HOW_IS_EXIT_MEASURED", "COLLATERAL_METHODOLOGY"],
583
+ description: "FREE: exactly how the collateral exit measurements are produced, so the numbers can be checked rather than trusted. Marked value versus realisable value, the corroboration rule, the status vocabulary including why a router refusing a token outright is permissioning and not illiquidity, the size-matched control design, and the live row and sweep counts computed at request time. Read this before paying for a quote.",
584
+ triggers: ["how is exit liquidity measured", "collateral methodology", "how do you know this collateral cannot be sold"]
568
585
  }
569
586
  ];
570
587
  var SYMBOL_RE = /\b[A-Z]{1,6}x\b/;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@seekdaseek/plugin-agentfeed",
3
- "version": "0.4.1",
4
- "description": "elizaOS plugin for AgentFeed \u2014 paid crypto liquidation data over x402 micropayments on Solana. Full-universe cascade detection across ~600 USDT perps on Bybit, OKX and Binance, plus positioning, funding, prices and token risk. $0.001\u2013$0.05 per call in USDC, no API keys, no subscriptions.",
3
+ "version": "0.5.1",
4
+ "description": "elizaOS plugin for AgentFeed paid crypto and Solana data over x402 micropayments. Collateral exit liquidity measured against live routing, full-universe liquidation cascade detection across every USDT perp we record on Bybit, OKX and Binance, tokenized-equity peg deviation, plus positioning, funding, prices and token risk. $0.001–$0.10 per call in USDC, no API keys.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",