ABCC API
  • Introduction
  • Authenticate
  • Meta
  • Errors
  • Common
    • Get Timestamp
    • Get Markets
  • Spot Trade
    • List Order
    • Query Order
    • New Order
    • Cancel Order
  • Market Data
    • Order book
    • Depth
    • Market Quotes
    • Kline Data
  • Account
    • User Balance
    • Transaction Records
  • Websocket Market Streams
    • Common
    • Full Depth Data
    • Diff. Depth Stream
    • Latest Order Price
    • Unsubscribe
Powered by GitBook
On this page

Was this helpful?

  1. Common

Get Markets

Get Markets

GET https://api.abcc.com/api/v1/common/markets

{
    "markets": [
        {
            "id": 4,
            "code": "ethbtc",
            "name": "ETH/BTC",
            "base_unit": "eth",
            "quote_unit": "btc",
            "depth_merge_min": 3,
            "depth_merge_max": 6,
            "price_fixed": 6,
            "volume_fixed": 2,
            "fee": "0.001",
            "market_partition": "normal"
        },
        {
            "id": 6,
            "code": "btcusdt",
            "name": "BTC/USDT",
            "base_unit": "btc",
            "quote_unit": "usdt",
            "depth_merge_min": 0,
            "depth_merge_max": 2,
            "price_fixed": 2,
            "volume_fixed": 6,
            "fee": "0.001",
            "market_partition": "normal"
        }
    ]
}

OUTPUT EXPLANATION

Parameter

Type

Explanation

id

String

market pair unique code

code

String

market pair name

name

String

market pair name

base_unit

String

base currency

quote_unit

String

quote currency

price_fixed

String

price precision

volume_fixed

String

volume precision

PreviousGet TimestampNextList Order

Last updated 2 years ago

Was this helpful?