Hyblock API (Dev)
  1. Orderbook
Hyblock API (Dev)
  • Orderflow
    • Kline
      GET
    • Exchange Premium
      GET
    • Buy volume
      GET
    • Sell volume
      GET
    • Volume delta
      GET
    • Volume ratio
      GET
    • Anchored cvd
      GET
    • Bot Tracker
      GET
    • Slippage
      GET
    • Transfer Of Contracts
      GET
    • Participation Ratio
      GET
    • Market Order Count
      GET
    • Market Order Average Size
      GET
    • Limit Order Count
      GET
    • Limit Order Average Size
      GET
    • Buy Sell Trade Count Ratio
      GET
    • Limit Order Count Ratio
      GET
    • Market Order Count Ratio
      GET
    • Previous Day Level
      GET
    • Previous Week Level
      GET
    • Previous Month Level
      GET
  • Funding Rate
    • Funding Rate
  • Longs & Shorts
    • Top Trader Accounts
    • Top Trader Positions
    • Anchored Top Trader Accounts
    • Anchored Top Trader Positions
    • Global Accounts
    • Anchored Global Accounts
    • Net Long Short
    • Net Long Short Delta
    • Anchored CLSD
    • Anchored CLS
    • Whale Retail Delta
    • Anchored Whale Retail Delta
    • True Retail Long Short
    • Whale Position Dominance
    • Trader Sentiment Gap
  • Orderbook
    • Bid Ask
      GET
    • Bid Ask Ratio
      GET
    • Bid Ask Delta
      GET
    • Bid Ask Ratio Diff
      GET
    • Bids Ask Spread
      GET
    • Combined Book
      GET
    • Bids Increase Decrease
      GET
    • Asks Increase Decrease
      GET
    • Best Bid Ask
      GET
    • Market Imbalance Index
      GET
  • Global Metrics
    • Global Bid Ask
    • Global Bid Ask Ratio
    • Global Combined Book
    • Global Bid Ask Delta
    • Global Bid Ask Ratio Increase Decrease
    • Global Bids Increase Decrease
    • Global Asks Increase Decrease
  • Open Interest
    • Open Interest
    • Open Interest Delta
    • Anchored OI Delta
  • Options
    • Bvol
    • Dvol
  • Sentiment
    • Margin Lending Ratio
    • Fear And Greed
    • User Bot Ratio
    • Premium P2P
    • Leaderboard Notional Profit
    • Leaderboard ROE Profit
    • WBTC Mint Burn
  • Liquidity
    • Liquidation
    • Liquidation Levels Count
    • Liquidation Levels Size
    • Anchored Liquidation Levels Size
    • Anchored Liquidation Levels Count
    • Liquidation Levels Trading View
    • Top Trader Average Leverage Used
    • Top Trader Average Leverage Delta
    • Top Trader Margin Used
    • Top Trader Margin Used Delta
    • Liquidation Heatmap
    • Liquidation Levels
    • Cumulative Liq Level
  • Profile Tool
    • Profiles Tool Data
  • Position Heatmap
    • Positions Heatmap Data
  • Catalog
    • Catalog
  • System
    • Health Check
    • Availability
  • Schemas
    • AsksIncreaseDecreaseResponse
    • AnchoredCLSDResponse
    • BestBidAskResponse
    • AnchoredCLSResponse
    • BidAskDeltaResponse
    • AnchoredCVDResponse
    • BidAskRatioDiffResponse
    • AnchoredGlobalAccountsResponse
    • BidAskRatioResponse
    • AnchoredLiqLevelsCountResponse
    • BidAskResponse
    • AnchoredLiqLevelsSizeResponse
    • BidsAskSpreadResponse
    • AnchoredOIDeltaResponse
    • BidsIncreaseDecreaseResponse
    • AnchoredTopTraderAccountsResponse
    • BotTrackerResponse
    • AnchoredTopTraderPositionsResponse
    • BuySellTradeCountRatioResponse
    • AnchoredWhaleRetailDeltaResponse
    • BuyVolumeResponse
    • BvolResponse
    • CatalogResponse
    • CombinedBookResponse
    • CumulativeLiqLevelResponse
    • DataAvailabilityResponse
    • DvolResponse
    • ExchangePremiumResponse
    • FearAndGreedResponse
    • FundingRateResponse
    • GlobalAccountsResponse
    • GlobalAsksIncreaseDecreaseResponse
    • GlobalBidAskDeltaResponse
    • GlobalBidAskRatioIncreaseDecreaseResponse
    • GlobalBidAskRatioResponse
    • GlobalBidAskResponse
    • GlobalBidsIncreaseDecreaseResponse
    • GlobalCombinedBookResponse
    • KlinesResponse
    • LeaderboardNotionalProfitResponse
    • LeaderboardROEProfitResponse
    • LimitOrderAverageSizeResponse
    • LimitOrderCountRatioResponse
    • LimitOrderCountResponse
    • LiqLevelsCountResponse
    • LiqLevelsSizeResponse
    • LiquidationHeatmapResponse
    • LiquidationLevelResponse
    • LiquidationLevelsTVResponse
    • LiquidationResponse
    • MarginLendingRatioResponse
    • MarketImbalanceIndexResponse
    • MarketOrderAverageSizeResponse
    • MarketOrderCountRatioResponse
    • MarketOrderCountResponse
    • NetLongShortDeltaResponse
    • NetLongShortResponse
    • OpenInterestDeltaResponse
    • OpenInterestResponse
    • ParticipationRatioResponse
    • PositionHeatmapResponse
    • PremiumP2PResponse
    • PreviousDayLevelResponse
    • PreviousMonthLevelResponse
    • PreviousWeekLevelResponse
    • ProfileToolResponse
    • SellVolumeResponse
    • SlippageResponse
    • TopTraderAccountsResponse
    • TopTraderAverageLeverageDeltaResponse
    • TopTraderAverageLeverageUsedResponse
    • TopTraderMarginUsedDeltaResponse
    • TopTraderMarginUsedResponse
    • TopTraderPositionsResponse
    • TraderSentimentGapResponse
    • TransferOfContractsResponse
    • TrueRetailLongShortResponse
    • UserBotRatioResponse
    • VolumeDeltaResponse
    • VolumeRatioResponse
    • WBTCMintBurnResponse
    • WhalePositionDominanceResponse
    • WhaleRetailDeltaResponse
    • ErrorResponse
  1. Orderbook

