days_to_earnings
Calendar days until next earnings announcement. Negative after report.
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 days_to_earnings above a cutoff
curl -G "https://api.tickerbot.io/v2/signals/days_to_earnings" \
--data-urlencode "condition=> 54" \
-H "Authorization: Bearer YOUR_KEY"Response (sampled 2026-09-18, trimmed)
{
"as_of": "2026-09-18T14:38:12.118Z",
"signal": "days_to_earnings",
"condition": "> 54",
"universe": null,
"count": 2,
"results": [
{
"ticker": "ARQQ",
"name": "Arqit Quantum Inc. Ordinary Shares",
"value": 82
},
{
"ticker": "AHMA",
"name": "Ambitions Enterprise Management Co. L.L.C Class A Ordinary Shares",
"value": 81
}
]
}As-of — the same read at a past date
curl -G "https://api.tickerbot.io/v2/signals/days_to_earnings" \
--data-urlencode "condition=> 54" \
-d "asof=2026-07-04" \
-H "Authorization: Bearer YOUR_KEY"Response (sampled 2026-09-18, trimmed)
{
"as_of": "2026-06-20",
"signal": "days_to_earnings",
"condition": "> 54",
"universe": null,
"count": 2,
"results": [
{
"ticker": "ESP",
"name": "Espey Mfg. & Electronics Corp",
"value": 90
},
{
"ticker": "RZLT",
"name": "Rezolute, Inc. Common Stock (NV)",
"value": 90
}
]
}Subscribe — webhook when a ticker starts matching
curl -X POST "https://api.tickerbot.io/v2/signals/days_to_earnings/subscribe" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_KEY" \
-d '{"condition": "> 54", "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": "days_to_earnings IS NOT NULL", "order": "days_to_earnings", "columns": "days_to_earnings" }'Response (sampled 2026-09-18, trimmed)
{
"as_of": "2026-09-18T14:38:15.651Z",
"query": {
"q": "days_to_earnings IS NOT NULL",
"limit": 2,
"order": "days_to_earnings",
"dir": "desc",
"fields": [
"days_to_earnings"
],
"full": false,
"universe": null,
"asset_class": null
},
"count": 2,
"results": [
{
"ticker": "ARQQ",
"name": "Arqit Quantum Inc. Ordinary Shares",
"asset_class": "stocks",
"asset_type": "CS",
"price": 18.78,
"change_1d_pct": -3.7909836065573694,
"gap_pct": 1.2295,
"relative_volume": 0.1896,
"market_cap": 330819833,
"days_to_earnings": 82
},
{
"ticker": "AHMA",
"name": "Ambitions Enterprise Management Co. L.L.C Class A Ordinary Shares",
"asset_class": "stocks",
"asset_type": "CS",
"price": 1.32,
"change_1d_pct": 2.325581395348839,
"gap_pct": 0.7752,
"relative_volume": 0.0057,
"market_cap": 37750750,
"days_to_earnings": 81
}
]
}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": "days_to_earnings IS NOT NULL", "order": "days_to_earnings", "columns": "days_to_earnings", "asof": "2026-07-04" }'Response (sampled 2026-09-18, trimmed)
{
"as_of": "2026-06-20",
"query": {
"q": "days_to_earnings IS NOT NULL",
"asof": "2026-06-20",
"interval": "auto",
"limit": 2,
"order": "days_to_earnings",
"dir": "desc",
"fields": [
"days_to_earnings"
],
"full": false,
"universe": null,
"asset_class": null
},
"count": 2,
"results": [
{
"ticker": "ESP",
"name": "Espey Mfg. & Electronics Corp",
"asset_class": "stocks",
"asset_type": "CS",
"price": 60.97,
"change_1d_pct": 2.6603805354436747,
"gap_pct": 1.4480552281528867,
"relative_volume": 0.5465368541920911,
"market_cap": 172837678,
"days_to_earnings": 90
},
{
"ticker": "RZLT",
"name": "Rezolute, Inc. Common Stock (NV)",
"asset_class": "stocks",
"asset_type": "CS",
"price": 5.02,
"change_1d_pct": 4.801670146137777,
"gap_pct": 1.0438413361169065,
"relative_volume": 1.542910270948538,
"market_cap": 517113235,
"days_to_earnings": 90
}
]
}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": "days_to_earnings > 54", "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,days_to_earnings" \
-H "Authorization: Bearer YOUR_KEY"Response (sampled 2026-09-18, trimmed)
{
"as_of": "2026-09-18T14:38:20.368Z",
"interval": "1d",
"tickers": [
"AAPL",
"MSFT"
],
"columns": [
"close",
"days_to_earnings"
],
"count": 6,
"series": {
"AAPL": [
{
"t": "2026-09-15",
"close": 331.34,
"days_to_earnings": 43
},
{
"t": "2026-09-16",
"close": 332.41,
"days_to_earnings": 42
},
{
"t": "2026-09-17",
"close": 337.002,
"days_to_earnings": 41
}
],
"MSFT": [
{
"t": "2026-09-15",
"close": 497.12,
"days_to_earnings": 49
},
{
"t": "2026-09-16",
"close": 490.3,
"days_to_earnings": 48
},
{
"t": "2026-09-17",
"close": 497.75,
"days_to_earnings": 47
}
]
}
}Same grammar on scan, series, and webhooks; state reads take ?asof= for point-in-time answers.