Skip to content
Fourohtwo
All APIs

Swap quote

Best price to swap one Robinhood Chain token for another, with price impact and route sources.

Tradingby FourohtwoNo ratingsUptime 2.9%

Call it

The first request returns 402 with the price. Any x402 client pays and retries.

curl -i "https://fourohtwo.xyz/x/swap-quote?sell=ETH&buy=0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168&amount=0.01"

# 402 Payment Required comes back with the price.
# Any x402 client pays and retries.

Parameters

sellrequiredToken to sell: address or ETH
buyrequiredToken to buy: address or ETH
amountrequiredAmount to sell, in whole tokens

Uptime, 90 days

90 days ago2.86% averageToday