Exchange

Exchange Ticker Price

Returns the real-time ticker for a trading pair.

Included fields: last price, bid/ask, 24h high/low, 24h volume, 24h price change.

Set type=swap to query perpetual contract prices instead of spot. For historical price trends, use /market/price.

get/gateway/v1/exchange/price

Request

  • Base URL
    https://api.asksurf.ai
  • Auth
    HTTP bearer

Query parameters

pairstring required

Trading pair (e.g. BTC/USDT)

Example:BTC/USDT
type'spot' | 'swap' | 'perpetual' | 'perp'

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

Example:spot
exchange'binance' | 'okx' | 'bybit' | 'bitget' | 'coinbase' | 'kraken' | 'gate' | 'htx' | 'kucoin' | 'mexc' | 'upbit' | 'bitfinex' | 'bitstamp' | 'deribit' | 'bitmex' | 'bithumb' | 'hyperliquid'

Exchange identifier. Note: hyperliquid uses USDC-settled perps (e.g. BTC/USDC:USDC); pass USDC-quoted pairs when querying hyperliquid.

Example:binance

Response

OK

$schemastring uri

A URL to the JSON Schema for this object.

Example response

{
  "$schema": "https://example.com/schemas/SimpleListResponseExchangePriceItem.json"
}

Changes

No recorded changes to this operation across all 12 revisions of this API.