Integration
Connect PocketSmith to DefiLlama
When something happens in PocketSmith, 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 PocketSmith 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 PocketSmith and DefiLlama
Triggers and actions 1 trigger ยท 20 actions
Trigger
New transactionFires when a new transaction appears in the authorised user's PocketSmith accounts. Poll GET /users/{id}/transactions sorted by created/updated date, dedup on transaction id.
Action
Add categoryCreate a new category for the authorised user. POST /users/{id}/categories.
Action
Add transactionCreate a new transaction in a PocketSmith transaction account. POST /transaction_accounts/{id}/transactions.
Action
Delete categoryDelete a category by id. DELETE /categories/{id}.
Action
Delete transactionDelete a transaction by id. DELETE /transactions/{id}.
Action
Get accountRetrieve a single account by id. GET /accounts/{id}.
Action
Get categoryRetrieve a single category by id. GET /categories/{id}.
Action
Get transactionRetrieve a single transaction by id. GET /transactions/{id}.
Action
Update categoryUpdate an existing category's title, colour or parent. PUT /categories/{id}.
Action
Update transactionUpdate fields on an existing transaction (amount, payee, date, category, note, labels). PUT /transactions/{id}.
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.