NEWCard payments are live · from $18/month, USDT also acceptedSee plans
🔥 HOT · Signal Lab analysis now on the API

Coinpred Developer CenterCrypto data API and MCP server

Connect to Coinpred with an API key or MCP: WEEX perpetual tickers, candles, order book and funding, plus the exclusive Signal Lab 19-algorithm analysis, signal review and Kronos forecasts. One-click setup for Cursor, VS Code and Claude, and a live Try it for every endpoint. 1,000 calls/day monthly, 5,000 annual.

Base URLhttps://coinpred.com/api/v1
MCPhttps://coinpred.com/mcp
⚡ Connect MCPGet an API key
ComparisonCoinpred API ProRaw Exchange
What you get
Market data + model analysis and suggestions
Raw market data only
Signal Lab 19-algorithm fusion
Exclusive: direction / probability / confidence / plan
Build it yourself
AI tool access
One-click MCP for Cursor, VS Code, Claude
Write your own wrapper
Signal review and win rates
Every result public
—
Field docs
Bilingual per-field docs + Try it
Spread across venue docs
Response format
One JSON envelope, one timestamp style
Differs by venue
  • Exclusive Signal LabExclusive19 algorithms fused in 5 layers with order book, tape, funding and liquidations.
  • One-click MCPCursor and VS Code install in one click; Claude Code, Claude Desktop, Codex and Windsurf copy-paste.
  • Try every endpointFill in parameters, press send, see status, latency and the real response.
  • 500+ perpetualsTicker, candles, order book, trades, funding and open interest.
  • Bilingual field docsType and meaning for every field, plus a Markdown reference for AI.
  • Included with membership1,000 calls/day monthly, 5,000 annual, no extra fee.

⚡ Connect via MCP

Four steps to connect Coinpred to your AI tool so it can call 17 tools for live market data and model analysis.

  1. Choose an API key

    A key you create under “API keys” below is filled in automatically. It stays in this browser tab only and is cleared when you close it.

    Create a key
  2. Choose your AI client

  3. Install in Cursor

    Choose a key in step 1 to enable one-click install.

    Or manually add this to ~/.cursor/mcp.json

    ~/.cursor/mcp.json
    {
      "mcpServers": {
        "coinpred": {
          "url": "https://coinpred.com/mcp",
          "headers": {
            "Authorization": "Bearer YOUR_API_KEY"
          }
        }
      }
    }

    YOUR_API_KEY is replaced once you choose a key.

  4. Test the connection

    Sends initialize and tools/list; no calls are used.

    Then try asking your AI:

    • Use Coinpred Signal Lab to analyze BTCUSDT on 1h: direction, up probability and a reference plan
    • Read the last 500 ETHUSDT 15m candles and write a Pine Script EMA + RSI strategy, explaining the signals
    • Compare current funding and open interest for BTC, ETH and SOL — which long side is most crowded?
    • Get Coinpred signal-review win rates split by long and short
🔒 SecurityAn API key carries your account’s call quota: never commit it to Git or share it publicly; revoke and recreate it below if it may have leaked. Every tool is read-only and can never place orders or move funds.
📄 Full docs for AIGive this link to your AI and it can read every endpoint, parameter and field.
https://coinpred.com/api/v1/docs.md

Quick start

  1. SubscribeAny monthly or annual plan · See plans
  2. Create a keyUnder “API keys” below; shown once
  3. Call the APISend Authorization: Bearer <key>, or set up MCP

API keys

Your account and quota

Sign in to create API keys, see today’s usage and set up MCP in one click.

Sign in →

Authentication and quotas

HeaderValueNotes
AuthorizationBearer cpk_…Recommended
X-API-Keycpk_…Alternative
Monthly1,000calls / day
Annual5,000calls / day
Rate limit60calls / min / key
Keys5per account
ResetDaily at 00:00 UTC; all keys on an account share the quota
HeadersX-RateLimit-Limit · X-RateLimit-Remaining · X-RateLimit-Reset
Envelope{"ok": true, "data": {…}, "meta": {…}} / {"ok": false, "error": {"code", "message"}}

📊 Market data (WEEX USDT-M perpetuals)

List symbols

Source: WEEX USDT-M perpetuals
GET/api/v1/markets/symbolsMCP: list_symbols
💡 When to useFetch all available USDT perpetual contracts during startup or validate symbol availability in search boxes.
💎 Key ValueFiltered to 500+ pure crypto perpetuals on WEEX, excluding TradFi contracts.
⏱ Polling / FrequencyCache for 24h or fetch once upon startup.
🤖 AI / MCP Multi-Scenario Prompt TemplatesCopy & paste directly into Cursor / Claude
🎯 List all contracts
“List all queryable crypto perpetual contracts supported on Coinpred with maximum leverage.”
🎯 Filter symbols
“Search for perpetual contracts matching SOL, DOGE, or ETH.”

All queryable USDT-margined crypto perpetual contracts (TradFi contracts excluded).

Request Parameters

ParameterTypeRequiredDescription
qstringnoOptional substring filter on the symbol

Live Try It & Code Snippets

curl -H "Authorization: Bearer YOUR_API_KEY" \
  "https://coinpred.com/api/v1/markets/symbols?q=BTC"

Response Schema & Fields

Field (data)TypeMeaning & Description
symbols[].symbolstringContract symbol
symbols[].basestringBase asset
symbols[].maxLeveragenumberMaximum leverage allowed by the venue
countnumberNumber of symbols returned

Response Example (data)

JSON Example (data)
{
  "ok": true,
  "data": {
    "symbols": [
      {
        "symbol": "BTCUSDT",
        "base": "BTC",
        "display": "BTCUSDT",
        "maxLeverage": 400
      },
      {
        "symbol": "BTCDOMUSDT",
        "base": "BTCDOM",
        "display": "BTCDOMUSDT",
        "maxLeverage": 50
      }
    ],
    "count": 2
  },
  "meta": {
    "endpoint": "list_symbols",
    "source": "WEEX USDT-M perpetuals",
    "generatedAt": "2026-11-27T02:00:00.000Z",
    "plan": "monthly",
    "quota": 1000,
    "used": 12
  }
}

Ticker

Source: WEEX USDT-M perpetuals
GET/api/v1/markets/tickerMCP: get_ticker
💡 When to useLive ticker for watchlist cards, dashboard display, or price change alerts.
💎 Key ValueAggregates last price, 24h change, high/low, and turnover in one single call.
⏱ Polling / Frequency1–3s polling for frontend UI; 5–10s for backend alert bots.
🤖 AI / MCP Multi-Scenario Prompt TemplatesCopy & paste directly into Cursor / Claude
🎯 Watchlist ticker
“Fetch the latest price, 24h change, high, low, and volume for BTCUSDT and ETHUSDT.”
🎯 High/Low retracement
“Check BTCUSDT 24h high/low and turnover, and compute current price retracement from the 24h high.”

Rolling 24h ticker: last price, change, high, low and volume.

Request Parameters

ParameterTypeRequiredDescription
symbolstringyesUSDT-margined perpetual symbol such as BTCUSDT or ETHUSDT; see list_symbols for all

Live Try It & Code Snippets

curl -H "Authorization: Bearer YOUR_API_KEY" \
  "https://coinpred.com/api/v1/markets/ticker?symbol=BTCUSDT"

Response Schema & Fields

