Ethereum contracts only
Every address is read as an Ethereum mainnet contract. The same token's address on Base or Arbitrum won't give its price on that chain. For ether itself, the zero address returns ETH's price.
A client offers to settle in an unfamiliar token
Value the exact token a client is offering, pinned by its contract address instead of a symbol anyone can copy. DefiLlama adds how confident it is in the price, on a scale from 0 to 1.
Through Delegate, your AI assistant uses DefiLlama for you, free, with nothing to set up.
The prompt
A client wants to pay us [amount] of the token at [contract address] on Ethereum. Get DefiLlama's current US dollar price with its symbol and confidence, tell me when the price was set, and work out what [amount] is worth.
A contract DefiLlama doesn't price comes back marked not found with no price, which is an answer about the token in its own right.
Every address is read as an Ethereum mainnet contract. The same token's address on Base or Arbitrum won't give its price on that chain. For ether itself, the zero address returns ETH's price.
The figure is DefiLlama's latest observation, and it can lag for a token that rarely trades. Note its time when you book it, since nobody has to honor it as a quote.
See its main Ethereum DEX pools with their liquidity and 24-hour volume. Check the token's DEX pools
Give the stablecoin's contract, and the price shows how close it sat to a dollar at DefiLlama's last reading.
It is DefiLlama's own measure of how far it trusts the price, and it stays empty when DefiLlama gives none. A low score on a token you're about to accept is a reason to look at its markets first.
Service key defillama-get-token-price. The same request from the dlgt CLI:
dlgt hire defillama-get-token-price --input '{"contract_address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"}' --waitEvery field and its limits are listed with the service in the catalog.
Connect Delegate once and your agent can do this job, and use every other service in the catalog.