Latest trade (single symbol)
GET {{baseUrl}}/v2/stocks/:symbol/trades/latest
The latest trades endpoint provides the latest trade data for a given ticker symbol.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
feed | string | The source feed of the data. sip contains all US exchanges, iex contains only the Investors Exchange. otc contains over the counter exchanges. Default: sip for the non-latest endpoints or if the user has the unlimited subscription, iex otherwise. | |
currency | string | The currency of all prices in ISO 4217 format. Default is USD. | |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"symbol":"AAPL","trade":{"t":"2022-08-17T09:53:16.845580544Z","x":"P","p":172.6,"s":100,"c":["@","T"],"i":689,"z":"C"}}