Skip to main content
GET
/
market-data
/
indices
/
{code}
/
quote
Get index quote
curl --request GET \
  --url https://api.bluumfinance.com/v1/market-data/indices/{code}/quote \
  --header 'Authorization: Basic <encoded-value>'
{
  "object": "investor",
  "livemode": false,
  "symbol": "AAPL",
  "market": "XNAS",
  "price": 185.5,
  "currency": "USD",
  "timestamp": "2023-11-07T05:31:56Z",
  "id": "inv_01j9x8m2k7qpzwv3t5r6y8n0ab",
  "created": 1747776000,
  "metadata": {},
  "market_name": "NASDAQ",
  "bid_price": 123,
  "ask_price": 123,
  "bond": {
    "clean_price": 99.875,
    "yield_to_maturity": 0.0475,
    "yield_to_worst": 123
  }
}

Authorizations

Authorization
string
header
required

HTTP Basic Authentication using the API Key as username and API Secret as password.

Path Parameters

code
string
required

Index symbol/code

Response

Index quote

Envelope-wrapped quote (object: quote).

object
string
required

The resource type discriminator.

Example:

"investor"

livemode
boolean
required

Whether this resource was created against a live API key. Test-mode keys always return false.

Example:

false

symbol
string
required
Example:

"AAPL"

market
string
required

MIC code of the market

Example:

"XNAS"

price
number
required

Primary price. For equities, the last traded price. For bonds, the clean price quoted as percentage of par (e.g. 99.875 means 99.875% of face value).

Example:

185.5

currency
string
required

Price currency (ISO 4217)

Example:

"USD"

timestamp
string<date-time>
required

When the price was recorded

source
enum<string>
required

Data provider

Available options:
ALPACA,
NAYA,
DATABASE
confidence
enum<string>
required

Price data freshness

Available options:
REAL_TIME,
DELAYED,
END_OF_DAY,
STALE,
UNAVAILABLE
id
string

Prefixed public id (e.g. inv_…, ord_…, dep_…).

Example:

"inv_01j9x8m2k7qpzwv3t5r6y8n0ab"

created
integer | null

Unix-seconds timestamp of resource creation.

Example:

1747776000

metadata
object

Partner-set key/value map for cross-referencing.

market_name
string

Common market name

Example:

"NASDAQ"

bid_price
number

Current best bid price. For bonds, % of par.

ask_price
number

Current best ask price. For bonds, % of par.

bond
object

Fixed-income pricing extension. Populated only when the underlying asset is a bond. Prices are % of par; yields are decimals (e.g. 0.0475 = 4.75%).

What Alpaca exposes today: clean price, yield to maturity, yield to worst. Accrued interest is applied at settlement but is not returned on quote requests; for hold-sizing purposes Bluum estimates it internally. Bid/ask quotes, sizes, spreads, and benchmark identifiers are not part of Alpaca's fixed-income market-data response — those fields are omitted from this block.