← tickerbot.io
View as markdown

cost_of_revenue

Cost of goods sold for the quarter.

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 cost_of_revenue above a cutoff
curl -G "https://api.tickerbot.io/v2/signals/cost_of_revenue" \
  --data-urlencode "condition=> 13122000000" \
  -H "Authorization: Bearer YOUR_KEY"
Response (sampled 2026-09-18, trimmed)
{
 "as_of": "2026-09-18T14:37:58.329Z",
 "signal": "cost_of_revenue",
 "condition": "> 13122000000",
 "universe": null,
 "count": 2,
 "results": [
  {
   "ticker": "WMT",
   "name": "Walmart Inc. Common Stock",
   "value": 138804000000
  },
  {
   "ticker": "MCK",
   "name": "McKesson Corporation",
   "value": 101695000000
  }
 ]
}
As-of — the same read at a past date
curl -G "https://api.tickerbot.io/v2/signals/cost_of_revenue" \
  --data-urlencode "condition=> 13122000000" \
  -d "asof=2026-07-04" \
  -H "Authorization: Bearer YOUR_KEY"
Response (sampled 2026-09-18, trimmed)
{
 "as_of": "2026-06-20",
 "signal": "cost_of_revenue",
 "condition": "> 13122000000",
 "universe": null,
 "count": 2,
 "results": [
  {
   "ticker": "WMT",
   "name": "Walmart Inc. Common Stock",
   "value": 133058000000
  },
  {
   "ticker": "MCK",
   "name": "McKesson Corporation",
   "value": 99608000000
  }
 ]
}
Subscribe — webhook when a ticker starts matching
curl -X POST "https://api.tickerbot.io/v2/signals/cost_of_revenue/subscribe" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_KEY" \
  -d '{"condition": "> 13122000000", "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": "cost_of_revenue IS NOT NULL", "order": "cost_of_revenue", "columns": "cost_of_revenue" }'
Response (sampled 2026-09-18, trimmed)
{
 "as_of": "2026-09-18T14:38:00.635Z",
 "query": {
  "q": "cost_of_revenue IS NOT NULL",
  "limit": 2,
  "order": "cost_of_revenue",
  "dir": "desc",
  "fields": [
   "cost_of_revenue"
  ],
  "full": false,
  "universe": null,
  "asset_class": null
 },
 "count": 2,
 "results": [
  {
   "ticker": "WMT",
   "name": "Walmart Inc. Common Stock",
   "asset_class": "stocks",
   "asset_type": "CS",
   "price": 107.557,
   "change_1d_pct": 0.7182320441988912,
   "gap_pct": -0.515,
   "relative_volume": 0.5271,
   "market_cap": 852877720907,
   "cost_of_revenue": 138804000000
  },
  {
   "ticker": "MCK",
   "name": "McKesson Corporation",
   "asset_class": "stocks",
   "asset_type": "CS",
   "price": 867.939,
   "change_1d_pct": -1.3223506940891667,
   "gap_pct": -0.772,
   "relative_volume": 0.2232,
   "market_cap": 103449463186,
   "cost_of_revenue": 101695000000
  }
 ]
}
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": "cost_of_revenue IS NOT NULL", "order": "cost_of_revenue", "columns": "cost_of_revenue", "asof": "2026-07-04" }'
Response (sampled 2026-09-18, trimmed)
{
 "as_of": "2026-06-20",
 "query": {
  "q": "cost_of_revenue IS NOT NULL",
  "asof": "2026-06-20",
  "interval": "auto",
  "limit": 2,
  "order": "cost_of_revenue",
  "dir": "desc",
  "fields": [
   "cost_of_revenue"
  ],
  "full": false,
  "universe": null,
  "asset_class": null
 },
 "count": 2,
 "results": [
  {
   "ticker": "WMT",
   "name": "Walmart Inc. Common Stock",
   "asset_class": "stocks",
   "asset_type": "CS",
   "price": 117.18,
   "change_1d_pct": -0.8041987640734688,
   "gap_pct": 0.0592567510369994,
   "relative_volume": 1.4976107120369615,
   "market_cap": 938138718000,
   "cost_of_revenue": 133058000000
  },
  {
   "ticker": "MCK",
   "name": "McKesson Corporation",
   "asset_class": "stocks",
   "asset_type": "CS",
   "price": 750.63,
   "change_1d_pct": -3.740702744293403,
   "gap_pct": -0.5232110797640328,
   "relative_volume": 1.9663261766897744,
   "market_cap": 93339186000,
   "cost_of_revenue": 99608000000
  }
 ]
}
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": "cost_of_revenue > 13122000000", "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,cost_of_revenue" \
  -H "Authorization: Bearer YOUR_KEY"
Response (sampled 2026-09-18, trimmed)
{
 "as_of": "2026-09-18T14:38:03.695Z",
 "interval": "1d",
 "tickers": [
  "AAPL",
  "MSFT"
 ],
 "columns": [
  "close",
  "cost_of_revenue"
 ],
 "count": 6,
 "series": {
  "AAPL": [
   {
    "t": "2026-09-15",
    "close": 331.34,
    "cost_of_revenue": 54647000000
   },
   {
    "t": "2026-09-16",
    "close": 332.41,
    "cost_of_revenue": 54647000000
   },
   {
    "t": "2026-09-17",
    "close": 337.002,
    "cost_of_revenue": 54647000000
   }
  ],
  "MSFT": [
   {
    "t": "2026-09-15",
    "close": 497.12,
    "cost_of_revenue": 29525000000
   },
   {
    "t": "2026-09-16",
    "close": 490.3,
    "cost_of_revenue": 29525000000
   },
   {
    "t": "2026-09-17",
    "close": 497.75,
    "cost_of_revenue": 29525000000
   }
  ]
 }
}

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

Related signals — Income statement