Pivot Points
Category: Support, resistance & structure · Updated November 2026
The TAAPI.IO Pivot Points API returns the support and resistance levels that day traders mark on their charts before the session starts: a central pivot, resistance levels R1 to R5 above it and support levels S1 to S5 below it, all calculated from the previous day's, week's or month's high, low and close. It works on crypto pairs and US stocks. Send an exchange, symbol and timeframe, with no candles to download and no calculations to maintain.
What one request returns
- Today's levels on any chart: with
period=day, a 15-minute or 1-hour request returns the daily pivots that apply right now. They stay fixed all day and reset at midnight UTC, or at the New York session for US stocks. - Where price stands:
levelAboveandlevelBelowname the closest level on each side of the latest close, such aspands1, so you don't have to compare prices yourself. - Six formulas: Traditional (floor pivots, the default), Classic, Fibonacci, Woodie, Camarilla and DeMark, matching the formulas in TradingView's Pivot Points Standard indicator.
- The source period:
prevHigh,prevLow,prevCloseandprevStart, so you can check every level.
So one call answers the questions a day trader asks at the open: is the market above or below today's pivot, and where are the next levels up and down?
Example: daily pivots for BTCUSDT on 11 November 2026
Request: BTCUSDT on Binance 15-minute candles with period=day, taken at 16:00 UTC. The levels come from the 10 November daily candle: high 75,442.01, low 72,727.27, close 73,796.06.
| Level | Price | From price | What it means today |
|---|---|---|---|
| R2 | 76,703 | +3.7% | Second target if R1 breaks |
| R1 | 75,250 | +1.8% | First resistance above the pivot |
| Pivot (P) | 73,988 | +0.06% | Dividing line between a bullish and a bearish day |
| Price now | 73,944 | — | Latest 15-minute close |
| S1 | 72,535 | −1.9% | First support below the pivot |
| S2 | 71,274 | −3.6% | Second support if S1 breaks |
How to interpret this: Yesterday showed what the levels are for. BTC opened 10 November above its pivot at 74,906, closed below it at 02:15 UTC, then gave up S1 at 74,213 by 10:30 and S2 at 73,057 by 15:30. It bottomed at 72,727 and closed the day at 73,796. Only 10 of its 96 fifteen-minute candles closed above the pivot, so this was a clear down day. At midnight the levels reset to the new values from that candle. Today BTC has spent most of the session just under the new pivot at 73,988. It poked above it to 74,474 at 15:30 and slipped back, and now it's right under it again at 73,944. The response says the same thing: levelAbove is p and levelBelow is s1. So the pivot is the level to watch. Closes back above 73,988 turn the day bullish with R1 at 75,250 as the next target. If it keeps failing there, S1 at 72,535 is next support, 1.9% lower.
Values are from the production API at 16:00 UTC on 11 November 2026. R2 and S2 for 11 November are outside the chart. Example for illustration only, not financial advice.
| Spec | Value |
|---|---|
| Endpoint | GET https://v2.taapi.io/indicator/pivotpoints |
| Outputs | r5…r1, p, s1…s5, levelAbove, levelBelow, prevOpen, prevHigh, prevLow, prevClose, prevStart |
| Types | traditional, classic, fibonacci, woodie, camarilla, demark |
| Periods | Previous candle, day, week or month |
| Markets | Binance, Binance Futures, Bybit, Gate.io, Kraken and US stocks |
| Timeframes | 1m to 1w |
| Delivery | REST, bulk and WebSocket |
Get daily Pivot Points with one API call
This request returns today's daily pivots for BTCUSDT on 15-minute Binance candles, the setup in the example above. Add your API key to run it here.
curl -G https://v2.taapi.io/indicator/pivotpoints \ -H "Authorization: Bearer YOUR_API_KEY" \ --data-urlencode "exchange=binance" \ --data-urlencode "symbol=BTCUSDT" \ --data-urlencode "timeframe=15m" \ --data-urlencode "period=day"
import requests
resp = requests.get(
'https://v2.taapi.io/indicator/pivotpoints',
headers={'Authorization': 'Bearer YOUR_API_KEY'},
params={'exchange': 'binance', 'symbol': 'BTCUSDT', 'timeframe': '15m', 'period': 'day'},
)
print(resp.json())const params = new URLSearchParams({"exchange": "binance", "symbol": "BTCUSDT", "timeframe": "15m", "period": "day"});
const res = await fetch(`https://v2.taapi.io/indicator/pivotpoints?${params}`, {
headers: { Authorization: 'Bearer YOUR_API_KEY' },
});
console.log(await res.json());Pivot Points API response
The response to that request at 16:00 UTC on 11 November 2026. Traditional pivots return five levels on each side; other types return fewer.
{
"r5": [80486.71666666667],
"r4": [79225.54000000004],
"r3": [77964.36333333333],
"r2": [76703.18666666666],
"r1": [75249.62333333334],
"p": [73988.44666666667],
"s1": [72534.88333333335],
"s2": [71273.70666666668],
"s3": [69820.14333333336],
"s4": [68366.58000000007],
"s5": [66913.01666666672],
"levelAbove": ["p"],
"levelBelow": ["s1"],
"prevOpen": [75368.41],
"prevHigh": [75442.01],
"prevLow": [72727.27],
"prevClose": [73796.06],
"prevStart": [1794268800],
"timestamp": [1794412800]
}| Field | Type | Description |
|---|---|---|
r5 … r1 | number[] | Resistance levels, from the highest down. Which ones are present depends on type: Traditional and Camarilla have five, Classic and Woodie four, Fibonacci three, DeMark one |
p | number[] | The pivot level |
s1 … s5 | number[] | Support levels, from the highest down, mirroring the resistance levels |
levelAbove | string[] | Name of the closest level above that candle's close, such as r1. null above the top level |
levelBelow | string[] | Name of the closest level at or below that candle's close. null below the bottom level |
prevOpen, prevHigh, prevLow, prevClose | number[] | The candle or period the levels were calculated from |
prevStart | integer[] | Unix time, in seconds, of the first candle of that period |
m0 … mN | number[] | Only with midpoints=true: halfway between neighbouring levels, numbered upwards from the lowest |
timestamp | integer[] | Unix time of the candle each value applies to, in seconds |
The levels come from a period that has already closed, so they don't move while the current candle forms. Only levelAbove and levelBelow follow the live price. With period=day on a 15-minute chart, every row from the same day carries the same levels, and they change at the first candle of the next day.
Pivot types
Set type to choose the formula. All of them use the previous period's high (H), low (L) and close (C). The values are for BTCUSDT on 11 November 2026, from the same 10 November candle as the example.
| type | Pivot | Levels | BTCUSDT 11 Nov 2026 |
|---|---|---|---|
traditional (default) | (H + L + C) ÷ 3 | R1 = 2P − L, S1 = 2P − H, R2/S2 = P ± (H − L), then R3–R5 and S3–S5 step out by multiples of the range | P 73,988 · R1 75,250 · S1 72,535 |
classic | (H + L + C) ÷ 3 | Like Traditional to R2/S2, then R3/S3 = P ± 2(H − L) and R4/S4 = P ± 3(H − L) | P 73,988 · R3 79,418 · S3 68,559 |
fibonacci | (H + L + C) ÷ 3 | P ± 0.382, 0.618 and 1.0 × (H − L) | P 73,988 · R1 75,025 · S1 72,951 |
woodie | (H + L + 2C) ÷ 4 | Weights the close twice; R1 = 2P − L, S1 = 2P − H, R2/S2 = P ± (H − L) | P 73,940 · R1 75,153 · S1 72,439 |
camarilla | (H + L + C) ÷ 3 | Close ± 1.1 × (H − L) ÷ 12, 6, 4 and 2 for levels 1 to 4; R5/S5 extend beyond R4/S4 | R3 74,543 · S3 73,050 · R4 75,289 · S4 72,303 |
demark | X ÷ 4 | X = 2H + L + C after an up candle, H + 2L + C after a down candle, H + L + 2C if unchanged. R1 = X ÷ 2 − L, S1 = X ÷ 2 − H | P 73,673 · R1 74,619 · S1 71,904 |
Camarilla levels sit much closer to the close than the others, so they suit intraday trading. Traders usually expect price to turn at R3 and S3 and to trend once it closes beyond R4 or S4. On 11 November the session high of 74,474 stopped just under R3 at 74,543 and the low of 73,209 held above S3 at 73,050. Inside R3 and S3 like that, Camarilla traders treat the day as a range. Camarilla's p is not part of its ladder, so levelAbove and levelBelow skip it.
Woodie uses the textbook formula with the prior close. TradingView's Woodie uses the current period's open instead, so its Woodie levels can differ slightly. On 24/7 crypto markets the open of a day is the previous day's close, so the two usually agree.
Daily, weekly and monthly pivots
period sets which high, low and close the levels come from. Use a timeframe shorter than the period: daily pivots on 5-minute to 1-hour candles, weekly pivots on 1-hour to 4-hour candles, monthly pivots on 4-hour or daily candles.
| period | Levels from | Typical use |
|---|---|---|
candle (default) | The previous candle of the requested timeframe | Daily pivots on timeframe=1d, weekly on 1w |
day | The previous day | Intraday trading on 5m, 15m and 1h charts |
week | The previous week, Monday to Sunday | Swing trading on 1h and 4h charts |
month | The previous calendar month | Position trading on 4h and 1d charts |
Crypto days start at 00:00 UTC, the same as the exchanges' own daily candles. For US stocks, days follow the New York calendar. By default the levels come from the regular 09:30–16:00 session, and session=extended uses 04:00–20:00 instead. On stocks, day and week work on 1m, 5m, 15m, 30m and 1d candles, and month on 1d.
curl -G https://v2.taapi.io/indicator/pivotpoints \ -H "Authorization: Bearer YOUR_API_KEY" \ --data-urlencode "exchange=stocks" \ --data-urlencode "symbol=AAPL" \ --data-urlencode "timeframe=5m" \ --data-urlencode "period=day" \ --data-urlencode "type=camarilla"
Pivot Points API parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
exchange | string | Yes | — | binance, binancefutures, bybit, gateio, kraken or stocks |
symbol | string | Yes | — | Pair or ticker, e.g. BTCUSDT or AAPL |
timeframe | string | Yes | — | 1m 5m 15m 1h 4h 1d 1w |
type | string | No | traditional | traditional (also floor), classic, fibonacci, woodie, camarilla or demark |
period | string | No | candle | Where the high, low and close come from: the previous candle, day, week or month |
session | string | No | regular | US stocks with a period: regular (09:30–16:00 New York) or extended (04:00–20:00) |
midpoints | boolean | No | false | true adds m0, m1, … halfway between neighbouring levels |
results | integer | No | 1 | Number of values to return, or max |
backtrack | integer | No | 0 | Candles to skip from the most recent |
What are Pivot Points?
Pivot points are price levels calculated from the previous period's high, low and close. Floor traders on futures exchanges worked them out by hand before the open, and they're still one of the most widely watched intraday levels. Because so many traders use the same formula on the same data, the levels often act as support and resistance. The pivot itself splits the day: trading above it is read as bullish, below it as bearish.
Pivot Points formula (Traditional)
| Output | Calculation |
|---|---|
| Pivot (P) | (high + low + close) ÷ 3 |
| R1 / S1 | 2 × P − low / 2 × P − high |
| R2 / S2 | P ± (high − low) |
| R3 / S3 | 2 × P + (high − 2 × low) / 2 × P − (2 × high − low) |
| R4 / S4 | 3 × P + (high − 3 × low) / 3 × P − (3 × high − low) |
| R5 / S5 | 4 × P + (high − 4 × low) / 4 × P − (4 × high − low) |
How to read Pivot Points in your code
| Signal | Meaning | Condition |
|---|---|---|
| Bias | Bullish or bearish day | levelBelow is p or a resistance level (bullish), or levelAbove is p or a support level (bearish) |
| Next target | Where price is heading | The level named in levelAbove (long) or levelBelow (short) |
| Breakout | Price clears a level | levelBelow changes to a higher level, e.g. from p to r1 |
| Camarilla range or trend | Fade or follow | Price inside s3–r3 (range), or beyond r4/s4 (trend) |
Limitations: Pivot levels say nothing about which way price will break, and on strong trend days price can cut through several of them. 24/7 crypto markets have no official session, so the levels depend on the day boundary, which is 00:00 UTC here. Nothing on this page is financial advice.
Read Pivot Points from Python
Check the day's bias and the next level in each direction. The levels are fixed for the day, so you only need to poll for a new close.
curl -G https://v2.taapi.io/indicator/pivotpoints \ -H "Authorization: Bearer YOUR_API_KEY" \ --data-urlencode "exchange=binance" \ --data-urlencode "symbol=BTCUSDT" \ --data-urlencode "timeframe=15m" \ --data-urlencode "period=day"
import requests
resp = requests.get(
'https://v2.taapi.io/indicator/pivotpoints',
headers={'Authorization': 'Bearer YOUR_API_KEY'},
params={'exchange': 'binance', 'symbol': 'BTCUSDT', 'timeframe': '15m', 'period': 'day'},
)
data = resp.json()
row = {k: v[-1] for k, v in data.items()} # latest candle
above, below = row['levelAbove'], row['levelBelow']
bias = 'bullish' if below == 'p' or (below or '').startswith('r') else 'bearish'
print(f"Pivot {row['p']:.2f}, bias {bias}")
print(f"Next resistance: {above} at {row[above]:.2f}" if above else 'Above the top level')
print(f"Next support: {below} at {row[below]:.2f}" if below else 'Below the bottom level')Get historical Pivot Points values
Add results to return a series for backtesting or charting. Each row is one candle, and the last row is the most recent. With period=day, the levels repeat for every candle of a day and change at the next day's first candle, as in the chart above.
curl -G https://v2.taapi.io/indicator/pivotpoints \ -H "Authorization: Bearer YOUR_API_KEY" \ --data-urlencode "exchange=binance" \ --data-urlencode "symbol=BTCUSDT" \ --data-urlencode "timeframe=15m" \ --data-urlencode "period=day" \ --data-urlencode "results=96"
Get Pivot Points for multiple symbols
Combine Pivot Points with other indicators in one request. Each exchange, symbol and timeframe combination is one construct: Basic allows 1 per request, Pro 3 and Expert 10.
curl -X POST https://v2.taapi.io/bulk \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"constructs": [
{
"id": "btc_15m",
"exchange": "binance",
"symbol": "BTCUSDT",
"timeframe": "15m",
"indicators": [
{
"id": "daily_pivots",
"indicator": "pivotpoints",
"period": "day"
},
{
"id": "camarilla",
"indicator": "pivotpoints",
"period": "day",
"type": "camarilla"
},
{
"id": "rsi",
"indicator": "rsi"
}
]
}
]
}'Stream Pivot Points in real time
Subscribe over WebSocket to receive new values every 5 seconds while the candle is forming. The levels stay the same all day; levelAbove and levelBelow update with price. Streaming supports 1m, 5m, 15m and 1h, and uses interval where REST uses timeframe.
{
"type": "subscribe",
"id": "pivotpoints",
"exchange": "binance",
"symbol": "BTCUSDT",
"interval": "15m",
"indicator": "pivotpoints",
"period": "day"
}Pivot Points API FAQ
How do I get daily pivot points on an intraday chart?
Add period=day to a request on 5-minute, 15-minute or 1-hour candles. Every candle of the day then carries the levels calculated from the previous day's high, low and close. Without period, the levels come from the previous candle of the requested timeframe.
Do the levels change during the day?
No. They come from a period that has already closed, so they stay the same until the next period starts. Only levelAbove and levelBelow change, because they follow the latest price.
Do the values match TradingView?
Yes, for Traditional, Classic, Fibonacci, Camarilla and DeMark, as long as the day boundary is the same. Crypto days here start at 00:00 UTC. Woodie can differ slightly: TradingView uses the current open, and this API uses the prior close.
Which pivot type should I use?
Traditional is the most widely watched and the default. Camarilla suits intraday range trading, because its levels sit close to the previous close. Fibonacci spaces levels by Fibonacci ratios of the previous range.
Can I get Pivot Points for US stocks?
Yes. Use exchange=stocks with a ticker such as AAPL. With period=day, the levels come from the previous regular session (09:30–16:00 New York), or from 04:00–20:00 with session=extended. US stocks are included on the Pro plan and above.
Related indicators
See the full list of indicators, or start for free.