This app runs inside the BotSurf browser. Don't have it yet? Get the app or extension now!

Protocol TVL Drop Alert

DeFi · All
0 installs · Verified BotGentz app
Launch App
Opens in BotSurf — try it free, no account needed.
CategoryDeFi
PlatformAll
Pricing Free
Installs0
Download BotSurf to use — free
No account needed for free apps. Once BotSurf is open, find this app in Apps from the + menu.

About this app

WHAT IT DOES Protocol TVL Drop Alert watches the current DeFi Llama protocol page for the protocol name and address, reads the protocol's total value locked (TVL) from the DeFi Llama API or on-chain data, monitors TVL changes over time, calculates percentage drops and trend patterns, and displays alerts with severity level and recommended actions when significant TVL drops occur. The tool extracts the protocol name from the page URL, fetches current TVL from the DeFi Llama API via GM_xmlhttpRequest, stores historical TVL snapshots locally using GM_setValue, and compares current values against previous readings to calculate drop percentages and rate of decline. It then evaluates the drop against user-defined thresholds to determine severity — Safe, Warning, or Critical — and displays appropriate alerts with actionable recommendations. This helps DeFi users monitor the health of protocols they're invested in and respond quickly to potential risks. WHERE IT RUNS The tool runs as a panel inside your browser on DeFi Llama protocol pages at https://app.defillama.com/protocol/*. It works on any protocol page listed on DeFi Llama where TVL data is available through the API. The tool connects to the DeFi Llama public API via GM_xmlhttpRequest to fetch TVL data. No data is sent to any external server beyond the API request; all data is read-only and processed locally. HOW TO USE Install the BotGentz extension, navigate to any DeFi Llama protocol page, and open the Protocol TVL Drop Alert panel. Set your TVL drop threshold percentage (default 10%) — the tool will alert you when any TVL drop exceeds this value. Set your minimum TVL to alert (default $1,000,000) to avoid alerts on protocols with insignificant TVL. Select your monitoring interval from the dropdown — 30, 60, 120, or 300 seconds. Choose your alert preference — Panel only, Browser notification, or Both. Click "Start Monitoring" — the tool begins fetching TVL data from the DeFi Llama API at your chosen interval, stores historical values, and compares each new reading against the previous value. When a TVL drop exceeds the threshold and the TVL is above the minimum, the tool triggers an alert with severity level, percentage, and recommended actions. The alert log maintains a history of recent alerts for review. Click "Refresh" to manually check TVL, or "Clear History" to reset the alert log. MECHANISM — API-BASED TVL MONITORING WITH TREND ANALYSIS AND SEVERITY CLASSIFICATION This tool uses an API-based TVL monitoring engine that fetches protocol data from DeFi Llama's public API. The system first extracts the protocol name from the page URL path, then constructs the API endpoint URL (https://api.llama.fi/protocol/{protocolName}). It uses GM_xmlhttpRequest with GET method to fetch the current TVL data, which returns a JSON object containing the protocol's TVL, chain breakdown, and metadata. The tool stores each TVL reading in a local history object keyed by protocol name, using GM_setValue to persist data across page reloads. On each monitoring cycle, the tool calculates the percentage change by comparing the current TVL against the stored previous value. It classifies the drop severity using a multi-tier system: Critical (drop ≥ 2x threshold), Warning (drop ≥ threshold), or Safe (drop < threshold). The alert triggering system activates based on the severity classification and user preferences, sending browser notifications via GM_notification and updating the panel display with color-coded indicators and actionable recommendations. THE PANEL The BotGentz panel is fully draggable, allowing you to position it anywhere on your screen without obstructing the DeFi Llama interface. It includes per-site position memory, so the panel returns to your preferred location each time you visit a protocol page. Snap-to-edge functionality lets you dock the panel to any side of the browser window. The panel collapses to a compact icon when not in use and expands with a single click. You can resize it to your preferred dimensions, and pressing the Escape key instantly closes the panel. All interactions are smooth and intuitive, designed to work alongside your DeFi research workflow. PLEASE NOTE This tool requires the free BotGentz extension and a real EVM wallet extension (such as MetaMask) already installed in your browser. EVM chains only — currently supports Ethereum mainnet and compatible networks. This is a monitoring and alert tool only — it does not execute protocol-based actions automatically. The tool cannot guarantee that the API data matches on-chain reality due to API latency or caching. It cannot account for TVL changes caused by token price fluctuations versus actual withdrawals. It cannot read TVL data from protocols not listed on DeFi Llama. It cannot predict future TVL movements or recovery trends. It cannot detect TVL changes that occur between API fetch intervals. All API data is fetched through public endpoints; no data is stored or transmitted beyond your browser. Websites change their layouts and content structures regularly; while we continuously update the extraction logic, some pages may require script updates. Always verify all TVL data directly on-chain before making any decisions based on the alerts.

Similar Apps

Log in to BotGentz

Suggest an App

Tell us what you'd find useful — if we build it, we'll email you the moment it's ready.