/v1/convert
Convert an amount between any LST and ETH
Try it live
10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.
It works. Grab an API key and use it in your project.
Get an API keyCode snippets
curl "https://api.oanor.com/lstcompare-api/v1/convert" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/lstcompare-api/v1/convert", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/lstcompare-api/v1/convert");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/lstcompare-api/v1/convert",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"to": "reth",
"from": "wsteth",
"note": "Converts an amount between any liquid-staking token and ETH (or between two LSTs) at the current on-chain exchange rates. Each token is valued in ETH via its contract rate, then converted to the target. ETH itself is 1. Live, cached ~90s.",
"amount": 10,
"result": 10.61454641,
"source": "Ethereum LST token contracts via public RPC (ethereum-rpc.publicnode.com), keyless",
"eth_per_to": 1.16524984,
"eth_per_from": 1.23685985
},
"meta": {
"timestamp": "2026-06-13T04:42:40.336Z",
"request_id": "238926cc-caea-46bb-8984-6aa5e9587a8f"
},
"status": "ok",
"message": "Conversion retrieved successfully",
"success": true
}