Indicators›Trend›Ichimoku Cloud
GET/indicator/ichimoku

Ichimoku Cloud

Category: Trend · Updated November 2026


The TAAPI.IO Ichimoku Cloud API returns every Ichimoku line as JSON for crypto pairs and US stocks: the conversion and base lines, the cloud under the current candle, the cloud ahead and the cloud behind. Send an exchange, symbol and timeframe to get real-time or historical values, with no candles to download and no calculations to maintain.

What one request returns

  • The two fast lines: conversion (Tenkan-sen) and base (Kijun-sen), midpoints of the last 9 and 26 candles.
  • The cloud in three places: under the current candle (currentSpanA, currentSpanB), 26 candles ahead (spanA, spanB) and where the lagging line sits (laggingSpanA, laggingSpanB). The offsets are already applied, so you compare numbers directly.
  • A series, with results: one set of lines per candle, oldest first, to find cloud breaks and crosses.

So one call answers the four questions Ichimoku traders ask: where is price against the cloud, which way are the fast lines crossed, what colour is the cloud ahead, and does the lagging line agree?

Example: every Ichimoku signal bearish, 13 November 2026

Request: one /bulk call for BTCUSDT on daily Binance candles, with Ichimoku and the closing price, both with backtrack=1 so yesterday's closed candle. Sent at 22:37 UTC on 14 November with the default settings of 9, 26, 52 and 26.

LineValueAgainst the close of 68,314Reading
Conversion74,243.01Close belowConversion below base: bearish cross since 14 October
Base76,233.00Close below
Cloud under the candle81,181.82 – 82,807.64Close belowBelow the cloud since 5 November
Cloud ahead75,238.00 – 77,423.27Span B on topThe future cloud is bearish
Cloud at the lagging line74,847.83 – 81,181.82Close belowThe lagging check agrees

How to interpret this: Ichimoku gives several signals at once, and the strongest reading is when they all agree. On 13 November they did, on the bearish side. The conversion line crossed below the base line on 14 October, at a close of 81,682. BTC dropped into the cloud on 22 October and closed below it on 5 November, at 76,088. Since 30 October the cloud ahead has had span B above span A, the bearish colour, and the close is below the cloud that sits under the lagging line as well. BTC has fallen another 10.2% since it left the cloud. The last time all four flipped the other way was in August: BTC closed above the cloud on 18 August at 64,725, the conversion line crossed above the base line the next day, and BTC stayed above the cloud until 22 October, 25.8% higher. The cloud itself now sits 19% above price, at 81,182 to 82,808, so a trader waiting for BTC to close back above it would only re-enter well above today's price.

BTCUSDT daily candles with the Ichimoku cloud, conversion and base lines, August to November 2026 BTC closed above the cloud on 18 August at 64,725 and stayed above it until 22 October. It closed below the cloud on 5 November at 76,088 and was at 68,314 on 13 November, below the conversion line, the base line and the cloud. 60k 70k 80k 90k Aug Sep Oct Nov 18 Aug: close above the cloud, 64,725 5 Nov: close below the cloud, 76,088 13 Nov: 68,314 Cloud, span A on top Cloud, span B on top Conversion (9) Base (26) BTCUSDT · Binance daily candles · Ichimoku 9, 26, 52, 26 · 1 Aug – 13 Nov 2026 (closed candles)
BTCUSDT daily candles with the cloud under each candle (green while span A is on top, red while span B is), the conversion line (blue) and the base line (amber). Triangles mark the cloud breaks on 18 August and 5 November.
DateBTC closeSignal
18 Aug64,725.42Close above the cloud
19 Aug69,334.79Conversion crosses above base
14 Oct81,682.01Conversion crosses below base
22 Oct81,416.09Back inside the cloud, 25.8% above the August break
30 Oct77,368.77Cloud ahead turns bearish
5 Nov76,088.01Close below the cloud
13 Nov68,314.0010.2% below the cloud break

Values are from the production API on 14 November 2026, using closed daily candles. Two cloud breaks are an illustration, not a backtest. Nothing here is financial advice.

SpecValue
EndpointGET https://v2.taapi.io/indicator/ichimoku
OutputsConversion, base, three pairs of cloud spans, timestamp
Default settings9, 26, 52, 26
MarketsBinance, Binance Futures, Bybit, Gate.io, Kraken and US stocks
Timeframes1m to 1w
DeliveryREST, bulk and WebSocket

Get Ichimoku Cloud with one API call