Field (data)TypeMeaning & Description
lastnumberLast traded price (USDT)
changePctnumber24h change in percent
high / lownumber24h high / low
volumenumber24h volume in base asset
quoteVolumenumber24h turnover in USDT
openTime / closeTimenumberWindow start / end (ms epoch, UTC)

Response Example (data)

JSON Example (data)
{
  "ok": true,
  "data": {
    "symbol": "BTCUSDT",
    "last": 60629.5,
    "changePct": -0.2134,
    "high": 61111.3,
    "low": 59885.3,
    "volume": 26938.5182,
    "quoteVolume": 1633442690.85,
    "openTime": 1795657500000,
    "closeTime": 1795743900000
  },
  "meta": {
    "endpoint": "get_ticker",
    "source": "WEEX USDT-M perpetuals",
    "generatedAt": "2026-11-27T02:00:00.000Z",
    "plan": "monthly",
    "quota": 1000,
    "used": 12
  }
}

Candles

Source: WEEX USDT-M perpetuals
GET/api/v1/markets/klinesMCP: get_klines
💡 When to useRender TradingView charts, run quantitative backtests, calculate indicators, or feed candles to AI.
💎 Key ValueAscending chronological candles with taker-buy volume for CVD and order-flow computation.
⏱ Polling / FrequencyFetch 200–500 candles on chart init, then poll near bar close.
🤖 AI / MCP Multi-Scenario Prompt TemplatesCopy & paste directly into Cursor / Claude
🎯 Trend & moving avg
“Fetch the last 200 1h candles for ETHUSDT and evaluate price deviation from EMA20 and EMA50.”
🎯 Volume divergence
“Fetch 100 15m candles for BTCUSDT, comparing closes with takerBuy volume to detect fake breakouts.”

Candles in ascending time, up to 1,000, including taker-buy volume for order-flow / CVD work.

Request Parameters

ParameterTypeRequiredDescription
symbolstringyesUSDT-margined perpetual symbol such as BTCUSDT or ETHUSDT; see list_symbols for all
interval5m | 15m | 30m | 1h | 4h | 1dyesCandle interval
limitintegernoNumber of candles, 10–1000, default 200 (default: 200)

Live Try It & Code Snippets

curl -H "Authorization: Bearer YOUR_API_KEY" \
  "https://coinpred.com/api/v1/markets/klines?symbol=BTCUSDT&interval=1h&limit=200"

Response Schema & Fields

Field (data)TypeMeaning & Description
candles[].timenumberCandle open time (seconds epoch, UTC)
candles[].open / high / low / closenumberOpen / high / low / close
candles[].volumenumberVolume in base asset
candles[].quoteVolumenumberTurnover in USDT
candles[].tradesnumberNumber of trades
candles[].takerBuynumberTaker-buy volume (base); taker-sell = volume − takerBuy

Response Example (data)

JSON Example (data)
{
  "ok": true,
  "data": {
    "symbol": "BTCUSDT",
    "interval": "1h",
    "candles": [
      {
        "time": 1795384800,
        "open": 60926.8,
        "high": 61085.9,
        "low": 60737,
        "close": 61085.8,
        "volume": 1502.2391,
        "quoteVolume": 91475780.29,
        "trades": 18091,
        "takerBuy": 728.1722
      }
    ]
  },
  "meta": {
    "endpoint": "get_klines",
    "source": "WEEX USDT-M perpetuals",
    "generatedAt": "2026-11-27T02:00:00.000Z",
    "plan": "monthly",
    "quota": 1000,
    "used": 12
  }
}

Order book

Source: WEEX USDT-M perpetuals
GET/api/v1/markets/orderbookMCP: get_orderbook
💡 When to useOrder-book imbalance, liquidity wall tracking, slippage estimation, and high-frequency market making.
💎 Key ValuePre-sorted by best price (bids descending, asks ascending).
⏱ Polling / Frequency500ms–1s for HFT bots; 2–5s for regular monitoring.
🤖 AI / MCP Multi-Scenario Prompt TemplatesCopy & paste directly into Cursor / Claude
🎯 Depth imbalance
“Retrieve top 50 order-book levels for BTCUSDT, analyzing bid-ask spread and top 10 depth balance.”
🎯 Slippage check
“Check ETHUSDT top 20 order book depth to estimate slippage on a 500,000 USDT market order.”

Current bids and asks for imbalance, walls and liquidity work.

Request Parameters

ParameterTypeRequiredDescription
symbolstringyesUSDT-margined perpetual symbol such as BTCUSDT or ETHUSDT; see list_symbols for all
limitintegernoLevels per side, 1–200, default 20 (default: 20)

Live Try It & Code Snippets

curl -H "Authorization: Bearer YOUR_API_KEY" \
  "https://coinpred.com/api/v1/markets/orderbook?symbol=BTCUSDT&limit=5"

Response Schema & Fields

Field (data)TypeMeaning & Description
bids[][price, size][]Bids, best first; size in base asset
asks[][price, size][]Asks, best first
timenumberSnapshot time (ms epoch)

Response Example (data)

JSON Example (data)
{
  "ok": true,
  "data": {
    "symbol": "BTCUSDT",
    "bids": [
      [
        60629.4,
        2.6917
      ],
      [
        60629.2,
        2.9674
      ]
    ],
    "asks": [
      [
        60629.5,
        2.5048
      ],
      [
        60629.7,
        2.6942
      ]
    ],
    "time": 1795744408037
  },
  "meta": {
    "endpoint": "get_orderbook",
    "source": "WEEX USDT-M perpetuals",
    "generatedAt": "2026-11-27T02:00:00.000Z",
    "plan": "monthly",
    "quota": 1000,
    "used": 12
  }
}

Recent trades

Source: WEEX USDT-M perpetuals
GET/api/v1/markets/tradesMCP: get_trades
💡 When to useWhale trade tracker, aggressive market order flow spikes, and sub-second momentum.
💎 Key ValuePrecise ms timestamps with aggressor taker side flags (buy/sell).
⏱ Polling / FrequencyPoll 50–100 trades every 1–3s as needed.
🤖 AI / MCP Multi-Scenario Prompt TemplatesCopy & paste directly into Cursor / Claude
🎯 Whale tape tracker
“Query the last 100 trades for BTCUSDT, tallying taker-buy vs taker-sell volume and flagging orders > $50k.”
🎯 Aggressive tape sweep
“Monitor recent ETHUSDT trades to check for continuous aggressor dumping or sweeping momentum.”

Most recent trades; side is the taker (aggressor) side.

Request Parameters

ParameterTypeRequiredDescription
symbolstringyesUSDT-margined perpetual symbol such as BTCUSDT or ETHUSDT; see list_symbols for all
limitintegernoNumber of trades, 1–1000, default 100 (default: 100)

Live Try It & Code Snippets

curl -H "Authorization: Bearer YOUR_API_KEY" \
  "https://coinpred.com/api/v1/markets/trades?symbol=BTCUSDT&limit=3"

Response Schema & Fields

Field (data)TypeMeaning & Description
trades[].timenumberTrade time (ms epoch)
trades[].price / qtynumberPrice / quantity (base)
trades[].quotenumberNotional in USDT
trades[].sidebuy | sellTaker buy or taker sell

Response Example (data)

