Integration
Connect PhishStats to DefiLlama
When something happens in PhishStats, 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 PhishStats 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 PhishStats and DefiLlama
Triggers and actions 1 trigger · 12 actions
Trigger
New phishing recordPolling trigger for newly added phishing URLs. GET https://api.phishstats.info/api/phishing?_sort=-date&_p=1&_size=100 (optionally filtered by _where=(countrycode|tld|asn,eq,value) etc.) — the database refreshes every ~90 minutes; poll no more often than that. Dedup/order by the id or date field (descending). Auth via X-API-Key header (psk_...) or ?apikey=psk_...; anonymous allowed at a lower quota.
Action
Find phishing recordsSearch the PhishStats phishing database. GET https://api.phishstats.info/api/phishing with _where=(field,operator,value) filters (eq/ne/gt/lt/like, combined with ~and/~or) over fields like url, ip, asn, countrycode, tld, title, score, date, id; _sort=field (-field for desc); _p=page (default 1), _size=records per page (default 20, max 100). Auth via X-API-Key header (psk_...), Authorization: Bearer psk_..., or ?apikey=psk_... query param; anonymous is allowed at a lower quota.
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.