Order Books

Get order books returns a full order book for a crypto pair from an exchange.

Get Level 2 Orderbook

GET https://api.abyiss.com/v1/{exchange}/{market}/orders

Returns a snapshot of the recent level 2 orderbook for a crypto pair on an exchange.

Path Parameters

NameTypeDescription

exchange*

string

Unique exchange identifier used by Abyiss.

market*

string

Unique Crypto Pair identifier used by the exchange.

Query Parameters

NameTypeDescription

apiKey*

string

Your Abyiss API Key

{
    "exchange":"coinbasepro",
    "market":"BTC/USD",
    "nonce":14601360013,
    "bids":
    [
        [
            61947.91,
            1.48088
        ],
        [
            61947.9,
            0.5
        ],
        [
            61944.07,
            0.44094
        ]
    ],
    "asks":
    [
        [
            61947.92,
            2.28573
        ],
        [
            61952.89,
            0.11214
        ],
        [
            61952.9,
            0.50224
        ]
    ]
}

Copy & Paste Code

curl -H "apiKey: API KEY" https://api.abyiss.com/v1/coinbasepro/BTC-USD/orders?apiKey=*

Response Object

Example URL: https://api.abyiss.com/v1/coinbasepro/BTC-USD/orders?apiKey=

{
    "exchange":"coinbasepro",
    "market":"BTC/USD",
    "nonce":14601360013,
    "bids":
    [
        [
            61947.91,
            1.48088
        ],
        [
            61947.9,
            0.5
        ],
        [
            61944.07,
            0.44094
        ]
    ],
    "asks":
    [
        [
            61947.92,
            2.28573
        ],
        [
            61952.89,
            0.11214
        ],
        [
            61952.9,
            0.50224
        ]
    ]
}

Response Attributes

Attribute NameData TypeDescription

exchange

string

The exchange id the order book is from.

market

string

The crypto pair the order book is about.

nonce

integer

The serial unique identifier of the order book on the exchange.

bids

array

Arrays of bids in the market [[float, float], [float, float]]

asks

array

Arrays of asks in the market [[float, float], [float, float]]

Last updated