JSON Example (data)
{
  "ok": true,
  "data": {
    "symbol": "BTCUSDT",
    "trades": [
      {
        "time": 1795744407851,
        "price": 60629.5,
        "qty": 0.0014,
        "quote": 84.8813,
        "side": "buy"
      }
    ]
  },
  "meta": {
    "endpoint": "get_trades",
    "source": "WEEX USDT-M perpetuals",
    "generatedAt": "2026-11-27T02:00:00.000Z",
    "plan": "monthly",
    "quota": 1000,
    "used": 12
  }
}

Funding and premium

Source: WEEX USDT-M perpetuals
GET/api/v1/markets/fundingMCP: get_funding
💡 When to useFunding rate arbitrage, market crowding detection, and settlement squeeze protection.
💎 Key ValueReturns current rate, forecast rate, mark price, and index premium simultaneously.
⏱ Polling / FrequencyPoll every 1–5m to track forecast shifts before settlement.
🤖 AI / MCP Multi-Scenario Prompt TemplatesCopy & paste directly into Cursor / Claude
🎯 Crowding warning
“Compare current and forecast funding rates for BTC and ETH to detect extreme directional crowding.”
🎯 Basis arbitrage APR
“Fetch funding rate, mark price, and index premium for BTCUSDT to calculate carry trade APR.”

Current and forecast funding, mark and index price, and funding history.

Request Parameters

ParameterTypeRequiredDescription
symbolstringyesUSDT-margined perpetual symbol such as BTCUSDT or ETHUSDT; see list_symbols for all
limitintegernoFunding history rows, 1–100, default 30 (default: 30)

Live Try It & Code Snippets

curl -H "Authorization: Bearer YOUR_API_KEY" \
  "https://coinpred.com/api/v1/markets/funding?symbol=BTCUSDT&limit=3"

Response Schema & Fields

Field (data)TypeMeaning & Description
lastRatenumberLast funding rate (fraction; 0.0001 = 0.01%); positive = longs pay shorts
forecastRatenumberForecast next funding rate
markPrice / indexPricenumberMark / index price; (mark/index − 1) is the premium
nextFundingTimenumberNext settlement (ms epoch)
history[]{rate,time}[]Funding history, newest first

Response Example (data)

JSON Example (data)
{
  "ok": true,
  "data": {
    "symbol": "BTCUSDT",
    "lastRate": 0.00009869,
    "forecastRate": 0.0000831,
    "markPrice": 60611.9,
    "indexPrice": 60631.92,
    "nextFundingTime": 1795766400000,
    "history": [
      {
        "rate": 0.00009869,
        "time": 1795737600000
      }
    ]
  },
  "meta": {
    "endpoint": "get_funding",
    "source": "WEEX USDT-M perpetuals",
    "generatedAt": "2026-11-27T02:00:00.000Z",
    "plan": "monthly",
    "quota": 1000,
    "used": 12
  }
}

Open interest

Source: WEEX USDT-M perpetuals
GET/api/v1/markets/open-interestMCP: get_open_interest
💡 When to useValidate breakout strength: price rise + OI expansion = genuine institutional momentum.
💎 Key ValueReturns base asset OI for direct calculation of total contract USD notional.
⏱ Polling / FrequencyPoll every 10–30s.
🤖 AI / MCP Multi-Scenario Prompt TemplatesCopy & paste directly into Cursor / Claude
🎯 Breakout validation
“Inspect BTCUSDT open interest alongside price action to distinguish institutional buildup from liquidation cascades.”
🎯 Notional open interest
“Fetch ETHUSDT open interest in coins and compute total contract USD notional value.”

Current open interest in base asset.

Request Parameters

ParameterTypeRequiredDescription
symbolstringyesUSDT-margined perpetual symbol such as BTCUSDT or ETHUSDT; see list_symbols for all

Live Try It & Code Snippets

curl -H "Authorization: Bearer YOUR_API_KEY" \
  "https://coinpred.com/api/v1/markets/open-interest?symbol=BTCUSDT"

Response Schema & Fields

Field (data)TypeMeaning & Description
openInterestnumberOpen interest in base asset; × price ≈ USD value
timenumberTime (ms epoch)

Response Example (data)

JSON Example (data)
{
  "ok": true,
  "data": {
    "symbol": "BTCUSDT",
    "openInterest": 153992.0534,
    "time": 1795744407906
  },
  "meta": {
    "endpoint": "get_open_interest",
    "source": "WEEX USDT-M perpetuals",
    "generatedAt": "2026-11-27T02:00:00.000Z",
    "plan": "monthly",
    "quota": 1000,
    "used": 12
  }
}

Liquidation map

Source: WEEX USDT-M perpetuals + Coinpred liquidation engine
GET/api/v1/markets/liquidation-mapMCP: get_liquidation_map
💡 When to useIdentify long/short liquidation clusters, locate liquidity pools, and design liquidity sweep or squeeze strategies.
💎 Key ValueCombines open interest, MMR, and multi-tier leverage distribution to pinpoint clustered liquidation prices and near-price liquidity pools.
⏱ Polling / FrequencyPoll every 1–5 minutes or when price approaches key technical levels.
🤖 AI / MCP Multi-Scenario Prompt TemplatesCopy & paste directly into Cursor / Claude
🎯 Top liquidation clusters
“Call get_liquidation_map for BTCUSDT and identify the top 3 short and long liquidation cluster levels.”
🎯 3% near-price liquidity
“Calculate clustered liquidation volumes within 3% of current price to identify liquidation pool targets.”
🎯 Safe stop-loss placement
“Inspect ETH liquidation map to find major long liquidation bands and set stop-loss safely beyond the pool.”

Liquidation map derived from open interest, maintenance margin ratios, and volume-weighted leverage distributions. Estimates long liquidation clusters below market price and short liquidation clusters above, near-price 3% concentrations, and peak liquidity pools.

Request Parameters

ParameterTypeRequiredDescription
symbolstringyesUSDT-margined perpetual symbol such as BTCUSDT or ETHUSDT; see list_symbols for all
lookbackintegernoCandles lookback window, 100–1000, default 500 (default: 500)
binsintegernoPrice bin resolution, 20–150, default 72 (default: 72)

Live Try It & Code Snippets

curl -H "Authorization: Bearer YOUR_API_KEY" \
  "https://coinpred.com/api/v1/markets/liquidation-map?symbol=BTCUSDT&lookback=500&bins=72"

Response Schema & Fields

Field (data)TypeMeaning & Description
pricenumberReference mark price (USDT)
stepnumberPrice step per bin
totalLongnumberTotal estimated long liquidation volume below price
totalShortnumberTotal estimated short liquidation volume above price
near3Long / near3ShortnumberLiquidation volume clustered within 3% of current price
topLong[]object[]Top 3 long liquidation cluster price levels
topShort[]object[]Top 3 short liquidation cluster price levels
bins[]object[]Full liquidation bins with long and short amounts

Response Example (data)

JSON Example (data)
{
  "ok": true,
  "data": {
    "symbol": "BTCUSDT",
    "price": 68500.5,
    "step": 285.4,
    "totalLong": 412500000,
    "totalShort": 389000000,
    "near3Long": 48200000,
    "near3Short": 52100000,
    "topLong": [
      {
        "price": 66400,
        "long": 32500000
      },
      {
        "price": 65200,
        "long": 28100000
      },
      {
        "price": 63800,
        "long": 24600000
      }
    ],
    "topShort": [
      {
        "price": 70200,
        "short": 35600000
      },
      {
        "price": 71500,
        "short": 29800000
      },
      {
        "price": 72800,
        "short": 26300000
      }
    ]
  },
  "meta": {
    "endpoint": "get_liquidation_map",
    "source": "WEEX USDT-M perpetuals + Coinpred liquidation engine",
    "generatedAt": "2026-11-27T02:00:00.000Z",
    "plan": "monthly",
    "quota": 1000,
    "used": 12
  }
}

