ClickAPIs
Docs · Unusual volume

Docs / Endpoints

Unusual volume

POST/v1/unusual-volumeunits: 2intraday

Every volume spike (volume at least <code>threshold</code> times its average) with the return that day and 1, 5 and 20 bars later, and what followed up-day and down-day spikes compared with all bars.

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. Supports interval for intraday bars at 5× the units (Intraday).

Parameters

FieldTypeDefaultDescription
symbolrequiredstring—Ticker.
windowinteger20Bars in the average volume, 5–252.
thresholdnumber3Spike when volume ÷ average volume is at least this (1.2–50).
start_datedate—YYYY-MM-DD. Only count spikes from this date. Averages use earlier bars.
end_datedate—YYYY-MM-DD. Last date to include. Default: the latest bar.
limitinteger50Spikes to list, newest first, ≤ 500.
intervalstring"1day""1day" | "1hour" | "30min" | "15min" | "5min" | "1min". Intraday costs 5× the units; see Intraday.

Example request

What happens after AAPL's volume spikes? Read the walkthrough →

Request POST /v1/unusual-volume
{
  "symbol": "AAPL",
  "start_date": "2015-01-01"
}
The same call with curl, Python and JavaScript
curl https://clickapis.com/v1/unusual-volume \
  -H "Authorization: Bearer $CLICKAPIS_KEY" \
  -H "Content-Type: application/json" \
  -d '{"symbol":"AAPL","start_date":"2015-01-01"}'
import os, requests

r = requests.post(
    "https://clickapis.com/v1/unusual-volume",
    headers={"Authorization": f"Bearer {os.environ['CLICKAPIS_KEY']}"},
    json={
      "symbol": "AAPL",
      "start_date": "2015-01-01"
    },
    timeout=60,
)
print(r.json()["data"])
const r = await fetch("https://clickapis.com/v1/unusual-volume", {
  method: "POST",
  headers: {
    "Authorization": `Bearer ${process.env.CLICKAPIS_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "symbol": "AAPL",
    "start_date": "2015-01-01"
  }),
});
console.log((await r.json()).data);

Example response

Response 200 OK
{
  "ok": true,
  "data": {
    "symbol": "AAPL",
    "start": "2015-01-02",
    "end": "2026-11-12",
    "window": 20,
    "threshold": 3.0,
    "bars": 2984,
    "spikes": 8,
    "spike_share": 0.002681,
    "latest": {
      "date": "2026-11-12",
      "rvol": 0.452,
      "is_spike": false
    },
    "summary": {
      "all": {
        "next_1": {
          "count": 8,
          "mean": 5.0e-6,
          "median": -0.004442,
          "win_rate": 0.375
        },
        "next_5": {
          "count": 8,
          "mean": 0.006415,
          "median": 0.007115,
          "win_rate": 0.5
        },
        "next_20": {
          "count": 8,
          "mean": 0.067063,
          "median": 0.065827,
          "win_rate": 0.875
        },
        "count": 8
      },
      "up_bars": {
        "next_1": {
          "count": 6,
          "mean": 0.006323,
          "median": 0.001903,
          "win_rate": 0.5
        },
        "next_5": {
          "count": 6,
          "mean": 0.015037,
          "median": 0.020863,
          "win_rate": 0.666667
        },
        "next_20": {
          "count": 6,
          "mean": 0.080308,
          "median": 0.083059,
          "win_rate": 0.833333
        },
        "count": 6
      },
      "down_bars": {
        "next_1": {
          "count": 2,
          "mean": -0.018952,
          "median": -0.018952,
          "win_rate": 0.0
        },
        "next_5": {
          "count": 2,
          "mean": -0.019449,
          "median": -0.019449,
          "win_rate": 0.0
        },
        "next_20": {
          "count": 2,
          "mean": 0.027329,
          "median": 0.027329,
          "win_rate": 1.0
        },
        "count": 2
      },
      "baseline": {
        "next_1": {
          "count": 2983,
          "mean": 0.001064,
          "median": 0.000956,
          "win_rate": 0.529333
        },
        "next_5": {
          "count": 2979,
          "mean": 0.005246,
          "median": 0.006627,
          "win_rate": 0.576368
        },
        "next_20": {
          "count": 2964,
          "mean": 0.020975,
          "median": 0.023911,
          "win_rate": 0.633266
        }
      }
    },
    "events": [
      {
        "date": "2026-06-26",
        "close": 283.54,
        "volume": 261775500.0,
        "avg_volume": 66997627.0,
        "rvol": 3.907,
        "return": 0.031392,
        "next_1": -0.007195,
        "next_5": 0.101749,
        "next_20": 0.187205
      },
      {
        "date": "2024-09-20",
        "close": 226.31,
        "volume": 318679900.0,
        "avg_volume": 60754425.0,
        "rvol": 5.245,
        "return": -0.002908,
        "next_1": -0.0076,
        "next_5": -0.001812,
        "next_20": 0.029782
      },
      {
        "date": "2024-06-12",
        "close": 211.06,
        "volume": 198134300.0,
        "avg_volume": 65869943.0,
        "rvol": 3.008,
        "return": 0.028608,
        "next_1": 0.005496,
        "next_5": -0.01592,
        "next_20": 0.081967
      },
      {
        "date": "2019-07-31",
        "close": 50.92,
        "volume": 277125600.0,
        "avg_volume": 85941072.0,
        "rvol": 3.225,
        "return": 0.020441,
        "next_1": -0.021799,
        "next_5": -0.065789,
        "next_20": -0.031618
      },
      {
        "date": "2018-08-01",
        "close": 47.44,
        "volume": 271742864.0,
        "avg_volume": 86018729.0,
        "rvol": 3.159,
        "return": 0.058929,
        "next_1": 0.029089,
        "next_5": 0.028457,
        "next_20": 0.110455
      },
      {
        "date": "2017-02-01",
        "close": 29.59,
        "volume": 447940160.0,
        "avg_volume": 129306898.0,
        "rvol": 3.464,
        "return": 0.060954,
        "next_1": -0.00169,
        "next_5": 0.025684,
        "next_20": 0.08415
      },
      {
        "date": "2016-09-14",
        "close": 25.56,
        "volume": 449361272.0,
        "avg_volume": 143585625.0,
        "rvol": 3.13,
        "return": 0.035237,
        "next_1": 0.034038,
        "next_5": 0.016041,
        "next_20": 0.049687
      },
      {
        "date": "2016-04-27",
        "close": 22.11,
        "volume": 458408568.0,
        "avg_volume": 149499639.0,
        "rvol": 3.066,
        "return": -0.062738,
        "next_1": -0.030303,
        "next_5": -0.037087,
        "next_20": 0.024876
      }
    ],
    "notes": [
      "rvol = volume / 20-bar average volume (the average includes the bar itself, as in the rvol() expression).",
      "next_N = close N bars after the spike / spike close - 1. up_bars / down_bars split spikes by the spike bar's own return."
    ],
    "interval": "1day"
  },
  "meta": {
    "op": "unusual-volume",
    "units": 2,
    "cost_usd": 0.0,
    "billing": "internal",
    "free_call": false,
    "free_calls_left": 0,
    "balance_usd": 5.0,
    "ms": 1,
    "interval": "1day",
    "data_as_of": "2026-11-12",
    "partial_last_bar": false
  }
}

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.

More examples