This request returns Ichimoku Cloud for BTCUSDT on 1-hour Binance candles. Add your API key to run it here.

curl -G https://v2.taapi.io/indicator/ichimoku \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "exchange=binance" \
  --data-urlencode "symbol=BTCUSDT" \
  --data-urlencode "timeframe=1h"

Ichimoku Cloud API response

Every value is returned in an array, even for a single candle. This response came from the live API at 22:47 UTC on 14 November 2026, so it describes the daily candle still forming.

200 OK
{
  "conversion": [69871.335],
  "base": [74112.215],
  "spanA": [71991.775],
  "spanB": [75273.215],
  "currentSpanA": [82793],
  "currentSpanB": [81181.82],
  "laggingSpanA": [81206.0325],
  "laggingSpanB": [74965.455],
  "timestamp": [1794614400]
}
FieldTypeDescription
conversionnumber[]Conversion line (Tenkan-sen): midpoint of the last 9 candles
basenumber[]Base line (Kijun-sen): midpoint of the last 26 candles
spanA, spanBnumber[]The cloud calculated on this candle. Charts draw it 26 candles ahead, so it is the cloud price will meet in the future
currentSpanA, currentSpanBnumber[]The cloud under this candle: spans A and B calculated 26 candles earlier. Compare the close with these
laggingSpanA, laggingSpanBnumber[]The cloud where the lagging line is drawn: spans A and B calculated 51 candles earlier. A close above both confirms an uptrend, below both a downtrend
timestampinteger[]Unix time of each candle, in seconds

Ichimoku Cloud API parameters

NameTypeRequiredDefaultDescription
exchangestringYes—binance, binancefutures, bybit, gateio, kraken or stocks
symbolstringYes—Pair or ticker, e.g. BTCUSDT or AAPL
timeframestringYes—1m 5m 15m 1h 4h 1d 1w
conversionPeriodintegerNo9Candles in the conversion line
basePeriodintegerNo26Candles in the base line
spanPeriodintegerNo52Candles in span B
displacementintegerNo26How far the cloud is shifted forward, in candles
resultsintegerNo1Number of values to return, or max
backtrackintegerNo0Candles to skip from the most recent

What is the Ichimoku Cloud?

Ichimoku Kinko Hyo, developed by Goichi Hosoda, is a complete trend system built from midpoints of highs and lows. The cloud between its two spans acts as dynamic support and resistance, and it is shifted forward in time.

Ichimoku formula

OutputCalculation
Conversion(highest high + lowest low) ÷ 2 over the last 9 candles
Base(highest high + lowest low) ÷ 2 over the last 26 candles
Span A(conversion + base) ÷ 2, drawn 26 candles ahead
Span B(highest high + lowest low) ÷ 2 over the last 52 candles, drawn 26 candles ahead

In the example, the highest high of the last nine days was 80,918.01 and the lowest low 67,568.00, so the conversion line is (80,918.01 + 67,568.00) ÷ 2 = 74,243.01. Because the spans are drawn ahead, the cloud under today's candle was calculated 26 days ago. The API returns that cloud as currentSpanA and currentSpanB, so you don't have to shift anything yourself.

How to read Ichimoku in your code

SignalMeaningCondition
Above the cloudBullish trendClose above currentSpanA and currentSpanB
Below the cloudBearish trendClose below currentSpanA and currentSpanB
Bullish crossShort-term momentum upconversion above base
Bullish cloud aheadFuture support risingspanA above spanB
Lagging confirmationToday's close beats the pastClose above laggingSpanA and laggingSpanB

Limitations: several lines give several signals, and they rarely all agree. In ranges the cloud is thin and flat and says little. The defaults were designed for a six-day trading week. Nothing on this page is financial advice.

Which cloud to compare with

On a chart, Ichimoku draws the cloud 26 candles to the right of the candle that produced it, and the lagging line 26 candles to the left. That is why the endpoint returns three pairs of spans. Use currentSpanA and currentSpanB to ask whether price is above the cloud today. Use spanA and spanB to see the cloud price will meet in 26 candles: span A on top is the bullish colour. Use laggingSpanA and laggingSpanB for the lagging check, which compares today's close with the cloud where the lagging line is drawn.

Score the four Ichimoku signals with Python

This turns the four classic checks into a score from −4 to +4: price against the cloud, conversion against base, the colour of the cloud ahead, and the lagging line. One /bulk request returns Ichimoku and the closing price for the last closed candle. It uses one construct, so it works on every plan.