Order flow & CVD microstructure

Source: WEEX USDT-M perpetuals + Signal Lab microstructure engine
GET/api/v1/markets/order-flowMCP: get_order_flow
💡 When to useMicrostructure order flow: 0.25%/0.5%/1% depth imbalance, liquidity walls, tape aggressor bias, and candle CVD series.
💎 Key ValueFuses order book, aggressor trades, and candle taker-buy volumes into a unified CVD and imbalance score.
⏱ Polling / FrequencyPoll every 3–10 seconds for real-time flow momentum.
🤖 AI / MCP Multi-Scenario Prompt TemplatesCopy & paste directly into Cursor / Claude
🎯 Depth imbalance & walls
“Call get_order_flow for BTCUSDT to evaluate 0.25% and 0.5% depth imbalances and nearest liquidity walls.”
🎯 CVD divergence detection
“Analyze running CVD across 50 candles for ETHUSDT to detect any bearish or bullish CVD divergences.”
🎯 Tape aggressor bias
“Check recent tape buy/sell ratios and top 5% whale trade directions for SOLUSDT to assess institutional accumulation.”

Order book imbalance, whale tape aggressor ratio, and cumulative volume delta (CVD). Analyzes 0.25%, 0.5%, 1% depth imbalance, liquidity walls, recent tape aggressor bias, and candle-by-candle CVD momentum.

Request Parameters

ParameterTypeRequiredDescription
symbolstringyesUSDT-margined perpetual symbol such as BTCUSDT or ETHUSDT; see list_symbols for all
interval5m | 15m | 30m | 1h | 4h | 1dnoCVD candle interval, default 1h (default: 1h)
limitintegernoCVD lookback candles, 20–200, default 50 (default: 50)

Live Try It & Code Snippets

curl -H "Authorization: Bearer YOUR_API_KEY" \
  "https://coinpred.com/api/v1/markets/order-flow?symbol=BTCUSDT&interval=1h&limit=50"

Response Schema & Fields

Field (data)TypeMeaning & Description
symbolstringContract symbol
book.spreadnumberBid-ask spread ratio
book.b1 / b5 / b10.imbnumberDepth imbalance at 0.25%, 0.5%, 1% bands (-1 to +1)
book.support / resistanceobjectNearest prominent liquidity wall support / resistance
tape.buy / sellnumberTaker-buy vs taker-sell volume in USDT
tape.rationumberAggressor buy/sell imbalance ratio (-1 to +1)
tape.bignumberTop 5% whale trade directional bias
cvd.summary.totalnumberCumulative Volume Delta net total over the window
cvd.series[].deltanumberCandle volume delta
cvd.series[].cvdnumberRunning cumulative volume delta

Response Example (data)

JSON Example (data)
{
  "ok": true,
  "data": {
    "symbol": "BTCUSDT",
    "interval": "1h",
    "price": 68520.5,
    "book": {
      "spread": 0.000015,
      "b1": {
        "imb": 0.18
      },
      "b5": {
        "imb": 0.24
      },
      "b10": {
        "imb": 0.12
      },
      "support": {
        "p": 68200,
        "n": 852000,
        "side": "bid"
      },
      "resistance": {
        "p": 69000,
        "n": 924000,
        "side": "ask"
      }
    },
    "tape": {
      "buy": 12500000,
      "sell": 10800000,
      "ratio": 0.073,
      "big": 0.14,
      "rec": 0.09,
      "count": 1000
    },
    "cvd": {
      "summary": {
        "total": 428.5,
        "start": 0,
        "end": 428.5,
        "candlesCount": 50
      },
      "series": [
        {
          "time": 1795743600,
          "close": 68520.5,
          "delta": 12.8,
          "cvd": 428.5
        }
      ]
    }
  },
  "meta": {
    "endpoint": "get_order_flow",
    "source": "WEEX USDT-M perpetuals + Signal Lab microstructure engine",
    "generatedAt": "2026-11-27T02:00:00.000Z",
    "plan": "monthly",
    "quota": 1000,
    "used": 12
  }
}

Technical indicators suite

Source: WEEX USDT-M perpetuals + quantitative indicator engine
GET/api/v1/markets/indicatorsMCP: get_indicators
💡 When to useCompute all 11 classic quantitative indicators (MACD, RSI, EMA, SMA, BB, ATR, Stoch, CCI, %R, OBV, ADX) in a single API call.
💎 Key ValueBattle-tested quantitative calculations with multi-period moving averages and directional indices ready for bots and AI.
⏱ Polling / FrequencyPoll once per candle close for strategy trigger checks.
🤖 AI / MCP Multi-Scenario Prompt TemplatesCopy & paste directly into Cursor / Claude
🎯 11 indicators overview
“Batch compute 11 classic indicators for BTCUSDT 1h via get_indicators and summarize trend and overbought/oversold status.”
🎯 EMA & MACD momentum
“Inspect EMA group (7/25/99), MACD, and RSI(14) for ETHUSDT to determine moving average alignment.”
🎯 Bollinger %B & ATR
“Read Bollinger Bands %B and ATR for SOLUSDT to evaluate volatility squeeze and breakout readiness.”

Batch computation of 11 classic quantitative indicators in a single call: MACD, RSI, EMA (7/25/99), SMA (20/50/200), Bollinger Bands, ATR, Stochastic (K/D), CCI, Williams %R, OBV, and ADX. Delivers latest calculated readings and recent series.

Request Parameters

ParameterTypeRequiredDescription
symbolstringyesUSDT-margined perpetual symbol such as BTCUSDT or ETHUSDT; see list_symbols for all
interval5m | 15m | 30m | 1h | 4h | 1dyesCandle interval
limitintegernoCandle lookback window for calculation, 50–500, default 200 (default: 200)

Live Try It & Code Snippets

curl -H "Authorization: Bearer YOUR_API_KEY" \
  "https://coinpred.com/api/v1/markets/indicators?symbol=BTCUSDT&interval=1h&limit=200"

Response Schema & Fields

Field (data)TypeMeaning & Description
symbol / intervalstringSymbol and timeframe
pricenumberReference close price
macdobjectLatest MACD values
rsinumberLatest RSI(14)
emaobjectEMA 7, 25, 99 readings
smaobjectSMA 20, 50, 200 readings
bollingerobjectBollinger Bands upper, middle, lower and %B
atrnumberAverage True Range (14)
stochasticobjectStochastic %K and %D readings
ccinumberCommodity Channel Index (20)
williamsRnumberWilliams %R (14) reading
obvnumberOn-Balance Volume reading
adxobjectAverage Directional Index (14) with +DI and -DI

Response Example (data)

