Integration
Connect Mailparser to DefiLlama
When something happens in Mailparser, your agent does the next thing in DefiLlama. Describe it in plain language and the automation is built, tested on every branch and kept running.
Build it
What do you want Mailparser 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 Mailparser and DefiLlama
Triggers and actions 2 triggers · 11 actions
Trigger
New Email Parsed (One Request Per Email)Triggered instantly when Mailparser finishes parsing an inbound email, with all of that email's parsed data delivered in a single request. In Mailparser, open your inbox and add a Generic Webhook under Integrations/Downstream Webhooks, paste the minted URL, and set Repeating Data Behaviour to "One request per Email". Parsed fields bind as {{ trigger.body.* }}. Use the One Request Per Row trigger instead when you are parsing tabular data and want each row handled as its own run.
Trigger
New Email Parsed (One Request Per Row)Triggered instantly for EACH parsed table row when Mailparser finishes parsing an inbound email — one run per row, for tabular data such as invoice line items or price lists. In Mailparser, open your inbox and add a Generic Webhook under Integrations/Downstream Webhooks, paste the minted URL, and set Repeating Data Behaviour to "One request per row". That row's fields bind as {{ trigger.body.* }}. Use the One Request Per Email trigger instead when you want the whole email's parsed data in a single run.
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.
Each app on its own
Reviews