Build it
What do you want Telegram and DefiLlama to do together?
Describe it and your agent reads both APIs, builds the automation, tests every branch and ships it. The list below is what exists today, not the limit.
Ask the assistant
You'll sign in before anything runs. What you typed comes with you.
Or work from Claude Code
Install the APIANT plugin for Claude Code and build, edit, test and read run history from your terminal. Every plan gets this, including free, and it spends no assistant credits.
Connect Claude CodeEverything your agent can do with Telegram and DefiLlama
Triggers and actions 1 trigger · 25 actions
Trigger
New UpdateTriggers when Telegram delivers an update to your bot. Choose which kind of update to watch — a new message, a button press, a membership change, and so on. Telegram allows one webhook per bot, so use a single New Update trigger per bot token.
Action
Ban Chat MemberBan a user from a group, supergroup or channel. POST https://api.telegram.org/bot{token}/banChatMember (chat_id, user_id).
Action
Delete MessageDelete a message from a chat. POST https://api.telegram.org/bot{token}/deleteMessage (chat_id, message_id).
Action
Forward MessageForward an existing message from one chat to another. POST https://api.telegram.org/bot{token}/forwardMessage (chat_id, from_chat_id, message_id).
Action
Get ChatGet up-to-date information about a chat (user, group, or channel). GET/POST https://api.telegram.org/bot{token}/getChat (chat_id).
Action
Get Chat MemberLook up one person's membership in a chat — whether they are a member, an administrator, restricted, or have left or been banned.
Action
React to MessageSets an emoji reaction on an existing message.
Action
Send Chat ActionSend a chat action (e.g. typing, upload_photo) to indicate the bot is doing something. POST https://api.telegram.org/bot{token}/sendChatAction (chat_id, action).
Action
Send DocumentSend a general file/document to a chat. POST https://api.telegram.org/bot{token}/sendDocument (chat_id, document, caption).
Action
Send LocationSend a point on the map to a chat. POST https://api.telegram.org/bot{token}/sendLocation (chat_id, latitude, longitude).
Action
Send MessageSends a message from your bot.
Action
Send PhotoSends a photo from your bot.
Action
Send PollSends a poll from your bot.
Action
Send VideoSend a video to a chat. POST https://api.telegram.org/bot{token}/sendVideo (chat_id, video, caption).
Action
Update MessageEdit the text of a previously sent message. POST https://api.telegram.org/bot{token}/editMessageText (chat_id, message_id, text).
Action
Get current protocol TVLSimplified endpoint returning just the current TVL number for a protocol. GET https://api.llama.fi/tvl/{protocol}. Path param: protocol slug.
Action
Get current token pricesGet current prices of tokens by contract address / coingecko id. GET https://coins.llama.fi/prices/current/{coins} where coins is a comma-separated list like "ethereum:0x...,coingecko:bitcoin".
Action
Get historical chain TVLGet historical TVL (excludes liquid staking/double counting) for a specific chain. GET https://api.llama.fi/v2/historicalChainTvl/{chain}. Path param: chain slug.
Action
Get historical token pricesGet historical prices of tokens at a given unix timestamp. GET https://coins.llama.fi/prices/historical/{timestamp}/{coins}.
Action
Get protocol fees summaryGet summary of fees and revenue for a protocol. GET https://api.llama.fi/summary/fees/{protocol}. Path param: protocol slug.
Action
Get protocol TVL detailsGet historical TVL of a protocol and breakdowns by token and chain. GET https://api.llama.fi/protocol/{protocol}. Path param: protocol slug.
Action
Get stablecoin detailsGet historical mcap and chain distribution for a specific stablecoin. GET https://stablecoins.llama.fi/stablecoin/{asset}. Path param: stablecoin id/asset.
Action
List chains TVLGet current TVL of all chains. GET https://api.llama.fi/v2/chains.
Action
List protocolsList all protocols on DefiLlama along with their current TVL. GET https://api.llama.fi/protocols. No auth required.
Action
List stablecoin chainsGet current stablecoin market cap on each chain. GET https://stablecoins.llama.fi/stablecoinchains.
Action
List stablecoinsList all stablecoins along with their circulating supply. GET https://stablecoins.llama.fi/stablecoins.
No trigger or action matches that. Ask your agent to add it: it reads the API documentation and builds what you describe.