The Markets API provides public, non-authenticated access to market structure, real-time order books, tick data, OHLCV candles, anonymous trade history, index prices, and funding rates. These endpoints are rate limited; see the Rate Limits section for details.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/bullish-exchange/api-docs/llms.txt
Use this file to discover all available pages before exploring further.
GET /trading-api/v1/markets
Retrieves a list of all active markets on the exchange. Clients can ignore test markets. Note:Leverage = Collateral ÷ (Collateral - Debt).
Authentication: Not required. This is a public endpoint.
Query Parameters
Filter markets by type. Enum:
SPOT, PERPETUAL, DATED_FUTURE, OPTION.Filter by option type. If present, only option markets are returned. Enum:
CALL, PUT.Response Fields
Unique market ID.
Market symbol, e.g.
BTCUSD, BTC-USDC-PERP, BTC-USDC-20250901-90000-C.Base asset symbol (spot markets). E.g.
BTC.Quote asset symbol (spot markets). E.g.
USD.Number of decimal digits after the dot for base asset quantities. E.g.
8.Number of decimal digits after the dot for quote asset amounts. E.g.
4.Number of decimal digits after the dot for price. E.g.
8.Number of decimal digits after the dot for quantity. E.g.
8.Minimum price increment for the market.
Minimum order quantity allowed.
Maximum order quantity allowed.
Minimum order price allowed.
Maximum order price allowed.
Whether spot trading is enabled for this market.
Whether margin trading is enabled for this market.
Whether the market is currently active.
Whether new orders can be submitted.
Whether orders can be cancelled.
Market type. One of
SPOT, PERPETUAL, DATED_FUTURE, OPTION.ISO 8601 datetime of market expiry (applicable to
DATED_FUTURE and OPTION markets). E.g. 2024-10-04T08:00:00.000Z.Strike price of the option (applicable to
OPTION markets). E.g. "70000.0000".CALL or PUT (applicable to OPTION markets).Cumulative notional value of all open interest for this derivative contract.
All available fee tiers for this market.
Example Request
Example Response
GET /trading-api/v1/markets/
Retrieves a single market by its symbol. Returns the same schema as the list endpoint.Authentication: Not required.
Path Parameters
Market symbol, e.g.
BTCUSD, BTC-USDC-PERP.Example Request
GET /trading-api/v1/markets//orderbook/hybrid
Returns the current hybrid order book for the specified market, combining AMM liquidity with resting limit orders.Authentication: Not required. Rate limited: No.
Path Parameters
Market symbol to retrieve the order book for.
Response Fields
List of bid price-quantity tuples, sorted best (highest) first.
List of ask price-quantity tuples, sorted best (lowest) first.
ISO 8601 datetime of the order book snapshot.
Millisecond EPOCH timestamp of the order book snapshot.
Incrementing unique identifier for this order book snapshot. E.g.
999.Example Request
Example Response
GET /trading-api/v1/markets//trades
Returns the 100 most recent trades for a given market. Data is sourced from a local cache.Authentication: Not required. Rate limited: No.
Path Parameters
Market symbol.
Response Fields (array of trades)
Unique trade ID.
Market symbol.
Execution price.
Execution quantity.
BUY or SELL.Whether this is a taker trade.
ISO 8601 datetime of trade execution.
Millisecond EPOCH timestamp of trade execution.
Example Request
Example Response
GET /trading-api/v1/markets//tick
Returns the current tick (24-hour rolling statistics) for a market.Authentication: Not required. Rate limited: No.
Path Parameters
Market symbol. Only perpetual markets are supported.
Response Fields
Highest price in the 24-hour window.
Lowest price in the 24-hour window.
Current best bid price.
Quantity at the best bid.
Current best ask price.
Quantity at the best ask.
Volume-weighted average price.
Opening price for the period.
Price of the last trade (closing price for the current period).
Last traded price.
Absolute price change over the period.
Percentage price change over the period.
24-hour volume in base asset.
24-hour volume in quote asset.
ISO 8601 datetime of tick snapshot.
Millisecond EPOCH timestamp of tick snapshot.
ISO 8601 datetime of the last trade.
Millisecond EPOCH timestamp of the last trade.
Quantity of the last trade.
Example Request
GET /trading-api/v1/markets//candle
Returns historical OHLCV (Open-High-Low-Close-Volume) candle data for a market over a specified time window and bucket size. Supports pagination.Authentication: Not required. Rate limited: No.
Path Parameters
Market symbol.
Query Parameters
Start of the time window. ISO 8601 with millisecond, e.g.
2024-10-01T00:00:00.000Z.End of the time window. ISO 8601 with millisecond.
Size of each candle. One of:
1m, 5m, 30m, 1h, 6h, 12h, 1d.Response Fields (array of candles)
Opening price for the candle period.
Highest price during the candle period.
Lowest price during the candle period.
Closing price for the candle period.
Trading volume during the candle period.
ISO 8601 datetime for the start of the candle.
Millisecond EPOCH timestamp for the start of the candle.
Millisecond EPOCH timestamp when the candle was published.
Example Request
Example Response
GET /trading-api/v1/history/markets/
Returns historical market metadata for a specified market symbol. This endpoint returns data even for expired markets and is only applicable toDATED_FUTURE and OPTION markets.
Authentication: Not required.
Path Parameters
Market symbol for a dated future or option market, e.g.
BTC-USDC-20250901.Example Request
GET /trading-api/v1/history/markets//trades
Returns paginated historical trade data for a market. Supports querying up to 7 days of data at a time. Only the last 90 days of data are available.Authentication: Not required. Rate limited: No.
Path Parameters
Market symbol.
Query Parameters
Start of the datetime range (ISO 8601 with millisecond).
End of the datetime range (ISO 8601 with millisecond).
Filter for a specific trade ID.
Page size. One of:
5, 25, 50, 100. Defaults to 25.Cursor to the next page, provided in paginated responses.
Example Request
GET /trading-api/v1/history/markets//funding-rate
Returns the historical hourly funding rate for a perpetual market. Only the last 90 days of data are available.Authentication: Not required.
Path Parameters
Perpetual market symbol, e.g.
BTC-USDC-PERP.Query Parameters
Start of the datetime range (ISO 8601 with millisecond).
End of the datetime range (ISO 8601 with millisecond).
Response Fields (array)
The funding rate for this hour. E.g.
"0.1".Date and time of the last funding rate update for the hour. E.g.
"2024-09-16T12:59:59.000Z".Example Request
Example Response
GET /trading-api/v1/index-prices
Returns the index prices for all supported assets.Authentication: Not required.
Response Fields (array)
Asset symbol, e.g.
BTC.Asset index price in USD. E.g.
"66100.0000".ISO 8601 datetime when the index price was last updated.
Millisecond EPOCH timestamp when the index price was last updated.
Example Request
Example Response
GET /trading-api/v1/index-prices/
Returns the index price for a single asset.Authentication: Not required.
Path Parameters
Asset symbol, e.g.
BTC.Example Request
GET /trading-api/v1/time
Returns the current exchange time.Authentication: Not required.
Response Fields
Current exchange time as a millisecond EPOCH timestamp string.
Current exchange time as an ISO 8601 datetime string.
Example Request
Example Response
GET /trading-api/v1/option-ladder
Returns available options contracts organised by strike price and expiration date, with pricing, implied volatilities, and Greeks.Authentication: Not required.
Query Parameters
Base asset symbol to retrieve the option ladder for. E.g.
BTC.Filter results by expiry date of option markets.
Filter by option type:
CALL or PUT.Sort results by option type or expiry datetime.
Response Fields (array)
Option market symbol, e.g.
BTC-USDC-20241004-70000-C.Base asset symbol, e.g.
BTC.Asset used for mark-to-market settlement.
Best bid price in the order book.
Best ask price in the order book.
Quantity at the best bid.
Quantity at the best ask.
Implied volatility of the best bid price.
Implied volatility of the best ask price.
Index price of the base asset.
Strike price of the option market.
Mark price of the option market.
Amount of outstanding contracts in the exchange.
USD value of outstanding contracts.
CALL or PUT.ISO 8601 expiry datetime.
Option pricing Greeks.
Example Request
GET /trading-api/v1/option-ladder/
Returns the option ladder entry for a specific option market symbol.Authentication: Not required.
Path Parameters
Option market symbol. Only option markets are supported. E.g.
BTC-USDC-20241004-70000-C.