JSON Example (data)
{
  "ok": true,
  "data": {
    "symbol": "BTCUSDT",
    "interval": "1h",
    "price": 68500.5,
    "macd": {
      "MACD": 142.5,
      "signal": 110.2,
      "histogram": 32.3
    },
    "rsi": 58.4,
    "ema": {
      "ema7": 68420.1,
      "ema25": 68110.5,
      "ema99": 67320.8
    },
    "sma": {
      "sma20": 68250.2,
      "sma50": 67980.6,
      "sma200": 66800.4
    },
    "bollinger": {
      "upper": 69200.5,
      "middle": 68250.2,
      "lower": 67300,
      "pb": 0.63
    },
    "atr": 485.2,
    "stochastic": {
      "k": 65.2,
      "d": 61.8
    },
    "cci": 85.4,
    "williamsR": -34.8,
    "obv": 1425800.5,
    "adx": {
      "adx": 28.5,
      "pdi": 24.1,
      "mdi": 16.8
    }
  },
  "meta": {
    "endpoint": "get_indicators",
    "source": "WEEX USDT-M perpetuals + quantitative indicator engine",
    "generatedAt": "2026-11-27T02:00:00.000Z",
    "plan": "monthly",
    "quota": 1000,
    "used": 12
  }
}

🧠 Model analysis and suggestions

Signal Lab analysis and suggestion🔥 Exclusive

Source: Coinpred Signal Lab (19 fused algorithms) on WEEX data
GET/api/v1/signal-lab/analysisMCP: get_signal_lab_analysis
💡 When to use[Exclusive Flagship] Automated AI agent decisions, pre-trade multi-algorithm verification, directional probability, and ATR-calibrated trade plans.
💎 Key Value19 algorithms in 5 weighted layers with up-probability, conviction grade, supporting reasons, opposing risks, and ATR trade plans.
⏱ Polling / FrequencyCall at candle close (e.g. hourly) or right before placing a trade.
🤖 AI / MCP Multi-Scenario Prompt TemplatesCopy & paste directly into Cursor / Claude
🎯 5-layer consensus
“Call get_signal_lab_analysis for BTCUSDT 1h, and explain the fused up-probability, consensus score, and primary supporting reasons.”
🎯 Full trade plan with R/R
“Assess ETHUSDT 4h with Signal Lab and generate an entry range, stop-loss, three take-profit targets, and risk/reward ratio.”
🎯 Opposing risk audit
“Evaluate SOLUSDT Signal Lab output, focusing on detected opposing risks and order-book anomalies.”

Same engine as the Signal Lab page: 19 algorithms fused in 5 weighted layers plus the live order book, tape, funding and liquidation map, returning direction, probability, confidence, reasons and a reference trade plan. A data-based reference, not a trade instruction.

Request Parameters

ParameterTypeRequiredDescription
symbolstringyesUSDT-margined perpetual symbol such as BTCUSDT or ETHUSDT; see list_symbols for all
interval5m | 15m | 30m | 1h | 4h | 1dyesCandle interval
horizonintegernoPrediction window in candles, 1–12, default 1 (default: 1)
langen | zhnoLanguage of the reason texts (default: en)

Live Try It & Code Snippets

curl -H "Authorization: Bearer YOUR_API_KEY" \
  "https://coinpred.com/api/v1/signal-lab/analysis?symbol=BTCUSDT&interval=1h&horizon=1&lang=en"

Response Schema & Fields

Field (data)TypeMeaning & Description
ensemble.verdictstringFused call: neutral, or long / short with strength weak / medium / strong, e.g. long-medium, short-strong
ensemble.pUpnumberModel probability of an up move (0–1, calibrated on the backtest)
ensemble.confidencenumberConfidence score (0–100) based on consensus and liquidity
ensemble.gradeA | B | C | DSignal grade: A (very high conviction), B, C, D (weak/neutral)
ensemble.agreementnumberDirectional agreement of the 19 algorithms (0–1)
ensemble.fusedHitnumberHistorical backtest win-rate of the fused signal on recent window
ensemble.votesUp / votesDownnumberSub-algorithm votes for up vs. down
ensemble.activenumberNumber of active algorithms evaluated (19)
layers[]object[]Weight and score of each of the 5 layers
layers[].idstringLayer id: trend (26%), momentum (14%), flow (20%), stat (16%), micro (24%)
layers[].namestringLayer display name
layers[].weightnumberLayer weight in the ensemble (0–1, sum = 1.0)
layers[].scorenumberLayer score (-1.0 to +1.0; positive = bullish, negative = bearish)
layers[].countnumberNumber of active algorithm sub-models in this layer
reasons[]object[]Top supporting indicators / reasons with contribution
reasons[].idstringAlgorithm/indicator id
reasons[].namestringAlgorithm/indicator display name
reasons[].contributionnumberPositive mathematical contribution to the decision
reasons[].whystringSpecific quantitative reason and values
risks[]object[]Opposing risks and divergences with negative impact
risks[].idstringRisk factor id
risks[].namestringRisk factor display name
risks[].contributionnumberNegative contribution/drag on the confidence
risks[].whystringSpecific risk description
planobjectModel reference trade plan (calculated dynamically from ATR)
plan.side1 | -1 | 0Suggested side: 1 long, -1 short, 0 neutral
plan.entrynumberReference entry price in USDT
plan.stopnumberSuggested stop-loss price in USDT
plan.tp1 / plan.tp2numberTake-profit target 1 and 2
plan.rr1 / plan.rr2numberRisk-reward ratio for target 1 and 2
plan.positionPctnumberSuggested position size (0–1, Kelly-based with conservative cap)
plan.invalidationstringInvalidation condition text
risk.atrnumberAverage True Range (points)
risk.atrPctnumberATR as a percentage of current price
risk.regimestringMarket regime: Range-bound, Trending-up, Trending-down, High-volatility
risk.adxnumberADX value (>25 = strong trend, <20 = range-bound)
disclaimerstringUsage note: research reference only, not investment advice

Response Example (data)

JSON Example (data)
{
  "ok": true,
  "data": {
    "symbol": "BTCUSDT",
    "interval": "1h",
    "horizon": 1,
    "close": 60663.5,
    "ensemble": {
      "verdict": "long-weak",
      "pUp": 0.507,
      "confidence": 35,
      "grade": "D",
      "agreement": 0.524,
      "fusedHit": 0.524,
      "votesUp": 5,
      "votesDown": 9,
      "active": 19
    },
    "layers": [
      {
        "id": "trend",
        "name": "Trend & structure",
        "weight": 0.26,
        "score": 0.713,
        "count": 5
      },
      {
        "id": "momentum",
        "name": "Momentum",
        "weight": 0.14,
        "score": -0.171,
        "count": 3
      },
      {
        "id": "flow",
        "name": "Volume & order flow",
        "weight": 0.2,
        "score": 0.124,
        "count": 3
      },
      {
        "id": "stat",
        "name": "Statistical learning",
        "weight": 0.16,
        "score": -0.385,
        "count": 4
      },
      {
        "id": "micro",
        "name": "Live microstructure",
        "weight": 0.24,
        "score": 0.163,
        "count": 4
      }
    ],
    "reasons": [
      {
        "id": "ichimoku",
        "name": "Ichimoku",
        "contribution": 0.06,
        "why": "Price above the cloud (59458.5 – 59723.1)"
      },
      {
        "id": "supertrend",
        "name": "SuperTrend",
        "contribution": 0.056,
        "why": "SuperTrend bullish, line 59715.2"
      },
      {
        "id": "trend",
        "name": "EMA trend",
        "contribution": 0.042,
        "why": "Bullish EMA stack with rising EMA21, ADX 17.3"
      }
    ],
    "risks": [
      {
        "id": "meanrev",
        "name": "Mean reversion",
        "contribution": -0.055,
        "why": "Bollinger %B 1.12, 2.48σ from SMA20"
      },
      {
        "id": "book",
        "name": "Order-book imbalance",
        "contribution": -0.037,
        "why": "±0.5% depth: bids 38.42M / asks 144.67M USDT, imbalance -18.5%"
      }
    ],
    "plan": {
      "side": 1,
      "entry": 61305.3,
      "stop": 60298.4,
      "tp1": 62815.7,
      "tp2": 63822.6,
      "risk": 1006.9,
      "rr1": 1.5,
      "rr2": 2.5,
      "stopPct": 0.0164,
      "positionPct": 0.61,
      "maxLev": 20,
      "swingUsed": true,
      "wallUsed": true,
      "invalidation": "A close below 60298.4 invalidates the long idea",
      "warning": null
    },
    "risk": {
      "atr": 409.45,
      "atrPct": 0.0067,
      "volPct": 0.01,
      "regime": "Range-bound",
      "adx": 17.32,
      "expectedMove": 409.45,
      "range": [
        60897.16,
        61722.22
      ],
      "sigma": 0.0067
    },
    "disclaimer": "Model-based reference for research. Not investment advice or a trade instruction."
  },
  "meta": {
    "endpoint": "get_signal_lab_analysis",
    "source": "Coinpred Signal Lab (19 fused algorithms) on WEEX data",
    "generatedAt": "2026-11-27T02:00:00.000Z",
    "plan": "monthly",
    "quota": 1000,
    "used": 12
  }
}

