Last Quote

The Last Quote API provides last quote details for a symbol.

[GET] Get the last quote

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

Parameters

Path Parameters

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

Response

A Last Quote 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": {
    "askprice": 279.1,
    "asksize": 1,
    "askexchange": 15,
    "bidprice": 287.05,
    "bidsize": 10,
    "bidexchange": 17,
    "timestamp": 1588770424970329400
  }
}

Last Quote Entity

Properties

askprice
number
the current ask price
asksize
int
the current ask size
askexchange
int
the exchange code of the ask quote
bidprice
number
the current bid price
bidsize
int
the current bid size
bidexchange
int
the exchange code of the bid quote
timestamp
int
epoch timestamp in nanoseconds