Last Trade
Get last trade returns the most recent trade for a crypto pair.
Last updated
Get last trade returns the most recent trade for a crypto pair.
Last updated
GET
https://api.abyiss.com/v1/{exchange}/{market}/lasttrade
Returns an object containing the latest trade for a crypto pair on an exchange.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Example URL: https://api.abyiss.com/v1/coinbasepro/BTC-USD/lasttrade?apiKey=
Attribute Name | Data Type | Description |
---|---|---|
exchange*
string
Unique exchange identifier used by Abyiss.
market*
string
Unique Crypto Pair identifier used by the exchange.
apiKey*
string
Your Abyiss API Key
exchange
string
The exchange id the trade occurred on.
market
string
The crypto pair that was traded.
id
string
The exchange specific unique id of the trade.
timestamp
string
The Unix timestamp that trade was executed.
price
float
The quote currency price of the market.
size
float
The quantity traded.
cost
float
The quote cost: (size * price).
side
string
Whether the trade was a buy or sell.