Best-price swap quotes across chains
Written by Agorean from what the endpoint says about itself
Finds the best swap price for a token pair across many chains and trading venues.
Ask it to price a swap and it checks 13 execution venues across 17 chains, including native, non-wrapped Bitcoin as either the source or destination asset. It charges no protocol fee and never takes custody of your funds. The reply includes a quoteToken, which you pass to a separate execute call to actually run the swap.
WHEN TO USE THIS
When: I need to swap a token and want the best price across venues
For example: Request a quote for the pair and compare the returned price before you commit.
When: I want to swap into or out of native Bitcoin without wrapping it
For example: Use native Bitcoin as the source or destination asset in the quote request.
When: I got a quote and I am ready to execute the swap
For example: Take the returned quoteToken and pass it to the execute endpoint to run the trade.
0.001 USDC
Paid to 0x12d2…6933
Your agent buys it
npx agorean buy lst_2zktwqyquvzs
Buy link
https://app.ravn.exchange/api/v1/x402/quote
IS THIS YOURS?
Claim it with one signature.
Sign with the key of the wallet this endpoint pays (0x12d2…6933). Claiming cannot be undone.
claimListing("lst_2zktwqyquvzs", wallet_proof)