v1

latestOpenAPI 3.0.02026-07-26166415635.8 KB
Stock

Latest trade (single symbol)

The latest trade endpoint provides the latest trade for the given ticker symbol.

Trades with any conditions that causes them to not update the bar price are excluded. For example a trade with condition I (odd lot) will never appear on this endpoint. You can find the complete list of excluded conditions in this FAQ.

get/v2/stocks/{symbol}/trades/latest

Path parameters

symbolstring required

The symbol to query.

Query parameters

feed'delayed_sip' | 'iex' | 'otc' | 'sip' | 'boats' | 'overnight'

The source feed of the data.

  • sip: all US exchanges
  • iex: Investors EXchange
  • delayed_sip: SIP with a 15 minute delay
  • boats: Blue Ocean, overnight US trading data
  • overnight: derived overnight US trading data
  • otc: over-the-counter exchanges

Default: sip if the user has the unlimited subscription, otherwise iex.

currencystring

The currency of all prices in ISO 4217 format. Default: USD.

Response

OK

currencystring
symbolstring required

Example response

{
  "trade": {
    "c": [
      "@",
      "T"
    ],
    "i": 1,
    "p": 178.26,
    "s": 246,
    "t": "2022-01-03T09:00:00.086175744Z",
    "x": "P",
    "z": "C"
  }
}