Quote
Market quote
Get a spot market quote for any asset pair using from/to or an exchange pair symbol.
GET
Returns a live market quote from Binance or Bybit. Supports any-to-any conversion via
from and to, with automatic fallback to a USDT cross rate when no direct pair is listed.
Your StarkFi API key.
Source asset symbol (e.g.
ETH, BTC, USDT, BRL). Use together with to for any-to-any quotes.Target asset symbol. Required with
from when not using pair.Legacy exchange pair symbol (e.g.
BTCUSDT). Omit when using from and to.First pair orientation to try (e.g.
USDTETH). Use with try_two for legacy fiat-oriented flows.Second pair orientation to try (e.g.
ETHUSDT). Use with try_one.Notes
- Asset symbols must match exchange tickers (letters, numbers,
.,_,-; max 64 characters). - Prices follow the spot convention BASEQUOTE:
priceis how much quote asset one base costs. - StarkFi queries Binance first, then Bybit, for each candidate symbol.
.png?fit=max&auto=format&n=I_v6ul4JDafNKFQP&q=85&s=f0ad25536f8a3ca42331fcff88ab2b26)