← tickerbot.io
View as markdown

costs_and_expenses

Total costs and expenses reported on the income statement (COGS + opex).

metadata
typebigint
unitUSD
cadencepost-close daily
intervals1d
universeall tickers
historyfull · since 2009
nullableyes — NULL where not applicable

Swap YOUR_KEY for a key from /dashboard/keys. Responses are real captures from 2026-09-18, trimmed.

Every ticker matching this signal /v2/signals/{signal}

Live — every ticker with costs_and_expenses above a cutoff
curl -G "https://api.tickerbot.io/v2/signals/costs_and_expenses" \
  --data-urlencode "condition=> 11046000000" \
  -H "Authorization: Bearer YOUR_KEY"
Response (sampled 2026-09-18, trimmed)
{
 "as_of": "2026-09-18T14:37:58.843Z",
 "signal": "costs_and_expenses",
 "condition": "> 11046000000",
 "universe": null,
 "count": 2,
 "results": [
  {
   "ticker": "UNH",
   "name": "UNITEDHEALTH GROUP INCORPORATED (Delaware)",
   "value": 104041000000
  },
  {
   "ticker": "AMZN",
   "name": "Amazon.Com Inc",
   "value": 77367000000
  }
 ]
}
As-of — the same read at a past date
curl -G "https://api.tickerbot.io/v2/signals/costs_and_expenses" \
  --data-urlencode "condition=> 11046000000" \
  -d "asof=2026-07-04" \
  -H "Authorization: Bearer YOUR_KEY"
Response (sampled 2026-09-18, trimmed)
{
 "as_of": "2026-06-20",
 "signal": "costs_and_expenses",
 "condition": "> 11046000000",
 "universe": null,
 "count": 2,
 "results": [
  {
   "ticker": "AMZN",
   "name": "Amazon.Com Inc",
   "value": 162747000000
  },
  {
   "ticker": "CVS",
   "name": "CVS HEALTH CORPORATION",
   "value": 106078000000
  }
 ]
}
Subscribe — webhook when a ticker starts matching
curl -X POST "https://api.tickerbot.io/v2/signals/costs_and_expenses/subscribe" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_KEY" \
  -d '{"condition": "> 11046000000", "target_url": "https://example.com/hooks/tickerbot"}'

Returns 201 with the created webhook — the same shape as GET /v2/webhooks/{id}, plus a one-time signing_secret for HMAC verification.

The whole market, filtered on it /v2/scan

Live — the whole market, ranked by this column
curl -X POST "https://api.tickerbot.io/v2/scan" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_KEY" \
  -d '{ "q": "costs_and_expenses IS NOT NULL", "order": "costs_and_expenses", "columns": "costs_and_expenses" }'
Response (sampled 2026-09-18, trimmed)
{
 "as_of": "2026-09-18T14:38:01.301Z",
 "query": {
  "q": "costs_and_expenses IS NOT NULL",
  "limit": 2,
  "order": "costs_and_expenses",
  "dir": "desc",
  "fields": [
   "costs_and_expenses"
  ],
  "full": false,
  "universe": null,
  "asset_class": null
 },
 "count": 2,
 "results": [
  {
   "ticker": "UNH",
   "name": "UNITEDHEALTH GROUP INCORPORATED (Delaware)",
   "asset_class": "stocks",
   "asset_type": "CS",
   "price": 374.987,
   "change_1d_pct": -0.059433383971630914,
   "gap_pct": 0.0213,
   "relative_volume": 0.2623,
   "market_cap": 336831442285,
   "costs_and_expenses": 104041000000
  },
  {
   "ticker": "AMZN",
   "name": "Amazon.Com Inc",
   "asset_class": "stocks",
   "asset_type": "CS",
   "price": 252.612,
   "change_1d_pct": 0.5661053385883184,
   "gap_pct": 0.6887,
   "relative_volume": 0.5803,
   "market_cap": 2653001686169,
   "costs_and_expenses": 77367000000
  }
 ]
}
As-of — the same scan at a past date
curl -X POST "https://api.tickerbot.io/v2/scan" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_KEY" \
  -d '{ "q": "costs_and_expenses IS NOT NULL", "order": "costs_and_expenses", "columns": "costs_and_expenses", "asof": "2026-07-04" }'
Response (sampled 2026-09-18, trimmed)
{
 "as_of": "2026-06-20",
 "query": {
  "q": "costs_and_expenses IS NOT NULL",
  "asof": "2026-06-20",
  "interval": "auto",
  "limit": 2,
  "order": "costs_and_expenses",
  "dir": "desc",
  "fields": [
   "costs_and_expenses"
  ],
  "full": false,
  "universe": null,
  "asset_class": null
 },
 "count": 2,
 "results": [
  {
   "ticker": "AMZN",
   "name": "Amazon.Com Inc",
   "asset_class": "stocks",
   "asset_type": "CS",
   "price": 244.39,
   "change_1d_pct": 2.9010526315789416,
   "gap_pct": 1.1031578947368441,
   "relative_volume": 1.8167681121392378,
   "market_cap": 2653348545000,
   "costs_and_expenses": 162747000000
  },
  {
   "ticker": "CVS",
   "name": "CVS HEALTH CORPORATION",
   "asset_class": "stocks",
   "asset_type": "CS",
   "price": 98.32,
   "change_1d_pct": -0.8471157724889103,
   "gap_pct": 0,
   "relative_volume": 2.3986551195847077,
   "market_cap": 124595496000,
   "costs_and_expenses": 106078000000
  }
 ]
}
Subscribe — webhook on a market-wide condition
curl -X POST "https://api.tickerbot.io/v2/scan/subscribe" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_KEY" \
  -d '{"q": "costs_and_expenses > 11046000000", "target_url": "https://example.com/hooks/tickerbot"}'

Returns 201 with the created webhook object; deliveries carry the tickers matching the condition at each evaluation.

Its history /v2/series

History — the column on an aligned time grid
curl "https://api.tickerbot.io/v2/series?tickers=AAPL,MSFT&columns=close,costs_and_expenses" \
  -H "Authorization: Bearer YOUR_KEY"
Response (sampled 2026-09-18, trimmed)
{
 "as_of": "2026-09-18T14:38:04.115Z",
 "interval": "1d",
 "tickers": [
  "AAPL",
  "MSFT"
 ],
 "columns": [
  "close",
  "costs_and_expenses"
 ],
 "count": 6,
 "series": {
  "AAPL": [
   {
    "t": "2026-09-15",
    "close": 331.34,
    "costs_and_expenses": 19075000000
   },
   {
    "t": "2026-09-16",
    "close": 332.41,
    "costs_and_expenses": 19075000000
   },
   {
    "t": "2026-09-17",
    "close": 337.002,
    "costs_and_expenses": 19075000000
   }
  ],
  "MSFT": [
   {
    "t": "2026-09-15",
    "close": 497.12,
    "costs_and_expenses": 19879000000
   },
   {
    "t": "2026-09-16",
    "close": 490.3,
    "costs_and_expenses": 19879000000
   },
   {
    "t": "2026-09-17",
    "close": 497.75,
    "costs_and_expenses": 19879000000
   }
  ]
 }
}

Same grammar on scan, series, and webhooks; state reads take ?asof= for point-in-time answers.

Related signals — Income statement