pe_ratio
Price-to-earnings ratio (trailing twelve months). Null for unprofitable issuers.
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 pe_ratio above a cutoff
curl -G "https://api.tickerbot.io/v2/signals/pe_ratio" \
--data-urlencode "condition=> 140.81" \
-H "Authorization: Bearer YOUR_KEY"Response (sampled 2026-09-18, trimmed)
{
"as_of": "2026-09-18T14:40:21.617Z",
"signal": "pe_ratio",
"condition": "> 140.81",
"universe": null,
"count": 2,
"results": [
{
"ticker": "STRN",
"name": "SMART Trend 25 ETF",
"value": 8610.7
},
{
"ticker": "CURI",
"name": "CuriosityStream Inc. Class A Common Stock",
"value": 6898.05
}
]
}As-of — the same read at a past date
curl -G "https://api.tickerbot.io/v2/signals/pe_ratio" \
--data-urlencode "condition=> 140.81" \
-d "asof=2026-07-04" \
-H "Authorization: Bearer YOUR_KEY"Response (sampled 2026-09-18, trimmed)
{
"as_of": "2026-06-20",
"signal": "pe_ratio",
"condition": "> 140.81",
"universe": null,
"count": 2,
"results": [
{
"ticker": "FCAP",
"name": "First Capital Inc",
"value": 14340.639978318313
},
{
"ticker": "NTST",
"name": "NetSTREIT Corp.",
"value": 8845.984435483871
}
]
}Subscribe — webhook when a ticker starts matching
curl -X POST "https://api.tickerbot.io/v2/signals/pe_ratio/subscribe" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_KEY" \
-d '{"condition": "> 140.81", "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": "pe_ratio IS NOT NULL", "order": "pe_ratio", "columns": "pe_ratio" }'Response (sampled 2026-09-18, trimmed)
{
"as_of": "2026-09-18T14:40:29.178Z",
"query": {
"q": "pe_ratio IS NOT NULL",
"limit": 2,
"order": "pe_ratio",
"dir": "desc",
"fields": [
"pe_ratio"
],
"full": false,
"universe": null,
"asset_class": null
},
"count": 2,
"results": [
{
"ticker": "STRN",
"name": "SMART Trend 25 ETF",
"asset_class": "stocks",
"asset_type": "ETF",
"price": 26.405,
"change_1d_pct": 0.44698050404184386,
"gap_pct": 0.0095,
"relative_volume": 0.0065,
"market_cap": null,
"pe_ratio": 8610.7
},
{
"ticker": "CURI",
"name": "CuriosityStream Inc. Class A Common Stock",
"asset_class": "stocks",
"asset_type": "CS",
"price": 2.835,
"change_1d_pct": 1.4311270125223625,
"gap_pct": -0.1789,
"relative_volume": 0.28,
"market_cap": 165553098,
"pe_ratio": 6898.05
}
]
}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": "pe_ratio IS NOT NULL", "order": "pe_ratio", "columns": "pe_ratio", "asof": "2026-07-04" }'Response (sampled 2026-09-18, trimmed)
{
"as_of": "2026-06-20",
"query": {
"q": "pe_ratio IS NOT NULL",
"asof": "2026-06-20",
"interval": "auto",
"limit": 2,
"order": "pe_ratio",
"dir": "desc",
"fields": [
"pe_ratio"
],
"full": false,
"universe": null,
"asset_class": null
},
"count": 2,
"results": [
{
"ticker": "FCAP",
"name": "First Capital Inc",
"asset_class": "stocks",
"asset_type": "CS",
"price": 63,
"change_1d_pct": -0.2138275124732684,
"gap_pct": 1.0216203373723025,
"relative_volume": 1.9589172079527846,
"market_cap": 210768453,
"pe_ratio": 14340.639978318313
},
{
"ticker": "NTST",
"name": "NetSTREIT Corp.",
"asset_class": "stocks",
"asset_type": "CS",
"price": 19.2,
"change_1d_pct": -1.2853470437017995,
"gap_pct": 0.05141388174808002,
"relative_volume": 1.8052833288984258,
"market_cap": 1645353105,
"pe_ratio": 8845.984435483871
}
]
}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": "pe_ratio > 140.81", "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,pe_ratio" \
-H "Authorization: Bearer YOUR_KEY"Response (sampled 2026-09-18, trimmed)
{
"as_of": "2026-09-18T14:40:35.138Z",
"interval": "1d",
"tickers": [
"AAPL",
"MSFT"
],
"columns": [
"close",
"pe_ratio"
],
"count": 6,
"series": {
"AAPL": [
{
"t": "2026-09-15",
"close": 331.34,
"pe_ratio": 37.7
},
{
"t": "2026-09-16",
"close": 332.41,
"pe_ratio": 37.51
},
{
"t": "2026-09-17",
"close": 337.002,
"pe_ratio": 37.63
}
],
"MSFT": [
{
"t": "2026-09-15",
"close": 497.12,
"pe_ratio": 28.06
},
{
"t": "2026-09-16",
"close": 490.3,
"pe_ratio": 27.6
},
{
"t": "2026-09-17",
"close": 497.75,
"pe_ratio": 27.22
}
]
}
}Same grammar on scan, series, and webhooks; state reads take ?asof= for point-in-time answers.