Skip to main content
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.
string
required
Your StarkFi API key.
string
Source asset symbol (e.g. ETH, BTC, USDT, BRL). Use together with to for any-to-any quotes.
string
Target asset symbol. Required with from when not using pair.
string
Legacy exchange pair symbol (e.g. BTCUSDT). Omit when using from and to.
string
First pair orientation to try (e.g. USDTETH). Use with try_two for legacy fiat-oriented flows.
string
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: price is how much quote asset one base costs.
  • StarkFi queries Binance first, then Bybit, for each candidate symbol.