Latest Prices

Returns the most recent OHLCV record for every tracked asset of the given type. The full OHLCV is split-adjusted by default — see Data Model for the rationale. There is no per-symbol raw toggle on this list endpoint; for raw access use /api/prices/:symbol?raw=true.

Request

# All assets
curl https://api.bytetree.io/api/prices

# Stocks only
curl "https://api.bytetree.io/api/prices?type=stock"

# US stocks
curl "https://api.bytetree.io/api/prices?type=stock&region=US"

Query Parameters

NameTypeRequiredDescription
typestringNoFilter by asset type: stock, crypto, etf, index, or commodity. Returns all types if omitted.
regionstringNoFilter by region code (e.g. US, GB, JP)
sectorstringNoFilter by sector name (e.g. Technology, Financials)

Response

FieldTypeDescription
countnumberTotal number of symbols returned
dataarrayArray of latest price objects

Each price object:

FieldTypeDescription
symbolstringTicker symbol
datestringISO 8601 date of the latest record
opennumber | nullOpening price (split-adjusted)
highnumber | nullDay high (split-adjusted)
lownumber | nullDay low (split-adjusted)
closenumberClosing price (split-adjusted)
volumenumber | nullTrading volume (split-adjusted)
sourcestringIngest provenance: feed (provider-sourced)
{
  "count": 3,
  "data": [
    {
      "symbol": "AAPL",
      "date": "2026-02-24T00:00:00.000Z",
      "open": 225.10,
      "high": 227.50,
      "low": 224.80,
      "close": 226.84,
      "volume": 52341200,
      "source": "feed"
    },
    {
      "symbol": "MSFT",
      "date": "2026-02-24T00:00:00.000Z",
      "open": 415.20,
      "high": 418.00,
      "low": 414.50,
      "close": 417.15,
      "volume": 21056400,
      "source": "feed"
    }
  ]
}

Notes