Bids Ask Spread

GET
/bidsAskSpread
Orderbook
The bid-ask spread represents the difference between the best bid (highest price a buyer is willing to pay) and the best ask (lowest price a seller is willing to accept). Tracking the spread provides insights into market liquidity, trading costs, and potential slippage. A narrower spread typically signals higher liquidity and lower transaction costs, while a wider spread can indicate lower liquidity or heightened volatility.

Request

Authorization
OAuth 2.0
Client Credentials
Add the parameter
Authorization
to Headers
,whose value is to concatenate the Token after the Bearer.
Example:
Authorization: Bearer ********************
Token URL: https://auth-api.dev.hyblockcapital.com/oauth2/token
Scopes:
all-Access to all
API Key
Add parameter in header
x-api-key
Example:
x-api-key: ********************
or
Query Params

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.dev.hyblockcapital.com/v2/bidsAskSpread?coin&exchange&timeframe&limit&startTime&endTime&sort&advanceFilter&marketTypes' \
--header 'Authorization: Bearer <token>' \
--header 'x-api-key: <api-key>'

Responses

🟢200OK
application/json
Request was successful
Body

Example
{
    "data": [
        {
            "avgSpread": 0.27843641118409124,
            "max": 0.27843641118409124,
            "openDate": 1698326940
        }
    ],
    "metadata": {
        "exchanges": [
            "bitmex_perp_coin",
            "bybit_perp_coin",
            "bitfinex_perp_stable",
            "coinbase_spot",
            "deribit_perp_stable",
            "huobi_perp_coin",
            "gemini_spot",
            "okx_perp_coin",
            "okx_qtrly",
            "binance_spot",
            "binance_perp_stable",
            "binance_perp_coin"
        ]
    }
}
🟠400Bad Request
🟠401Unauthorized
🟠403Forbidden
🟠422Unprocessable Entity
🟠429Too Many Requests
🔴500Internal Server Error
Modified at 2025-12-31 05:42:54
Previous
Bid Ask Ratio Diff
Next
Combined Book
Built with