Trades

Get last aggregate returns the latest aggregate bar for a crypto pair.

Get Trades

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

Returns an object with recent trades for a crypto pair on an exchange.

Path Parameters

Query Parameters

{
    "exchange": "coinbasepro",
    "market": "BTC/USD",
    "trades": [
        {
            "id": "279352169",
            "timestamp": "1644524462830",
            "price": 44322.55,
            "size": 0.02209576,
            "cost": 979.340427388,
            "side": "buy"
        },
        {
            "id": "279352170",
            "timestamp": "1644524463216",
            "price": 44322.55,
            "size": 0.00030296,
            "cost": 13.427959748000001,
            "side": "buy"
        },
    ]
}

Copy & Paste Code

curl -H "apiKey: API KEY" https://api.abyiss.com/v1/coinbasepro/BTC-USD/trades

Response Object

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

{
    "exchange": "coinbasepro",
    "market": "BTC/USD",
    "trades": [
        {
            "id": "279352169",
            "timestamp": "1644524462830",
            "price": 44322.55,
            "size": 0.02209576,
            "cost": 979.340427388,
            "side": "buy"
        },
    ]
}

Response Attributes

Last updated