ByteTree API documentation

Latest Prices

Today’s price for every asset — one row each, with the latest day’s open, high, low, close and volume. Filter by asset type, region or sector to narrow it down.

Prices are adjusted by default (split- and dividend-adjusted) — see Data Model for the exact adjustment contract. There is no raw toggle on this list endpoint; for the as-printed values 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 (adjusted)
highnumber | nullDay high (adjusted)
lownumber | nullDay low (adjusted)
closenumberClosing price (adjusted)
volumenumber | nullTrading volume (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