Kronos AI forecasts & review

Source: Kronos daily forecast archive
GET/api/v1/kronos/dailyMCP: get_kronos_daily
💡 When to useBest for: backtesting, model accuracy auditing and historical review. Query Kronos daily forecast archives with subsequent observed actual closes (same as /kronos-daily/). Used to evaluate historical model hit rates and track records with immutable past data.
💎 Key ValueContains both predicted candles and observed actual candles for error backchecking. For live trading decisions use predict_kronos instead.
⏱ Polling / FrequencyDaily archive refreshed once daily in the morning.
🤖 AI / MCP Multi-Scenario Prompt TemplatesCopy & paste directly into Cursor / Claude
🎯 Forecast vs actual audit
“Query latest BTCUSDT daily forecast in get_kronos_daily, comparing predicted candles with actual observed closes for accuracy.”
🎯 7-day historical audit
“Retrieve 7-day Kronos daily forecast archives for ETHUSDT to evaluate historical directional hit rates.”

Best for: backtesting, model accuracy auditing and historical review. Kronos deep time-series daily forecasts and subsequent actual closes for error backchecking (same as /kronos-daily/). For live multi-timeframe trading decisions, use predict_kronos.

Request Parameters

ParameterTypeRequiredDescription
symbolBTCUSDT | ETHUSDTnoOptional; all when omitted
latestbooleannotrue returns only the latest run (default: false)
pageintegernoPage number (default: 1)

Live Try It & Code Snippets

curl -H "Authorization: Bearer YOUR_API_KEY" \
  "https://coinpred.com/api/v1/kronos/daily?symbol=BTCUSDT&latest=true&page=1"

Response Schema & Fields

Field (data)TypeMeaning & Description
items[].daystringPublication day (Asia/Shanghai)
items[].symbolstringContract symbol
items[].intervalstringCandle interval (1d)
items[].predictionsobject[]Forecast future candles (time, OHLC)
items[].actualobject[]Later observed candles for error comparison
items[].imageUrlstringForecast chart image

Response Example (data)

JSON Example (data)
{
  "ok": true,
  "data": {
    "items": [
      {
        "day": "2026-11-27",
        "symbol": "BTCUSDT",
        "interval": "1d",
        "status": "succeeded",
        "generatedAt": "2026-11-27T00:41:38Z",
        "model": "Kronos",
        "horizon": 24
      }
    ]
  },
  "meta": {
    "endpoint": "get_kronos_daily",
    "source": "Kronos daily forecast archive",
    "generatedAt": "2026-11-27T02:00:00.000Z",
    "plan": "monthly",
    "quota": 1000,
    "used": 12
  }
}

Price predictions (1–10 years)

Source: Coinpred price-prediction model (pp-1.0)
GET/api/v1/price-predictionsMCP: get_price_predictions
💡 When to useLong-term spot DCA evaluation, 1–10 year scenario modeling, and junk coin filtering.
💎 Key ValueBear/base/bull scenarios across 10 years with tokenomics risk tags.
⏱ Polling / FrequencyWeekly update frequency.
🤖 AI / MCP Multi-Scenario Prompt TemplatesCopy & paste directly into Cursor / Claude
🎯 10-year DCA scenarios
“Query 1 to 10-year bear, base, and bull price projections and quality tier for ETH.”
🎯 Tokenomics risk flags
“Check PEPE token score and audit risk flags like unlock overhang or low liquidity.”

Published 1–10 year bear / base / bull scenarios, quality tier and scores (same as /price-prediction/). Model output, not a price promise.

Request Parameters

ParameterTypeRequiredDescription
symbolstringnoOptional coin symbol such as ETH; all when omitted

Live Try It & Code Snippets

curl -H "Authorization: Bearer YOUR_API_KEY" \
  "https://coinpred.com/api/v1/price-predictions?symbol=ETH"

Response Schema & Fields

Field (data)TypeMeaning & Description
items[].qualityTierA | B | C | D | junkQuality tier; junk = junk-coin risk
items[].scoreTotal / dataCompletenessnumberComposite score (0–100) / data completeness (%)
items[].scenarios[]object[]Years 1–10: bear / base / bull price and return (%)
items[].riskFlags[]string[]Risk flags such as unlock_overhang, low_liquidity

Response Example (data)

JSON Example (data)
{
  "ok": true,
  "data": {
    "items": [
      {
        "symbol": "ETH",
        "asOf": "2026-11-22",
        "basePrice": 1705.05,
        "qualityTier": "B",
        "scoreTotal": 62.62,
        "regime": "cycle_down",
        "scenarios": [
          {
            "years": 10,
            "bear": {
              "price": 916.77,
              "roi": -46.2
            },
            "base": {
              "price": 2633.94,
              "roi": 54.5
            },
            "bull": {
              "price": 7567.46,
              "roi": 343.8
            }
          }
        ]
      }
    ]
  },
  "meta": {
    "endpoint": "get_price_predictions",
    "source": "Coinpred price-prediction model (pp-1.0)",
    "generatedAt": "2026-11-27T02:00:00.000Z",
    "plan": "monthly",
    "quota": 1000,
    "used": 12
  }
}

Kronos live multi-timeframe AI prediction

Source: Coinpred Kronos time-series AI foundation model
GET/api/v1/kronos/predictMCP: predict_kronos
💡 When to useBest for: live trading decisions, swing/scalp analysis and AI-agent execution. Run on-demand multi-timeframe inference using the Kronos Transformer model for real-time 24-candle trajectory forecasts (same as /kronos/).
💎 Key ValueSupports 6 timeframes (5m to 1d) across 500+ perpetuals, returning 24 predicted OHLC candles and high-res chart image for immediate trade execution. For historical review use get_kronos_daily.
⏱ Polling / FrequencyTrigger on demand before placing trades or upon candle close.
🤖 AI / MCP Multi-Scenario Prompt TemplatesCopy & paste directly into Cursor / Claude
🎯 Live 24-candle trajectory
“Run predict_kronos for BTCUSDT 1h to project the next 24 candles and display the generated chart image.”
🎯 Multi-timeframe alignment
“Compare predict_kronos 15m and 1h trajectories for ETHUSDT to check for multi-timeframe alignment.”
🎯 Inflection points timing
“Project SOLUSDT 4h path and determine the estimated timing of local highs and lows in the 24 candles.”

