Field reference / sector context

sector_stocks_count

Assets in this asset's sector with a row on the date and timeframe (the denominator of the other sector counts). Sectors are computed per date and timeframe over the assets with a row: common stocks by their sector, all ETFs as one ETF sector, all crypto as one Crypto sector

LevelPer stock, ETF and coin, one value per date
Typeinteger
Can be nullNo, whenever its section has data
Categorysector context
Returned by/v1/history, /v1/search

Getting it

Its history for one ticker:

curl -G "https://api.tickerdb.com/v1/history" \ --data-urlencode 'tickers=AAPL' \ --data-urlencode 'fields=sector_stocks_count' \ --data-urlencode 'start=2025-01-01' \ -H "Authorization: Bearer YOUR_API_KEY"

Stocks matching it today:

curl -G "https://api.tickerdb.com/v1/search" \ --data-urlencode 'filters=[{"field":"sector_stocks_count","op":"gte","value":0}]' \ --data-urlencode 'fields=["ticker","sector_stocks_count"]' \ -H "Authorization: Bearer YOUR_API_KEY"

Every field, with its type and values, is also in /v1/schema/fields.