Skip to main content
GET
Get a real-time price to trade against

Authorizations

x-api-key
string
header
required

Your API key, issued by Securitize. Send it in the x-api-key header on every request. The key identifies your partner account; investorId names the investor each call concerns.

Query Parameters

investorId
string
required

Securitize's id for the investor, as the SecId API's create returned it.

symbol
string
required

The stock's ticker, as your Securitize contact lists it. AAPL, AAPL/USD and AAPL/USDC all mean the same asset; the answer always names it AAPL/USD.

side
enum<string>
required

on-ramp to buy the stock with USDC, off-ramp to sell it for USDC. on-ramp buys the stock with USDC; off-ramp sells it for USDC.

Available options:
on-ramp,
off-ramp
amount
string
required

The amount the investor is about to trade, in raw base units as a string of digits — USDC on a buy, the stock token on a sell.

Pattern: ^\d+$

Response

The real-time price and its signed form.

symbol
string
required

The asset, always as <ticker>/USD.

mid
string
required

Midpoint of bestBid and bestAsk, as a decimal string.

bestBid
string
required

Consolidated best bid, as a decimal string.

bestAsk
string
required

Consolidated best offer, as a decimal string.

lastPrice
string
required

Last sale, as a decimal string.

marketStatus
string
required

OPEN, CLOSED or UNAVAILABLE. Only UNAVAILABLE blocks a trade; CLOSED is pre-market or post-market trading. Treat the list as open.

validFrom
string<date-time>
required

When the quote was observed.

validUntil
string<date-time>
required

How long the quote is current; refresh what you show by then. About 2 seconds after validFrom on a real-time quote. The order's own expiry is signedPrice's.

staleness
integer
required

How old the quote is, in seconds.

signedPrice
string
required

The price in signed form. Pass it unchanged on the order, so the order is priced exactly as the investor saw it. It expires about 20 seconds after it is issued.

lastSize
integer

Shares in the last sale.

bidSize
integer

Shares displayed at the bid.

askSize
integer

Shares displayed at the offer.

marketIdentificationCode
string

Venue MIC for the quote.

bidMarketIdentificationCode
string

Venue MIC of the best bid. Bid, offer and last can come from different venues; attribute each one.

askMarketIdentificationCode
string

Venue MIC of the best offer.

lastMarketIdentificationCode
string

Venue MIC of the last sale.

bidTime
string<date-time>
askTime
string<date-time>
reason
string | null

Why the market is not open: PRE_MARKET, POST_MARKET, FIVE_PERCENT_DEVIATION or TEN_PERCENT_DEVIATION. null when open.