Last Trade

Get last trade returns the most recent trade for a crypto pair.

Get Last Trade

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

Returns an object containing the latest trade for a crypto pair on an exchange.

Path Parameters

Query Parameters

{
    "exchange": "coinbasepro",
    "market": "BTC/USD",
    "id": "279363545",
    "timestamp": "1644525461042",
    "price": 43990.48,
    "size": 0.00608355,
    "cost": 267.618284604,
    "side": "buy"
}

Copy & Paste Code

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

Response Object

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

{
    "exchange": "coinbasepro",
    "market": "BTC/USD",
    "id": "279363545",
    "timestamp": "1644525461042",
    "price": 43990.48,
    "size": 0.00608355,
    "cost": 267.618284604,
    "side": "buy"
}

Response Attributes

Last updated