Last Trade

The Last Trade API provides last trade details for a symbol.

[GET] Get the last trade

GET/v1/last/stocks/{symbol}
Retrieves the last trade for the requested symbol.

Parameters

Path Parameters

symbol
string
A stock ticker symbol to retrieve the last trade of

Response

A Last Trade object enclosed by a response object. See example

Errors

401
The API key is not valid, or the feature is not enabled.
404 Not found
symbol is not known

Response

Example

{
  "status": "success",
  "symbol": "SPY",
  "last": {
    "price": 286.84,
    "size": 100,
    "exchange": 2,
    "cond1": 12,
    "cond2": 0,
    "cond3": 0,
    "cond4": 0,
    "timestamp": 1588770424970329400
  }
}

Last Trade Entity

Properties

price
number
last trade price
size
init
last trade volume size
exchange
int
exchange code where the last trade was made
cond1
int
condition flag 1
cond2
int
condition flag 2
cond3
int
condition flag 3
cond4
int
condition flag 4
timestamp
int
epoch timestamp in nanoseconds