Get Tickers

Request

Method:

GET ./api/v2/openbook/tickers/{market}

Parameters:

Parameter
Type
Description

market

array

OPTIONAL. A list of Openbook market account addresses or market symbols.

Request example:

Request (single)

curl --header "Authorization: $AUTH_HEADER" \
'https://nysolana.dex.blxrbdn.com/api/v2/openbook/tickers/SOLUSDC'

Request (all)

curl --header "Authorization: $AUTH_HEADER" \
'http://ny.solana.dex.blxrbdn.com/api/v2/openbook/tickers/'

Response:

Field:

Field
Description

tickers

See below for individual markets.

Tickers:

Field
Description

market

Symbol of the market.

marketAddress

Smart contract address for the market.

bid

Best bid price

bidSize

Best bid size

ask

Best ask price

askSize

Best ask size

Example:

{
  "tickers": [
    {
      "market": "SOL/USDC",
      "marketAddress": "8BnEgHoWFysVcuFFX7QztDmzuH8r5ZFvyP3sYwn1XTh6",
      "bid": 26.284,
      "bidSize": 21.784,
      "ask": 26.291,
      "askSize": 37.52
    }
  ]
}

Last updated