Docs / Endpoints
Screen
POST/v1/screenunits: 1 per 10 symbols scanneddaily
Run a condition across a universe or your own list, add computed columns and sort. Returns the symbols that match on the latest bar.
Add "async": true to run it as a job, and "webhook_url" to be called when it finishes (Jobs & async). Calls estimated above 1,000 units run as jobs automatically.
Parameters
| Field | Type | Default | Description |
|---|---|---|---|
universe | string | "us.top500" | One of us.top100, us.top500, us.top1000, us.etf.top100, us.etf.top500. |
symbols | array of string | — | Your own list instead of a universe, ≤ 1000. |
where | string (expression) | — | Keep symbols where this is true on the latest bar. |
select | array of string | [] | Columns, each "expr as name". |
sort | string (expression) | — | Expression to rank by. |
order | "asc" | "desc" | "desc" | Sort direction. |
limit | integer | 50 | Rows to return, ≤ 500. |
Example request
Oversold large caps right now Read the walkthrough →
Request
POST /v1/screen{ "universe": "us.top500", "where": "rsi(14) < 30 and close > sma(200)", "select": [ "rsi(14) as rsi", "ret(20) as ret_20d", "dist_high(252) as off_high" ], "sort": "rsi(14)", "order": "asc", "limit": 25 }
The same call with curl, Python and JavaScript
curl https://clickapis.com/v1/screen \
-H "Authorization: Bearer $CLICKAPIS_KEY" \
-H "Content-Type: application/json" \
-d '{"universe":"us.top500","where":"rsi(14) < 30 and close > sma(200)","select":["rsi(14) as rsi","ret(20) as ret_20d","dist_high(252) as off_high"],"sort":"rsi(14)","order":"asc","limit":25}'import os, requests
r = requests.post(
"https://clickapis.com/v1/screen",
headers={"Authorization": f"Bearer {os.environ['CLICKAPIS_KEY']}"},
json={
"universe": "us.top500",
"where": "rsi(14) < 30 and close > sma(200)",
"select": [
"rsi(14) as rsi",
"ret(20) as ret_20d",
"dist_high(252) as off_high"
],
"sort": "rsi(14)",
"order": "asc",
"limit": 25
},
timeout=60,
)
print(r.json()["data"])const r = await fetch("https://clickapis.com/v1/screen", {
method: "POST",
headers: {
"Authorization": `Bearer ${process.env.CLICKAPIS_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"universe": "us.top500",
"where": "rsi(14) < 30 and close > sma(200)",
"select": [
"rsi(14) as rsi",
"ret(20) as ret_20d",
"dist_high(252) as off_high"
],
"sort": "rsi(14)",
"order": "asc",
"limit": 25
}),
});
console.log((await r.json()).data);Example response
Response 200 OK
{ "ok": true, "data": { "rows": [ { "rsi": 26.411771, "date": "2026-11-12", "close": 44.79, "symbol": "DT", "ret_20d": -0.297191, "off_high": -0.324434, "sort_value": 26.411771 }, { "rsi": 29.946263, "date": "2026-11-12", "close": 317.91, "symbol": "ZBRA", "ret_20d": -0.157877, "off_high": -0.190616, "sort_value": 29.946263 } ], "sort": "rsi(14)", "order": "asc", "where": "rsi(14) < 30 and close > sma(200)", "matched": 2, "scanned": 500, "universe": "us.top500", "not_found": 0 }, "meta": { "op": "screen", "units": 50, "cost_usd": 0.0, "job_id": "5aa46740-680e-4907-840d-287474ea399a", "via": "job (POST returned 202, result fetched from GET /v1/jobs/{id})" } }
Every response has the same envelope: ok, data and meta (op, units, cost_usd, ms, interval, billing, balance_usd, data_as_of, partial_last_bar). Numbers are decimals (0.05 = 5%), dates ISO, and a value that cannot be computed is null.