Hibit: Omni-chain DEX with CEX-level performance
  • Overview
    • Why Hibit DEX
    • Hibit L1 Features
  • Core mechanisms
    • 📜Hybrid Consensus Protocol
    • 🔍AI-Driven Tokenization & Intelligent Interactions
    • ⛽Omni-Chain Compatibility
    • 🧠AI-Powered Liquidity & Order Matching Engine
    • 🧩Scalable & Sustainable Cross-Chain Solutions
    • 💻Development Achievements
    • 💠Transparency & Open Infrastructure
  • AI-Driven Future and Ecosystem
    • 📏Trading Hub
    • 🐶Meme Economy
    • 💸AI-Integrated Wallet
    • 💱Payment System
    • 🌲Infrastructure and Ecosystem
  • Get started
    • 🔑Login
    • 💵Deposit
    • 📊Trade
    • 💰Fee Structure
    • ⛲Withdrawal
    • 🚀Token Listing
      • 🌟Basic mode
      • 🎓Pro mode
    • 💳Manage Liquidity
    • 💸Liquidity Provider
    • ❓Q & A
      • Why Swap Orders Get Cancelled?
  • Developers
    • API
      • Basic
        • get timestamp
        • get chains
        • get assets
        • get asset
      • Market
        • get markets
        • get market
        • get 24hr ticker
        • get extended 24‑hr ticker
        • get kline
        • get swap info
        • get depth
        • get trade history
      • Order
        • get orders
        • get order
        • get trades of order
        • submit spot order
        • cancel spot order
      • Wallet
        • get nonce
        • get balances
      • Broker
        • Get payment address
        • Quote
        • Swap
        • Get agent order
    • Dev SDK
    • Getting Your Proxy Key
  • Risk Management
  • Rewards Program
  • Roadmap
  • Glossary
Powered by GitBook
On this page
  1. Developers
  2. API
  3. Market

get extended 24‑hr ticker

Previousget 24hr tickerNextget kline

Last updated 23 days ago

API details

This API returns extended 24‑hour market ticker data, including open, close, high, low, amount, and volume, along with additional details such as the trading pair symbol and its current USD price. It accepts optional parameters for market ID, chain IDs, and chain asset types; if omitted, ticker data for all markets is returned.

Code example

import { hibitClient } from '@delandlabs/hibit-sdk';

const options = {
  network: HibitNetwork.Testnet
};
hibitClient.setOptions(options);

const req = { marketId:10017n };
const extended24HrTicker = await hibitClient.getMarkets24HrTickerExtended(req);

SDK

Source code

https://github.com/Deland-Labs/hibit-sdk

Gets the extended 24-hour ticker info for markets

get
Query parameters
MarketIdstringOptional

The market id.

ChainIdsstring[]Optional

Filter markets by chain IDs (optional).

ChainAssetTypesstring[]Optional

Filter markets by chain asset types (optional).

Responses
200
OK
400
Bad Request
401
Unauthorized
403
Forbidden
404
Not Found
500
Internal Server Error
501
Not Implemented
get
GET /v1/markets/ticker/extended HTTP/1.1
Host: testnetopenapi.hibit.app
Accept: */*
{
  "code": 1,
  "message": "text",
  "data": {
    "items": [
      {
        "id": "text",
        "o": "text",
        "h": "text",
        "l": "text",
        "c": "text",
        "v": "text",
        "a": "text",
        "t": null,
        "lpusd": "text",
        "ausd": "text",
        "bas": "text",
        "qas": "text"
      }
    ]
  }
}
  • API details
  • GETGets the extended 24-hour ticker info for markets
  • Code example
  • SDK