Best for: live trading decisions, swing/scalp analysis and AI-agent execution. Real-time multi-timeframe future candle forecast generated by the Kronos deep time-series foundation model (same as /kronos/). Supports 5m, 15m, 30m, 1h, 4h, and 1d intervals, outputting 24 predicted OHLC candles, forecast chart (Base64 PNG), and model metadata. For historical review use get_kronos_daily.

Request Parameters

ParameterTypeRequiredDescription
symbolstringyesUSDT-margined perpetual symbol such as BTCUSDT or ETHUSDT; see list_symbols for all
interval5m | 15m | 30m | 1h | 4h | 1dyesCandle interval
lookbackintegernoInput historical candle count, 50–999, default 512 (default: 512)

Live Try It & Code Snippets

curl -H "Authorization: Bearer YOUR_API_KEY" \
  "https://coinpred.com/api/v1/kronos/predict?symbol=BTCUSDT&interval=1h&lookback=512"

Response Schema & Fields

Field (data)TypeMeaning & Description
symbolstringContract symbol
intervalstringCandle timeframe
modelstringModel identifier
lookbacknumberHistorical candles used
predictions[].timenumberPredicted candle timestamp (s)
predictions[].open / high / low / closenumberPredicted OHLC prices
imagestringChart visualization image (Base64 PNG)
disclaimerstringResearch reference disclaimer

Response Example (data)

JSON Example (data)
{
  "ok": true,
  "data": {
    "symbol": "BTCUSDT",
    "interval": "1h",
    "model": "Kronos",
    "lookback": 512,
    "predictions": [
      {
        "time": 1795747200,
        "open": 68500,
        "high": 68850,
        "low": 68320,
        "close": 68720
      },
      {
        "time": 1795750800,
        "open": 68720,
        "high": 69100,
        "low": 68600,
        "close": 68980
      }
    ],
    "image": "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNk+A8AAQUBAScY44YAAAAASUVORK5CYII="
  },
  "meta": {
    "endpoint": "predict_kronos",
    "source": "Coinpred Kronos time-series AI foundation model",
    "generatedAt": "2026-11-27T02:00:00.000Z",
    "plan": "monthly",
    "quota": 1000,
    "used": 12
  }
}

🗂 Review and strategy data

Signal review

Source: Coinpred public signal review
GET/api/v1/signals/reviewMCP: get_signal_review
💡 When to useStrategy performance review, public win-rate tracking, and backtest audit.
💎 Key ValueEvery signal record with settled outcomes and win rates is fully public.
⏱ Polling / FrequencyQuery daily or after session close.
🤖 AI / MCP Multi-Scenario Prompt TemplatesCopy & paste directly into Cursor / Claude
🎯 Settled win rates
“Query the signal review system for the latest 30 settled signals to view cumulative win rate and long vs short splits.”
🎯 Symbol track record
“Retrieve BTCUSDT historical settled signal records to analyze average price changes across market regimes.”

Public TradingView strategy signals with win-rate statistics, newest first (same as /review/).

Request Parameters

ParameterTypeRequiredDescription
symbolstringnoOptional: BTCUSDT, ETHUSDT, …; all when omitted
pageintegernoPage number (default: 1)
pageSizeintegernoItems per page, 1–50 (default: 20)

Live Try It & Code Snippets

curl -H "Authorization: Bearer YOUR_API_KEY" \
  "https://coinpred.com/api/v1/signals/review?symbol=BTCUSDT&page=1&pageSize=2"

Response Schema & Fields

Field (data)TypeMeaning & Description
summary.winRatenumberCumulative win rate of settled signals (%)
summary.bull / bearobjectCounts and win rates of bullish / bearish signals
items[].directionbull | bearSignal direction
items[].entryPrice / settlePricenumberSignal price / settlement price
items[].changePctnumberChange from signal to settlement price (%)
items[].resultwin | loss | nullWin / loss / pending

Response Example (data)

JSON Example (data)
{
  "ok": true,
  "data": {
    "page": 1,
    "pageSize": 2,
    "total": 319,
    "summary": {
      "total": 319,
      "wins": 188,
      "losses": 131,
      "winRate": 58.9,
      "bull": {
        "count": 179,
        "winRate": 49.7
      },
      "bear": {
        "count": 140,
        "winRate": 70.7
      }
    },
    "items": [
      {
        "symbol": "BTCUSDT",
        "time": "2026-11-25T01:40:00Z",
        "day": "2026-11-25",
        "direction": "bull",
        "entryPrice": 59344.56,
        "settlePrice": 59256.91,
        "changePct": -0.148,
        "result": "loss"
      }
    ]
  },
  "meta": {
    "endpoint": "get_signal_review",
    "source": "Coinpred public signal review",
    "generatedAt": "2026-11-27T02:00:00.000Z",
    "plan": "monthly",
    "quota": 1000,
    "used": 12
  }
}

Strategy library

Source: Coinpred TradingView strategy library
GET/api/v1/strategiesMCP: list_strategies
💡 When to useDiscover validated TradingView Pine Script strategies, indicator combinations, and templates.
💎 Key ValueCurated index of backtested trend, mean-reversion, and breakout strategies.
⏱ Polling / FrequencyQuery on demand.
🤖 AI / MCP Multi-Scenario Prompt TemplatesCopy & paste directly into Cursor / Claude
🎯 Trend Pine Script code
“List TradingView Pine Script strategies suitable for BTC trend-following from Coinpred library.”
🎯 Mean-reversion index
“Find mean-reversion and breakout TradingView strategies for ETH 4h with timeframe notes.”

Published BTC / ETH TradingView strategies: category, markets, timeframes, author and source (code downloads stay on the website).

Request Parameters

ParameterTypeRequiredDescription
langen | zhnoLanguage of titles and summaries (default: en)

Live Try It & Code Snippets

curl -H "Authorization: Bearer YOUR_API_KEY" \
  "https://coinpred.com/api/v1/strategies?lang=en"

Response Schema & Fields

Field (data)TypeMeaning & Description
items[].slugstringStrategy id; page at /strategies/{slug}/
items[].categorystringtrend / reversion / breakout
items[].title / descriptionstringTitle and summary
items[].markets / timeframesstring[]Markets and timeframes

Response Example (data)

JSON Example (data)
{
  "ok": true,
  "data": {
    "items": [
      {
        "slug": "btc-price-z-trend",
        "category": "trend",
        "markets": [
          "BTC"
        ],
        "timeframes": [
          "4h"
        ],
        "title": "BTC Price Z-Trend",
        "author": "PresentTrading",
        "updated": "2026-11-22"
      }
    ]
  },
  "meta": {
    "endpoint": "list_strategies",
    "source": "Coinpred TradingView strategy library",
    "generatedAt": "2026-11-27T02:00:00.000Z",
    "plan": "monthly",
    "quota": 1000,
    "used": 12
  }
}

Payout, expected value & Kelly sizing

