RenzoDocs

Market data

Quotes, daily bars and the latest intraday price of a symbol.

View as Markdown

Market data gives the latest daily quote of a symbol, its daily bars, and the intraday price that price alerts use. Quotes and bars are open to everyone. The latest intraday price needs a token and a username.

Endpoints

OperationWhat it doesAuth
GET/api/v1/market-dataList quotes of catalog symbols. Cursor-paginated.None
GET/api/v1/market-data/{slug}Read the quote of one symbol.None
GET/api/v1/market-data/{slug}/barsList daily bars of one symbol, newest day first. Cursor-paginated.None
GET/api/v1/market-data/{slug}/latest-priceRead the intraday price that price alerts check.Token and username

Find a slug with Symbols.

Example: read a quote

curl "$BASE/api/v1/market-data/aapl-nasdaq"
Response
{
  "symbol_id": "ed6621c0-5979-526b-8ba1-452bf82b80c0",
  "slug": "aapl-nasdaq",
  "ticker": "AAPL",
  "exchange": "NASDAQ",
  "display_name": "Apple Inc.",
  "asset_class": "equity",
  "is_active": true,
  "price_scale": 2,
  "mapping_state": "mapped",
  "mapping": {
    "provider": "massive",
    "provider_symbol": "AAPL",
    "venue": "XNAS",
    "mapping_version": "v1",
    "is_active": true
  },
  "quote_state": "fresh",
  "provider": "massive",
  "latest_close": 187.42,
  "daily_change": 1.31,
  "daily_change_percent": 0.7,
  "open": 186.9,
  "high": 188.4,
  "low": 186.2,
  "performance": { "w1": 1.2, "m1": 3.4, "m3": 6.8, "m6": 12.1, "ytd": 18.9, "y1": 24.5 },
  "week52_high": 199.62,
  "week52_low": 164.08,
  "sparkline": [177.4, 175.78, 176.16, 178.54, 176.92, 177.3, 179.68, 178.06, 178.44, 180.82, 179.2, 179.58, 181.96, 180.34, 180.72, 183.1, 181.48, 181.86, 184.24, 182.62, 183, 185.38, 183.76, 184.14, 186.52, 184.9, 185.28, 187.66, 186.04, 186.42],
  "session": {
    "open_at": "2026-11-04T14:30:00Z",
    "close_at": "2026-11-04T21:00:00Z"
  },
  "trading_day": "2026-11-03",
  "observation_at": "2026-11-03T21:00:00Z",
  "fetched_at": "2026-11-04T06:15:00Z",
  "stale": false,
  "error": null
}

Read daily bars, newest day first:

curl "$BASE/api/v1/market-data/aapl-nasdaq/bars?start=2026-11-01&end=2026-11-03&limit=1"
Response
{
  "items": [
    {
      "trading_day": "2026-11-03",
      "open": 186.9,
      "high": 188.4,
      "low": 186.2,
      "close": 187.42,
      "volume": 52318400
    }
  ],
  "next_cursor": "eyJrIjoiMjAyNi0xMS0wNFQxMzozMDowMFoifQ",
  "has_more": true,
  "limit": 1
}

Read the latest intraday price:

curl "$BASE/api/v1/market-data/aapl-nasdaq/latest-price" \
  -H "Authorization: Bearer $TOKEN"
Response
{
  "symbol_id": "ed6621c0-5979-526b-8ba1-452bf82b80c0",
  "price": 187.42,
  "observed_at": "2026-11-04T15:42:10Z",
  "source": "massive",
  "replayed": false,
  "replay": null
}

Rules and edge cases

  • Quote source. A quote comes from stored daily bars, not from live ticks. latest_close is the most recent daily close. sparkline holds the last 30 closes, oldest first.
  • Quote state. quote_state is fresh, stale or unavailable. When there is no usable quote, error.code says why, and the price fields are null. mapping_state is unmapped when no provider supplies prices for the symbol.
  • Many quotes. slugs is a comma-separated list of up to 100 slugs. Unknown slugs are skipped. More than 100 answers 400 market_data_too_many_slugs. asset_class narrows the list to one class.
  • Paging. Lists default to 20 and may not pass 100. See Pagination.
  • Bars paging. limit defaults to 400 and may reach 1000. Over 1000 answers 422 validation_failed. Bars come newest first. Follow next_cursor to go back in time. start and end are dates, both included.
  • No source, no bars. A symbol with no price source answers 200 with an empty items list.
  • Bonds. A bond symbol is a US Treasury yield. Values are in percent, not prices. Bars are close-only: open, high and low are null. There is one value per US business day. The latest complete day is one business day back.
  • Latest price may be missing. When there is no intraday price right now, the answer is 503 market_data_latest_price_unavailable. Try again later. Daily quotes still work.
  • Latest price gating. It needs a token and a username. Without a username, it answers 409 profile_incomplete. See Account.
  • Unknown slug. It answers 404 symbol_not_found, except in the many-quotes list, which skips it.

Errors

CodeStatusWhen
symbol_not_found404No active symbol has this slug.
market_data_too_many_slugs400More than 100 slugs were sent.
market_data_latest_price_unavailable503There is no intraday price for this symbol right now.
profile_incomplete409The account has no username yet.
invalid_cursor400The cursor is damaged, belongs to another list or was sent with other filters.

Sign-in and request errors, such as token_expired and validation_failed, can come from any call. See Errors.

Reference

On this page