Integration
Connect PostgreSQL to DefiLlama
When something happens in PostgreSQL, 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 PostgreSQL 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 PostgreSQL and DefiLlama
Triggers and actions 4 triggers ยท 17 actions
Trigger
New or Updated RowTriggers when a new row is added or modified.
Trigger
New or Updated Row (Custom Query)Fires for each new or changed row returned by a SELECT statement you write against the connected PostgreSQL database.
Trigger
New RowTriggers when you add a new row.
Trigger
New TableFires when a new table appears in the connected PostgreSQL database.
Action
Add RowAdds a new row.
Action
Delete RowDelete the rows in a table whose chosen column equals a value.
Action
Find RowFinds a row in a table via a lookup column.
Action
Find Rows via Custom QueryRuns a SELECT statement you write against the connected PostgreSQL database and returns every row it matches.
Action
Find Row via Custom QueryRuns a SELECT statement you write against the connected PostgreSQL database and returns the first row it matches.
Action
Update RowUpdates an existing row.
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