Skip to main content
GET
/
gateway
/
v1
/
exchange
/
price
Exchange Ticker Price
curl --request GET \
  --url https://api.ask.surf/gateway/v1/exchange/price
{
  "data": [
    {
      "ask": 123,
      "bid": 123,
      "change_24h_pct": 123,
      "exchange": "<string>",
      "high_24h": 123,
      "last": 123,
      "low_24h": 123,
      "pair": "<string>",
      "timestamp": 123,
      "volume_24h_base": 123
    }
  ],
  "meta": {
    "cached": true,
    "credits_used": 123
  },
  "$schema": "<string>"
}

Query Parameters

pair
string
required

Trading pair (e.g. BTC/USDT)

Example:

"BTC/USDT"

type
enum<string>
default:spot

Market type: spot for spot trading, swap for perpetual contracts

Available options:
spot,
swap
Example:

"spot"

exchange
enum<string>
default:binance

Exchange identifier

Available options:
binance,
okx,
bybit,
bitget,
coinbase,
kraken,
gate,
htx,
kucoin,
mexc,
upbit,
bitfinex,
bitstamp,
deribit,
bitmex,
bithumb
Example:

"binance"

Response

OK

data
object[] | null
required
meta
object
required
$schema
string<uri>

A URL to the JSON Schema for this object.

Example:

"https://example.com/schemas/SimpleListResponseExchangePriceItem.json"