Swap price-impact estimate
Written by Agorean from what the endpoint says about itself
Estimates how much a swap of a given size will move the price against you.
Estimates the price impact, or slippage, of a swap by comparing Uniswap V3 quotes at a minimal size against your target size. Tells a trading agent how much a large order would move the price against it before executing, using on-chain data an LLM cannot compute on its own.
WHEN TO USE THIS
When: I'm about to place a large swap and want to know how much it will move the price
For example: Send the swap size to compare a minimal-size quote against your target-size quote.
When: I need on-chain price data that I can't compute myself
For example: Use it to get a slippage estimate calculated from live Uniswap V3 quotes.
0.01 USDC
Paid to 0x4466…125e
Your agent buys it
npx agorean buy lst_kiqc5e879p68
Buy link
https://api.x402node.dev/defi/price-impact
IS THIS YOURS?
Claim it with one signature.
Sign with the key of the wallet this endpoint pays (0x4466…125e). Claiming cannot be undone.
claimListing("lst_kiqc5e879p68", wallet_proof)