recent_upgrade
At least one analyst upgraded the ticker in the last 7 days.
At a glance
EXISTS (SELECT 1 FROM analyst_events WHERE ticker = t.ticker AND action = 'upgrades' AND timestamp >= NOW() - INTERVAL '7 days')| Type | state (boolean) |
| Group | Analyst ratings |
| Category | Upgrades & downgrades |
| Update cadence | 15 min |
| Intervals | 1d |
| Universe | all tickers |
| History | recent only (forward-only from first computation) |
| Firing | continuous |
Individual firm actions: rating changes, initiations, and price-target changes.
Query it
Every applicable form factor, grouped by endpoint family. Swap YOUR_KEY for the value from /dashboard/keys. Response payloads are real captures, sampled 2026-08-18 and trimmed — your run's values and dates will differ.
Use signals /v2/signals/{signal}
One signal across the market: who matches now, who matched then, and a push when someone starts. Docs →
curl "https://api.tickerbot.io/v2/signals/recent_upgrade" \
-H "Authorization: Bearer YOUR_KEY"{
"as_of": "2026-08-18T00:25:34.198Z",
"signal": "recent_upgrade",
"condition": null,
"universe": null,
"count": 2,
"results": [
{
"ticker": "ABBV",
"name": "ABBVIE INC.",
"value": true
},
{
"ticker": "ABT",
"name": "Abbott Laboratories",
"value": true
}
]
}curl "https://api.tickerbot.io/v2/signals/recent_upgrade?asof=2026-05-20" \
-H "Authorization: Bearer YOUR_KEY"{
"as_of": "2026-05-20",
"signal": "recent_upgrade",
"condition": null,
"universe": null,
"count": 2,
"results": [
{
"ticker": "ADP",
"name": "Automatic Data Processing",
"value": true
},
{
"ticker": "AGO",
"name": "Assured Guaranty, LTD",
"value": true
}
]
}curl -X POST "https://api.tickerbot.io/v2/signals/recent_upgrade/subscribe" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_KEY" \
-d '{"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.
Use scan /v2/scan
The whole market through a WHERE clause — this signal composed freely with any other column. Docs →
curl -G "https://api.tickerbot.io/v2/scan" \
--data-urlencode "q=recent_upgrade" \
-H "Authorization: Bearer YOUR_KEY"{
"as_of": "2026-08-18T00:25:34.645Z",
"query": {
"q": "recent_upgrade",
"limit": 2,
"order": "day_change_pct",
"dir": "desc",
"fields": [],
"full": false,
"universe": null,
"asset_class": null
},
"count": 2,
"results": [
{
"ticker": "CAPR",
"name": "Capricor Therapeutics Inc",
"asset_class": "stocks",
"asset_type": "CS",
"price": 7.47,
"day_change_pct": 0.1233,
"gap_pct": 0.0331,
"relative_volume": null,
"market_cap": 386424776
},
{
"ticker": "LUNR",
"name": "Intuitive Machines, Inc. Class A Common Stock",
"asset_class": "stocks",
"asset_type": "CS",
"price": 20.565,
"day_change_pct": 0.0818,
"gap_pct": 0.0652,
"relative_volume": null,
"market_cap": 3050198394
}
]
}curl -G "https://api.tickerbot.io/v2/scan" \
--data-urlencode "q=recent_upgrade" \
-d "asof=2026-05-20" \
-H "Authorization: Bearer YOUR_KEY"{
"as_of": "2026-05-20",
"query": {
"q": "recent_upgrade",
"asof": "2026-05-20",
"interval": "auto",
"limit": 2,
"order": "day_change_pct",
"dir": "desc",
"fields": [],
"full": false,
"universe": null,
"asset_class": null
},
"count": 2,
"results": [
{
"ticker": "RXO",
"name": "RXO, Inc.",
"asset_class": "stocks",
"asset_type": "CS",
"price": 23.85,
"day_change_pct": 12.872692853762436,
"gap_pct": 0.5679129200189352,
"relative_volume": 2.6073294909426994,
"market_cap": 4020585300
},
{
"ticker": "ATYR",
"name": "aTyr Pharma, Inc. Common Stock",
"asset_class": "stocks",
"asset_type": "CS",
"price": 0.5306,
"day_change_pct": 9.85507246376811,
"gap_pct": 3.5196687370600444,
"relative_volume": 1.3003740125331609,
"market_cap": 51549669
}
]
}curl -X POST "https://api.tickerbot.io/v2/scan/subscribe" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_KEY" \
-d '{"q": "recent_upgrade", "target_url": "https://example.com/hooks/tickerbot"}'Returns 201 with the created webhook object; deliveries carry the tickers matching the condition at each evaluation.
Use series /v2/series
Its history over time, on one aligned grid. Docs →
curl "https://api.tickerbot.io/v2/series?tickers=AAPL,MSFT&columns=close,recent_upgrade" \
-H "Authorization: Bearer YOUR_KEY"{
"as_of": "2026-08-18T00:25:36.728Z",
"interval": "1d",
"tickers": [
"AAPL",
"MSFT"
],
"columns": [
"close",
"recent_upgrade"
],
"count": 6,
"series": {
"AAPL": [
{
"t": "2026-08-12",
"close": 302.25,
"recent_upgrade": false
},
{
"t": "2026-08-13",
"close": 305.26,
"recent_upgrade": false
},
{
"t": "2026-08-14",
"close": 305.93,
"recent_upgrade": false
}
],
"MSFT": [
{
"t": "2026-08-12",
"close": 492.43,
"recent_upgrade": false
},
{
"t": "2026-08-13",
"close": 496.88,
"recent_upgrade": false
},
{
"t": "2026-08-14",
"close": 495.4,
"recent_upgrade": false
}
]
}
}Use events /v2/events
The flag as a timeline: each edge as a point event, and the spans it stayed true. Docs →
curl -G "https://api.tickerbot.io/v2/events" \
-d "kind=signal" -d "signal=recent_upgrade" -d "transition=enter" -d "since=2026-01-10" \
-H "Authorization: Bearer YOUR_KEY"{
"as_of": "2026-08-18T00:25:36.863Z",
"query": {
"kind": "signal",
"tickers": null,
"universe": null,
"since": "2026-01-10T00:00:00.000Z",
"until": null,
"limit": 2,
"signal": "recent_upgrade",
"transition": "enter"
},
"count": 2,
"results": [
{
"ticker": "W",
"ts": "2026-08-14T20:00:00.000Z",
"kind": "signal",
"payload": {
"signal": "recent_upgrade",
"transition": "enter",
"price": 101.632,
"definition_version": 6
}
},
{
"ticker": "SERV",
"ts": "2026-08-14T20:00:00.000Z",
"kind": "signal",
"payload": {
"signal": "recent_upgrade",
"transition": "enter",
"price": 4.978,
"definition_version": 6
}
}
]
}curl "https://api.tickerbot.io/v2/signals/recent_upgrade/W/events" \
-H "Authorization: Bearer YOUR_KEY"{
"as_of": "2026-08-18T00:25:37.011Z",
"ticker": "W",
"signal": "recent_upgrade",
"count": 1,
"events": [
{
"started_at": "2026-08-14T20:00:00.000Z",
"ended_at": "2026-08-15T20:00:00.000Z",
"start_price": 101.632,
"end_price": 101.632,
"definition_version": 6
}
]
}Same grammar on scan, series, and webhooks; state reads take ?asof= for point-in-time answers.