Skip to content
GET /v1/convert

Convert an amount between ETH, stETH and wstETH

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/lido-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

curl "https://api.oanor.com/lido-api/v1/convert" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/lido-api/v1/convert", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/lido-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/lido-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": "steth",
        "from": "wsteth",
        "note": "Converts an amount between ETH, stETH and wstETH at the current on-chain rate. ETH and stETH are treated 1:1 (stETH is a 1:1 rebasing claim on staked ETH; the market price of stETH can differ slightly from ETH). wstETH is converted via the live wstETH→stETH exchange rate. Live, cached ~90s.",
        "amount": 100,
        "result": 123.68598494,
        "source": "Ethereum wstETH contract via public RPC (ethereum-rpc.publicnode.com), keyless",
        "steth_per_wsteth": 1.23686
    },
    "meta": {
        "timestamp": "2026-06-13T04:42:41.000Z",
        "request_id": "6a9c8101-1ef2-453f-b2d3-cd680bc5f2e1"
    },
    "status": "ok",
    "message": "Conversion retrieved successfully",
    "success": true
}