POST/bulk
curl -X POST https://v2.taapi.io/bulk \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "constructs": [
    {
      "id": "btc_1d",
      "exchange": "binance",
      "symbol": "BTCUSDT",
      "timeframe": "1d",
      "indicators": [
        {
          "id": "ichimoku",
          "indicator": "ichimoku",
          "backtrack": 1
        },
        {
          "id": "close",
          "indicator": "price",
          "backtrack": 1
        }
      ]
    }
  ]
}'

The response at 22:37 UTC on 14 November. All four checks are bearish, so the script prints Price vs cloud: bearish Conversion vs base: bearish Cloud ahead: bearish Lagging line: bearish Score -4 (from -4 to +4)

200 OK
{
  "btc_1d": {
    "ichimoku": {
      "conversion": [74243.005],
      "base": [76233],
      "spanA": [75238.0025],
      "spanB": [77423.26999999999],
      "currentSpanA": [82807.635],
      "currentSpanB": [81181.82],
      "laggingSpanA": [81181.82],
      "laggingSpanB": [74847.83499999999],
      "timestamp": [1794528000]
    },
    "close": {
      "value": [68314],
      "timestamp": [1794528000]
    }
  }
}

A score of +4 or −4 is the classic strong signal. Many traders only act on those, and treat the cloud as the exit: a long position closes when price closes back inside it. In the August example that kept a long position open for nine weeks.

Get historical Ichimoku Cloud values

Add results to return a series for backtesting or charting. The last element is the most recent candle.

curl -G https://v2.taapi.io/indicator/ichimoku \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "exchange=binance" \
  --data-urlencode "symbol=BTCUSDT" \
  --data-urlencode "timeframe=1h" \
  --data-urlencode "results=100"

Get Ichimoku Cloud for multiple symbols

Combine Ichimoku Cloud 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.

POST/bulk
curl -X POST https://v2.taapi.io/bulk \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "constructs": [
    {
      "id": "btc_1h",
      "exchange": "binance",
      "symbol": "BTCUSDT",
      "timeframe": "1h",
      "indicators": [
        {
          "id": "ichimoku",
          "indicator": "ichimoku"
        },
        {
          "id": "rsi",
          "indicator": "rsi"
        }
      ]
    }
  ]
}'

Stream Ichimoku Cloud in real time

Subscribe over WebSocket to receive new values every 5 seconds while the candle is forming. Streaming supports 1m, 5m, 15m and 1h, and uses interval where REST uses timeframe.

WSSwss://v2.taapi.io/streaming
{
  "type": "subscribe",
  "id": "ichimoku",
  "exchange": "binance",
  "symbol": "BTCUSDT",
  "interval": "1m",
  "indicator": "ichimoku"
}

Common Ichimoku settings

These are starting points, not recommendations. Test any setting on your own market and timeframe.

SettingsCharacterTypical use
9, 26, 52, 26StandardThe original settings, for daily charts
10, 30, 60, 30Slightly slowerMarkets that trade seven days a week
20, 60, 120, 30Much slowerCrypto, to reduce noise

Why Ichimoku values can differ between platforms

  • Offsets: some charts shift the cloud by 25 candles instead of 26. The lines are the same, but the cloud under a given candle differs.
  • Exchange data: every line is built from highs and lows, which differ between venues.
  • Open candle: the newest values change until the candle closes. Use backtrack=1 to read closed candles.

Ichimoku Cloud API FAQ

What does the Ichimoku API return?

Arrays for conversion, base, spanA, spanB, currentSpanA, currentSpanB, laggingSpanA and laggingSpanB, plus a timestamp for each candle.

Which fields tell me if price is above the cloud?

Compare the close with currentSpanA and currentSpanB. Those are the cloud under the current candle. spanA and spanB are the cloud 26 candles ahead.

Does the API return the lagging line itself?

The lagging line is just the close drawn 26 candles back. The API returns the cloud at that position as laggingSpanA and laggingSpanB, so you compare today's close with them.

Can I change the Ichimoku settings?

Yes. Set conversionPeriod, basePeriod, spanPeriod and displacement. The defaults are 9, 26, 52 and 26.

Can I get Ichimoku for US stocks?

Yes. Use exchange=stocks with a ticker such as AAPL. US stocks are included on the Pro plan and above.

Build with Ichimoku Cloud on Binance, Bybit or US stocks. Start for free or browse all 262 indicators.