Source: Coinpred quantitative risk & position sizing engine
GET/api/v1/calculator/payoutMCP: calc_payout
💡 When to useActuarial risk modeling: break-even win rate, EV per trade, fee sensitivity, and optimal Kelly / half-Kelly position sizing.
💎 Key ValueIdentical mathematical model to the site calculator with full win-rate scenario matrix and Kelly fraction sizing.
⏱ Polling / FrequencyQuery during strategy planning or before sizing new positions.
🤖 AI / MCP Multi-Scenario Prompt TemplatesCopy & paste directly into Cursor / Claude
🎯 EV & net profit actuarial
“Bankroll 10000U, 20 planned trades of 400U each, 1.5 payout, $2 fee, 55% win rate. Call calc_payout to compute EV per trade and net profit.”
🎯 Kelly bet fraction sizing
“For 60% win rate and 1.8 payout ratio, call calc_payout to get optimal Kelly fraction and conservative half-Kelly stake.”
🎯 Break-even minimum wins
“Calculate break-even win rate and minimum winning trades needed when per-trade fee is 5U and payout ratio is 1.2.”

Mathematical expected value actuarial model and Kelly Criterion position sizing under fixed-capital constraints (identical to the site calculator). Calculates break-even win rate, EV per trade, expected net P&L, fee sensitivity, and optimal Kelly / half-Kelly bet fractions.

Request Parameters

ParameterTypeRequiredDescription
bankrollnumberyesTotal bankroll / starting capital (U, > 0)
stakenumberyesFixed stake per trade (U, > 0, trades * (stake + fee) <= bankroll)
tradesintegeryesNumber of planned trades, 1–10000
payoutnumberyesNet payout ratio on a win (e.g. 1.5 for 150% net profit; 1.0 for 1:1)
winRatenumberyesAssumed win rate (0–1, e.g. 0.55 for 55%)
feenumbernoExtra fee/cost per trade (U, default 0) (default: 0)

Live Try It & Code Snippets

curl -H "Authorization: Bearer YOUR_API_KEY" \
  "https://coinpred.com/api/v1/calculator/payout?bankroll=10000&stake=400&trades=20&payout=1.5&winRate=0.55&fee=2"

Response Schema & Fields

Field (data)TypeMeaning & Description
breakEvenWinRatenumberMinimum break-even win rate
minWinsnumberMinimum number of winning trades needed to avoid loss
expectedProfitnumberExpected net profit / loss (U)
expectedEndingBalancenumberExpected ending account balance (U)
expectedRoinumberExpected return on starting capital
expectedValuePerTradenumberMathematical expected value (EV) per trade in U
totalAllocated / totalFeesnumberTotal capital allocated / total accumulated fees
kelly.fraction / halfKellynumberOptimal Kelly fraction / half-Kelly sizing fraction
scenarios[]object[]Sensitivity scenario analysis across win-rate spectrum

Response Example (data)

JSON Example (data)
{
  "ok": true,
  "data": {
    "breakEvenWinRate": 0.402,
    "isAttainable": true,
    "minWins": 9,
    "expectedProfit": 3000,
    "expectedEndingBalance": 13000,
    "expectedRoi": 0.3,
    "expectedValuePerTrade": 150,
    "totalAllocated": 8040,
    "totalFees": 40,
    "kelly": {
      "fraction": 0.25,
      "halfKelly": 0.125,
      "quarterKelly": 0.0625,
      "suggestedStake": 2500
    },
    "scenarios": [
      {
        "winRate": 0.402,
        "expectedProfit": 0,
        "expectedBalance": 10000,
        "roi": 0
      },
      {
        "winRate": 0.55,
        "expectedProfit": 3000,
        "expectedBalance": 13000,
        "roi": 0.3
      }
    ]
  },
  "meta": {
    "endpoint": "calc_payout",
    "source": "Coinpred quantitative risk & position sizing engine",
    "generatedAt": "2026-11-27T02:00:00.000Z",
    "plan": "monthly",
    "quota": 1000,
    "used": 12
  }
}

Errors

HTTPcodeMeaning
401INVALID_API_KEYMissing or invalid API key
403MEMBERSHIP_REQUIREDAn active monthly or annual membership is required
429DAILY_QUOTA_EXCEEDEDDaily quota used up (resets at 00:00 UTC)
429RATE_LIMITEDAt most 60 calls per minute per key
400BAD_REQUESTInvalid parameter; see message
502UPSTREAM_UNAVAILABLEUpstream data unavailable; the call is not counted

FAQ

I am a complete beginner with no coding experience. Can I use this?

Yes! The Model Context Protocol (MCP) was created precisely for non-programmers. You do not need to write any code. Just paste our MCP endpoint and your API key into Cursor, VS Code, or Claude Desktop. You can then chat with AI in natural language—like "Analyze BTC trend"—and the AI will automatically fetch our live data and 19 algorithms to answer you.

What is the difference between the API and MCP?

They return the same underlying data. The REST API is for programmers building trading bots or Python backtests (returns JSON). The MCP server is a standard plugin protocol for AI assistants (Cursor, Claude, VS Code, Windsurf). If you do not code, we strongly recommend MCP!

What is an API key and how do I format the Authorization header?

An API key is your credential starting with cpk_. Create one under the "API keys" section on this page. In HTTP headers, provide Authorization: Bearer cpk_YOUR_KEY (note the single space). When configuring MCP in Cursor or Claude, simply put it in the headers object in the config JSON.

What happens if I create an API key without a membership? Are there surprise charges?

Creating a key is 100% free. However, calling endpoints requires an active monthly or annual membership. Non-members receive a 403 MEMBERSHIP_REQUIRED response. Monthly members receive 1,000 calls/day and annual members receive 5,000 calls/day (resets daily at 00:00 UTC). There are zero overage fees, and upstream errors (502) are not counted.

What is the difference between /kronos/daily and /kronos/predict?

The distinction is clear: 1. Choose /kronos/daily for backtesting, accuracy auditing, and historical review. It provides daily forecast archives alongside later observed actual close prices (actual array) for error comparison. 2. Choose /kronos/predict for live trading decisions and swing/scalp analysis. It supports 6 timeframes (5m to 1d) across 500+ perpetuals, outputting 24 predicted OHLC candles and forecast chart images in real time.

How do I troubleshoot API errors?

Quick error reference: • 401 INVALID_API_KEY: Key missing or malformed. • 403 MEMBERSHIP_REQUIRED: An active membership plan is required. • 429 DAILY_QUOTA_EXCEEDED: Daily limit reached; resets at 00:00 UTC. • 429 RATE_LIMITED: Maximum 60 calls per minute per key. • 400 BAD_REQUEST: Check query parameters (e.g. uppercase BTCUSDT without slashes; valid interval). • 502 UPSTREAM_UNAVAILABLE: Temporary exchange jitter; not charged to your quota. Retry immediately.

Can I trade directly on Signal Lab and Kronos outputs?

We do not recommend blind automated execution. Our models (Signal Lab 19-algorithm consensus and Kronos Transformer) are quantitative research reference tools designed to eliminate emotional bias and assist risk management. Apply your own disciplined risk controls.

Is the Try it console safe? Will my API key leak?

It is completely safe. The Try it console sends requests directly from your browser. Your key is stored strictly in sessionStorage for the active tab and wiped completely when you close the tab. It is never logged in URLs, server logs, or shared with third parties.