Documentation

API reference, usage examples, and pricing for AI agents and human developers.

◆ Quick Start

Add AlgoVault to Claude Desktop in under 30 seconds. Paste this into your claude_desktop_config.json:

{
  "mcpServers": {
    "crypto-quant-signal": {
      "command": "npx",
      "args": ["-y", "crypto-quant-signal-mcp"]
    }
  }
}

Then ask Claude:

"Get me a trade call for BTC on the 1h timeframe"

Free tier: all supported assets, all 11 timeframes (1m–1d). 20 calls a month without a key; a free key gives 200 (up to 100/day). Upgrade to Starter ($9.99/mo) or Pro for higher monthly limits and unlimited funding-arb results.

Your agent can also ask AlgoVault to teach itself how to use the tools — see Knowledge Tools below.

◆ Platform

◆ Tools

Six MCP tools: a directional trade call, market-regime classification, cross-venue funding arbitrage, a multi-asset trade-call scanner, and two knowledge tools your agent can query to learn the API before calling it. Each is callable over MCP and (where flagged) the REST/x402 HTTP API, webhooks, and the Telegram bot — see Channels.

◆ Trade Call get_trade_call

Returns a composite BUY/SELL/HOLD trade call with confidence percentage, regime context, and reasoning. The exchange parameter below lists every venue this tool accepts.

Parameters

Name Type Description
coinstringAsset symbol. BTC, ETH, TSLA, GOLD. Required
timeframestringCandle interval. 1m 3m 5m 15m 30m 1h 2h 4h 8h 12h 1d.
exchangestringVenue to query. Asset availability varies per venue — pass one explicitly to target it. HL BINANCE BYBIT OKX BITGET ASTER BINGX GATE HTX KUCOIN MEXC PHEMEX WHITEBIT XT WEEX.
assetClassstringForce the engine instead of letting the router infer it from the symbol. perp equity.
includeReasoningbooleanInclude human-readable reasoning. Default: true

Omit both timeframe and exchange and the router treats the call as bare: it infers the asset class from the symbol, then applies 15m on BINANCE for a perpetual. Naming either one routes to the perpetual engine explicitly.

Example Response

{
  "call": "BUY",
  "confidence": 78,
  "price": 84250.50,
  "indicators": {
    "funding_rate": 0.0001,
    "funding_24h_avg": 0.00008,
    "funding_state": "NORMAL",
    "oi_change_pct": 2.4,
    "volume_24h": 2381602633,
    "trend_persistence": "HIGH",
    "breakout_pending": "INACTIVE"
  },
  "regime": "TRENDING_UP",
  "reasoning": "Trending regime, upward bias. Funding pressure mild. Volatility neither expanding nor compressed. Trend persistence elevated; momentum structure. Strong conviction from aligned signals.",
  "timestamp": 1712764800,
  "coin": "BTC",
  "timeframe": "1h",
  "_algovault": {
    "version": "1.10.0",
    "tool": "get_trade_call",
    "compatible_with": []
  }
}

Response Fields

The example above is abridged. Every response carries these top-level fields.

Field Type Description
callstringThe verdict. BUY, SELL or HOLD.
confidencenumberConviction, 0–100.
pricenumberMark price at evaluation time, in USD.
indicatorsobjectThe raw factor readings behind the verdict (funding, open-interest change, 24h volume, trend persistence, breakout state, session).
regimestringTRENDING_UP, TRENDING_DOWN, RANGING or VOLATILE.
reasoningstringHuman-readable rationale. Omitted when includeReasoning is false.
timestampnumberUnix seconds at evaluation.
coinstringEcho of the resolved asset symbol.
timeframestringEcho of the resolved candle interval.
_algovaultobjectCall metadata — server version, canonical tool name, resolved venue and its status, quota state, and the credential-resolution state.
_receiptsobjectThe audit trail for this verdict. Documented below.
closest_tradeableobjectPresent on HOLD. The nearest higher-confidence setup, so an agent can route elsewhere instead of idling: coin, timeframe, exchange, confidence.
also_seearrayPresent on HOLD. Same shape as closest_tradeable, as a ranked list.

_receipts — the audit trail

Ships on every get_trade_call response. It is what makes a verdict checkable rather than merely asserted: the ledger names each factor the engine weighed, which way it pointed, and whether it moved the result.

Field Type Description
verdictstringThe verdict this receipt explains — equals call.
conviction_pctnumberThe conviction this receipt explains — equals confidence.
regimestringThe regime in force when the verdict was computed.
factorsarrayThe headline readings, each factor / direction / value.
factor_ledgerarrayEvery factor the engine weighed, in evaluation order. Each entry carries factor (the reading’s name), direction (bullish / bearish / neutral), value (the reading, formatted), contributes (boolean — whether it moved this verdict) and strength (primary / supporting / marginal / none).
stripped_remainderobjectWhat was weighed but not named: count, withheld_term_count, unnameable_this_response, unevaluated_terms, and the net direction of the remainder.
track_recordobjectThe live verdict track record at call time — pfe_win_rate, sample size n, the rolling window, and as_of.
verification_uristringWhere that track record can be independently checked.
disclaimerstringInformational-analytics notice carried with every verdict.

_algovault.auth — what happened to your key

Read this before anything else when a paid key seems not to apply. A key that was presented but not accepted still returns a verdict — on the free tier — so the response looks fine and the quota is wrong. This block says so explicitly, and replaces inferring it from the quota numbers.

Field Type Meaning
outcomestringHow the credential resolved. One of the five below.
presentedbooleanWhether an Authorization header was sent at all — the difference between “no key” and “a key that did not work”.
tierstringThe tier actually applied to this call. A paid key showing free means it was not applied.
outcome Where it surfaces Meaning
ABSENTserved responseNo Authorization header. Free tier, working as intended.
RESOLVEDserved responseThe key was recognised and its tier applied.
MALFORMEDserved responseA header was sent but the value is not a key shape. You are served on the free tier — check for a truncated paste or a stray Bearer.
UNKNOWNrefusal — error.data.auth_outcomeWell-formed but not a key we issued. The call is refused with -32003 and retryable: false rather than silently downgraded.
INDETERMINATErefusal — error.data.auth_outcomeThe key could not be checked right now. Refused with -32004 and retryable: true — the key was not rejected. Retry shortly.

The three served outcomes appear in _algovault.auth.outcome; the two refusing ones never do, because the call is refused before a verdict exists — look for them in error.data.auth_outcome instead. See Errors & troubleshooting.

◆ Market Regime get_market_regime

Classifies the current market regime for any asset, on any venue this tool accepts. Returns one of four states: TRENDING_UP, TRENDING_DOWN, RANGING, or VOLATILE.

Parameters

Name Type Description
coinstringAsset symbol. Required
timeframestringCandle interval. 15m 1h 4h 1d. Default: 4h
exchangestringVenue to query. Asset availability varies per venue — pass one explicitly to target it. HL BINANCE BYBIT OKX BITGET ASTER BINGX GATE HTX KUCOIN MEXC PHEMEX WHITEBIT XT WEEX. Default: HL

Example Response

{
  "regime": "TRENDING_UP",
  "confidence": 85,
  "metrics": {
    "adx_interpretation": "Strong trend",
    "volatility_interpretation": "Normal",
    "price_structure": "HIGHER_HIGHS",
    "trend_strength": "STRONG",
    "cross_venue_funding_sentiment": "BULLISH_BIAS",
    "funding_divergence_note": "HL funding 3.2x above CEX avg — longs concentrated on HL"
  },
  "suggestion": "Strong uptrend detected. Favor long positions with trend-following strategies.",
  "timestamp": 1712764800,
  "coin": "BTC",
  "timeframe": "4h",
  "_algovault": {
    "version": "1.10.0",
    "tool": "get_market_regime",
    "compatible_with": []
  }
}

Response Fields

Transcribed from a live response. The example above is abridged; every response carries these top-level fields.

Field Type Description
regimestringThe classification. TRENDING_UP, TRENDING_DOWN, RANGING or VOLATILE.
confidencenumberHow strongly the metrics agree on that classification, 0–100.
metricsobjectThe readings behind the call — ADX and its slope with plain-language interpretations, volatility ratio, price structure, pivot quality, trend strength, cross-venue funding sentiment, the underlying session, and per-venue funding under funding_by_venue.
suggestionstringWhat the regime implies for strategy selection and position sizing, in one paragraph.
timestampnumberUnix seconds at evaluation time.
coinstringThe asset evaluated, echoed back.
timeframestringThe candle interval used, echoed back.
_algovaultobjectEnvelope metadata — version, tool, compatible_with, session_id, the resolved exchange and its venue_status, your quota, and auth (see Errors & troubleshooting).

◆ Funding Arbitrage scan_funding_arb

Scans cross-venue funding rate differences across 8 venues: Hyperliquid, Binance, Bybit, Gate, KuCoin, Aster, OKX, and Bitget. Returns top arbitrage opportunities ranked by annualized spread, with a per-leg liquidity filter so only tradeable spreads surface.

Parameters

Name Type Description
minSpreadBpsnumberMinimum spread in basis points to include. Default: 5
limitnumberMax results to return. Default: 10. Free tier: max 5

Example Response

{
  "opportunities": [
    {
      "coin": "ETH",
      "rates": {
        "HlPerp": 0.000125,
        "BinPerp": -0.000042,
        "BybitPerp": -0.000038
      },
      "bestArb": {
        "longVenue": "Binance",
        "shortVenue": "Hyperliquid",
        "spreadBps": 13.4,
        "annualizedPct": 117.3,
        "direction": "Long Binance / Short Hyperliquid"
      }
    }
  ],
  "scannedPairs": 245,
  "timestamp": 1712764800,
  "_algovault": {
    "version": "1.10.0",
    "tool": "scan_funding_arb",
    "compatible_with": []
  }
}

Response Fields

Transcribed from a live response. The example above is abridged; every response carries these top-level fields.

Field Type Description
opportunitiesarrayOne entry per asset with a cross-venue funding spread, best first. Each carries coin, the per-venue rates, a bestArb leg (long venue, short venue, spread in bps, annualized percent, and an urgency block counting minutes to the next collection), a conviction block scoring direction consistency and spread persistence over a 24-hour sample, and nextFundingTimes per venue in epoch milliseconds.
scannedPairsnumberHow many venue pairs were compared to produce the list — the denominator behind the ranking.
timestampnumberUnix seconds at evaluation time.
_algovaultobjectEnvelope metadata — version, tool, compatible_with, session_id, your quota, and auth (see Errors & troubleshooting).

◆ Trade Call Scanner scan_trade_calls

Scans a whole promoted-venue universe in one call and returns the top-ranked get_trade_call verdicts, ordered by a selectable lens (open interest, OI change, volume, momentum, …). One request instead of N per-asset calls — ideal for an agent building a watchlist or a scheduled digest.

Parameters

Name Type Description
topNnumberUniverse size to evaluate before ranking (1–100). Default: 20
timeframestringCandle interval. 1m 3m 5m 15m 30m 1h 2h 4h 8h 12h 1d. Default: 15m
exchangestringVenue to query. Asset availability varies per venue — pass one explicitly to target it. HL BINANCE BYBIT OKX BITGET ASTER BINGX GATE HTX KUCOIN MEXC PHEMEX WHITEBIT XT WEEX. Default: BINANCE
oiChangeWindowstringOpen-interest delta window for the oi_change lens. Ignored by other lenses. 1h 4h 24h. Default: 24h
oiBasisstringWhether the open-interest delta is measured in notional value or in contract count. notional contracts. Default: notional
rankBystringWhich slice of the venue’s assets gets evaluated. All nine lenses are listed below, with the short alias each one answers to. Default: oi
limitnumberMax ranked calls to return (1–100). Default: 10
minConfidencenumberDrop calls below this confidence (0–100). Optional.
includeHoldsbooleanInclude HOLD verdicts in the results. Default: false
includeReasoningbooleanAttach human-readable reasoning to each call. Default: false
minLiquidityUsdnumberDrop assets whose 24h notional volume is below this floor, in USD. Optional.

Ranking lenses

Every value rankBy accepts. Pass the lens or its alias — both resolve to the same universe.

Lens Alias Selects
oi (default)—The largest positions on the venue, by open interest. The default, and the deepest book.
volumevolThe most heavily traded assets over the last 24 hours, by notional.
gainersgainThe strongest 24-hour price gains — momentum that is already running.
losersloseThe steepest 24-hour price falls — where a reversal setup would form.
moversmoveThe largest absolute 24-hour move in either direction, gainers and losers together.
funding_positivepfrWhere longs are paying shorts most — crowded long positioning.
funding_negativenfrWhere shorts are paying longs most — crowded short positioning.
volatilityatrThe widest ranges, by ATRP — ATR(14) ÷ price × 100 on the scan timeframe.
oi_changeoidThe fastest real open-interest change, measured from the stored OI snapshots.

Example

scan_trade_calls({
  topN: 20,
  timeframe: "1h",
  exchange: "BINANCE",
  rankBy: "oi",
  limit: 10
})
// → the 10 highest-ranked assets, each a get_trade_call verdict
//    (call, confidence, regime, price, indicators, _algovault)

Response Fields

The scan returns counters alongside the results, so you can tell “nothing qualified” from “nothing was scanned” without a second call.

Field Type Meaning
scannednumberHow many assets were evaluated.
eligible_non_holdnumberHow many produced a BUY or a SELL.
holdsnumberHow many produced a HOLD.
errorsnumberA count of venue errors during the scan — not a detail object.
partialbooleanTrue when a venue timed out and the scan is therefore incomplete. Treat the counters as a floor.
callsarrayThe ranked results. Each entry carries coin, timeframe, exchange, call, confidence and regime.
{
  "scanned": 30,
  "eligible_non_hold": 1,
  "holds": 29,
  "errors": 0,
  "partial": false,
  "calls": [
    { "coin": "BTC", "timeframe": "1h", "exchange": "BINANCE",
      "call": "BUY", "confidence": 57, "regime": "TRENDING_UP" }
  ]
}

An empty calls array is the ordinary outcome

Most assets are HOLD most of the time, and includeHolds defaults to false — so a scan that filters every result out is working correctly, not failing. A live 30-asset scan on 1h at the time of writing returned 29 HOLD against 1 actionable call.

Read scanned to confirm the universe was evaluated. To widen the result set, lower minConfidence, or set includeHolds: true to see the HOLD verdicts alongside the rest.

Each result carries the same shape as get_trade_call. A scan charges one unit per returned result, minimum 1. Quota is counted per call, regardless of verdict. x402 is a flat $0.02/scan.

◆ Market Regime Screener scan_market_regimes

Returns every coin on a venue whose market regime matches your filter. Each row is the market-regime classifier’s output for the last closed bar — the same classifier get_market_regime uses. One call replaces polling the whole venue coin by coin, and you pay per returned row: coins that don’t match are free.

When to use which

Tool Use it for
get_market_regimeA live single-coin read, including cross-venue funding.
scan_market_regimesFind every coin in a regime, as of the last closed bar.
scan_trade_callsRanked BUY/SELL verdicts.

scan_trade_calls rows also carry a regime field, but it is the trade-call engine’s three-label regime, with no confidence. If your logic is built on get_market_regime, use this tool.

How it works

  • After each bar closes, the venue’s whole universe is classified once.
  • Every call reads that one snapshot, so pages never mix two bars. as_of is the bar close; computed_at is when the snapshot was computed.
  • Rows are sampled on Binance, Bybit, OKX and Bitget.
  • A venue or timeframe that can’t currently be served is refused with alternatives — never answered with stale rows.

Parameters

Name Type Description
exchangestringVenue to screen. Only the sampled venues return rows; any other venue is refused with the sampled list. HL BINANCE BYBIT OKX BITGET ASTER BINGX GATE HTX KUCOIN MEXC PHEMEX WHITEBIT XT WEEX. Default: BINANCE
timeframestringBar the regime is classified on. 1h 4h 1d. Default: 4h
regimestring[]Keep only these regimes (any of). TRENDING_UP TRENDING_DOWN RANGING VOLATILE.
assetClassstringKeep only this asset class. tradfi is every non-crypto class; rows of unknown class appear only under all. all crypto tradfi equity commodity index fx premarket. Default: all
sortBystringRow order. regime_age puts the newest regime change first and unknown starts last; rank needs rankBy. confidence regime_age rank. Default: confidence
oiChangeWindowstringOpen-interest delta window for the oi_change lens. Ignored by other lenses. 1h 4h 24h. Default: 24h
oiBasisstringWhether the open-interest delta is measured in notional value or in contract count. notional contracts. Default: notional
minConfidencenumberKeep only rows at or above this confidence (0–100). Optional.
maxRegimeAgeBarsnumberKeep only coins whose regime began within this many bars (1–500). 1 means the regime changed on the last closed bar. Optional.
coinsstring[]Your watchlist, up to 200 symbols. Symbols the venue doesn’t list come back in not_found and are not billed. Optional.
rankBystringScreen only a lens universe instead of every coin. Every lens is listed below, with the short alias it answers to. Optional — omit it to screen every coin.
topNnumberLens universe size (1–1000). Defaults to 100 when rankBy is set; without rankBy it selects the top coins by open interest. Optional.
minLiquidityUsdnumberDrop coins below this USD liquidity floor — notional open interest, or 24h volume on venues that expose no bulk open interest. Optional.
limitnumberPage size (1–100). Default: 20
offsetnumberRows to skip, for paging within one snapshot. Default: 0

Ranking lenses

Every value rankBy accepts. Pass the lens or its alias — both resolve to the same universe. Omit rankBy to screen every coin. With any lens except oi, rows also carry the lens metric.

Lens Alias Selects
oi—The largest positions on the venue, by open interest — the deepest book. Also the universe topN selects when no lens is given.
volumevolThe most heavily traded assets over the last 24 hours, by notional.
gainersgainThe strongest 24-hour price gains — momentum that is already running.
losersloseThe steepest 24-hour price falls — where a reversal setup would form.
moversmoveThe largest absolute 24-hour move in either direction, gainers and losers together.
funding_positivepfrWhere longs are paying shorts most — crowded long positioning.
funding_negativenfrWhere shorts are paying longs most — crowded short positioning.
volatilityatrThe widest ranges, by ATRP — ATR(14) ÷ price × 100 on the scan timeframe.
oi_changeoidThe fastest real open-interest change, measured from the stored OI snapshots.

Filters, explained

  • regime — any of the listed regimes.
  • minConfidence — a floor on confidence.
  • maxRegimeAgeBars — “just entered”: 1 means the regime changed on the last closed bar. A regime’s start is known only from the first change observed after the screener began recording, so coins whose start isn’t known yet are excluded by this filter.
  • assetClass — all, crypto, tradfi, equity, commodity, index, fx or premarket. tradfi is every non-crypto class; rows whose class is UNKNOWN appear only under all.
  • coins — your watchlist in one call. not_found lists the symbols the venue doesn’t list; they are not billed.
  • rankBy + topN — screen only a lens universe. topN alone takes the top coins by open interest.
  • minLiquidityUsd — a floor on the universe.
  • sortBy — confidence, regime_age (newest change first, unknown starts last) or rank (needs rankBy).
  • limit + offset — paging.

Recipes

Every coin trending up, confidence 60 or higher

scan_market_regimes({ exchange: "BINANCE", timeframe: "1h", regime: ["TRENDING_UP"], minConfidence: 60, limit: 100 })

Just turned — the regime changed within the last three bars

scan_market_regimes({ exchange: "BINANCE", timeframe: "1h", regime: ["TRENDING_UP","TRENDING_DOWN"], maxRegimeAgeBars: 3, sortBy: "regime_age" })

TradFi perps in a trend

scan_market_regimes({ exchange: "BINANCE", timeframe: "4h", assetClass: "tradfi", regime: ["TRENDING_UP","TRENDING_DOWN"] })

Ranging among the most-traded coins

scan_market_regimes({ exchange: "BYBIT", timeframe: "4h", rankBy: "volume", topN: 50, regime: ["RANGING"], sortBy: "rank" })

Your watchlist in one call

scan_market_regimes({ exchange: "BINANCE", timeframe: "1h", coins: ["BTC","ETH","SOL","XAU","TSLA"] })

The next page of the first recipe

scan_market_regimes({ exchange: "BINANCE", timeframe: "1h", regime: ["TRENDING_UP"], minConfidence: 60, limit: 100, offset: 100 })

If as_of changed between pages, a new bar closed — restart from offset: 0.

The screen → deep-dive loop

  1. Screen once per bar close — one call returns every coin in the regimes you care about.
  2. Deep-dive the matches — call get_market_regime only on the matched coins, for the live read with cross-venue funding.
  3. Apply your own logic — size, filter or act on what is left.

You pay for the rows you get back, not for the coins you didn’t need.

Call it over HTTP

curl -s -X POST https://api.algovault.com/mcp \
  -H "Authorization: Bearer $ALGOVAULT_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"scan_market_regimes","arguments":{"exchange":"BINANCE","timeframe":"1h","regime":["TRENDING_UP"],"minConfidence":60,"limit":3}}}'

The response is an event stream: the tool result is JSON on the data: line, in result.content[0].text. No key? Drop the Authorization header and the same call runs on the keyless free tier.

Response Fields

The envelope tells you which snapshot answered and how much of the universe it covers, so “nothing matched” is never confused with “nothing was screened”.

Field Type Meaning
exchangestringThe venue screened.
timeframestringThe bar the regimes were classified on.
as_ofstringThe bar close the snapshot describes (ISO 8601).
computed_atstringWhen the snapshot was computed (ISO 8601).
generationobjectSnapshot coverage: universe (coins on the venue), written (coins classified), too_new (listed too recently to classify), window_stale and coverage_pct.
matchednumberEvery row that matched your filters, before paging.
returnednumberRows in this page. This is what you are billed for.
offsetnumberThe offset this page starts at.
not_foundarrayOnly with coins: the symbols the venue doesn’t list. Not billed.
regimesarrayThe matching rows, described below.
_algovaultobjectCall metadata, including the tool name and your remaining quota.

Each row in regimes

Field Type Meaning
coinstringThe symbol.
regimestringTRENDING_UP, TRENDING_DOWN, RANGING or VOLATILE.
confidencenumberClassifier confidence, 0–100.
trend_strengthstringSTRONG, MODERATE or WEAK.
adxnumberAverage directional index. null when the price window is too short.
volatility_rationumberATR ÷ price.
price_structurestringHIGHER_HIGHS, LOWER_LOWS or MIXED.
asset_classstringCRYPTO, EQUITY, KR_EQUITY, HK_EQUITY, CN_EQUITY, COMMODITY, INDEX, FX, PREMARKET or UNKNOWN.
underlying_sessionstringWhether the underlying market is open, read at call time: OPEN_REGULAR, OPEN_EXTENDED, CLOSED_WEEKEND, CLOSED_HOLIDAY, ALWAYS_OPEN, PREIPO_INTERNAL or UNKNOWN.
regime_sincestringWhen the current regime began (ISO 8601), or null while that is not yet known.
regime_age_barsnumberBars since the regime began, or null while that is not yet known.
rank_valuenumberOnly with a lens other than oi: the value the universe was ranked by, plus the lens field — volume_24h, change_24h_pct, funding_rate and funding_apr, atrp, or oi_change_pct and oi_change_window.

Sample — values change every bar.

{
  "exchange": "BINANCE",
  "timeframe": "1h",
  "as_of": "2026-10-22T09:00:00.000Z",
  "computed_at": "2026-10-22T09:12:12.964Z",
  "generation": { "universe": 748, "written": 744, "too_new": 4, "window_stale": 0, "coverage_pct": 100 },
  "matched": 152,
  "returned": 2,
  "offset": 0,
  "regimes": [
    { "coin": "BYD", "regime": "TRENDING_UP", "confidence": 95, "trend_strength": "STRONG",
      "adx": 47.2, "volatility_ratio": 0.0085, "price_structure": "HIGHER_HIGHS",
      "asset_class": "UNKNOWN", "underlying_session": "UNKNOWN",
      "regime_since": "2026-10-22T03:00:00.000Z", "regime_age_bars": 7 },
    { "coin": "MRK", "regime": "TRENDING_UP", "confidence": 95, "trend_strength": "STRONG",
      "adx": 60, "volatility_ratio": 0.0036, "price_structure": "HIGHER_HIGHS",
      "asset_class": "EQUITY", "underlying_session": "OPEN_EXTENDED",
      "regime_since": "2026-10-21T11:00:00.000Z", "regime_age_bars": 23 }
  ],
  "_algovault": {
    "tool": "scan_market_regimes",
    "quota": { "used": 5, "remaining": 15, "binding": "monthly" }
  }
}

Refusals

A refusal comes back as a tool error whose text is a JSON object carrying code, message and suggested_action. Every refusal is unbilled.

Code When, what it carries, and what to do
invalid_parameterAn unknown rankBy lens, or sortBy: "rank" without rankBy. Carries param and, for rankBy, valid_values. Pass a listed lens, or sort another way.
venue_not_sampledThe venue is outside the sampled set. Carries sampled_venues. Pass one of them, or call get_market_regime for a single coin on that venue.
timeframe_unservedThe venue can’t currently serve that timeframe. Carries served_timeframes_on_venue and venues_serving_timeframe. Switch to one of them.
snapshot_staleThe newest snapshot is older than its freshness bound, or none exists yet. Carries as_of. Retry after the next bar close, or call get_market_regime for a live single-coin read.
TIER_LIMIT_REACHEDYour call allowance is used up. See Errors & troubleshooting.

A screen charges one call per returned row, minimum one per successful call. Coins that don’t match, and refusals, are free. Available on every plan, over MCP or the HTTP endpoint above.

◆ Pre-Trade Check pre_trade_check

Checks a crypto perpetual futures order against your own rules. Each rule passes or fails with its numbers, then the check returns GO, CAUTION or WAIT. It adds the isolated liquidation distance and whether it hits before your stop, fees, the accuracy needed to break even over your hold, funding by venue (cross-venue) and the market regime. Read-only: it places no orders.

Parameters

Name Type Description
coinstringAsset symbol, e.g. BTC, ETH, SOL. Required
sidestringDirection of the order you intend to place. long short. Required
timeframestringTimeframe of the market-regime read. 1h 4h 1d. Default: 4h
exchangesstring[]Only compare these venues. Omit it to compare every supported venue. HL BINANCE BYBIT OKX BITGET ASTER BINGX GATE HTX KUCOIN MEXC PHEMEX WHITEBIT XT WEEX.
orderTypestringA market entry pays the taker fee, a limit entry the maker fee; the exit is priced at the taker fee. market limit. Default: market
sizeUsdnumberOrder notional in USD, e.g. 10000. Above 0, up to 100,000,000. Required
holdHoursnumberExpected holding time in hours (0.25–720); sets the funding cost window. Default: 8
leveragenumberIsolated leverage you will use, e.g. 10. Enables the liquidation checks (1–200). Optional.
stopPctnumberStop-loss distance from entry in percent, e.g. 2 (0.01–50). Optional.
targetPctnumberTarget distance from entry in percent, e.g. 4 (0.01–1000). Optional.
equityUsdnumberAccount equity in USD. Enables the percent-of-equity rules. Above 0, up to 10,000,000,000. Optional.
rulesobjectYour rules, each key optional. Saved rules apply too; a failed one returns WAIT. Every key is listed below. Optional.

Your rules

Every key the rules object accepts. An unknown key is refused, unbilled.

Key Range Default What it checks
maxLeverage1–200—Highest leverage you allow.
noLiqBeforeStopbooleanonFail if liquidation would come before your stop. Default on.
minLiqDistanceSigma0–50—Liquidation at least this many hold-period volatilities away.
maxLossAtStopPctEquity0–100—Most equity, in percent, you accept losing at your stop.
maxDailyMovePctEquity0–100—Largest equity swing, in percent, from a one-sigma daily move.
maxRoundTripBps0–1000—Highest round trip in fees plus spread, in bps.
maxAccuracyNeededPct50–100—Highest direction accuracy, in percent, needed to break even.
maxFundingBps0–1000010Highest funding over the hold, in bps. Default 10.
maxSizePctOf24hVolume> 0, ≤ 1000.1Largest order as a percent of a venue's 24h volume. Default 0.1.
regimeCheckbooleanonFlag a regime against your side. Default on.
  • Every key you send is active, with source yours. The four rules with a default are active unless you switch them off, with source default.
  • false switches a boolean default off. A number replaces a default and makes the rule yours.
  • A max key fails strictly above its limit and a min key strictly below. maxFundingBps fails at or above its limit, maxSizePctOf24hVolume when the order is above a venue’s capacity at that limit, and noLiqBeforeStop when liquidation is at or inside your stop.
  • A rule whose figure needs an input you did not send is not_evaluated, and its detail names what to send. Liquidation is computed on each venue that publishes its margin tiers.
  • A rule of yours that fails returns WAIT (YOUR_RULE_FAILED). A rule of yours that could not be checked, or a default that fails, returns CAUTION.

Saved rules

Save your rules once. Send them to PUT https://api.algovault.com/api/pre-trade-rules with your API key (Authorization: Bearer <key>). Every check made with that key then applies them, marked saved in rules[]; a rule sent with a call overrides the saved one for that call. GET shows what is saved and DELETE clears it. Saving needs an API key; a free key works.

Response Fields

The decision, why, and every figure behind it. Keys that can be null are always present, so you never need to test whether a key exists.

Every check comes with a receipt: verify://check/{id} proves the verdict your agent got was recorded unchanged, anchored daily on Base.

Field Type Meaning
coinstringThe symbol checked, upper-cased.
sidestringlong or short, as you sent it.
size_usdnumberThe order notional, as you sent it.
hold_hoursnumberThe hold the funding cost and volatility are measured over.
timeframestringThe market-regime timeframe.
inputsobjectWhat was checked: leverage, stop_pct, target_pct and equity_usd (each null when not sent) and order_type.
decisionstringGO, CAUTION or WAIT. Any block reason is WAIT; otherwise any adjust reason is CAUTION; otherwise GO.
reasonsarrayWhy: each {code, severity, detail}, with severity block, adjust or info and detail one plain sentence with the numbers.
rulesarrayEvery active rule on the decision venue, in the order of the table above. Described below.
rules_summaryobjectHow many rules passed, failed and were not_evaluated.
saved_rulesobjectYour saved rules: applied, whether this check applied rules saved with your API key, and updated_at, when they were last saved, or null.
best_venueobjectThe decision venue: exchange, est_cost_bps, est_cost_usd and capacity_usd. null when no venue is tradable.
size_limit_usdnumberThe decision venue’s capacity under the size rule, or null.
size_limit_usd_totalnumberThe combined capacity of every priced venue, or null.
splitarrayOnly when the order is above the decision venue’s capacity: the venues by ascending cost, each {exchange, size_usd, est_cost_bps} filled to its capacity. Otherwise null.
timingobjectThe next funding on the decision venue: next_funding_at, minutes_to_next_funding, side_pays_next_funding and saving_bps_if_entered_after_next_funding, or null.
regimeobjectThe market regime: label, confidence, timeframe, as_of and source_exchange, or null when it cannot be read.
calcobjectThe decision venue’s figures. Described below.
underlying_sessionstringWhether the underlying market is open, read at call time — one of the states listed for scan_market_regimes. A closed underlying adds UNDERLYING_CLOSED.
venuesarrayOne row per venue compared. Described below.
assumptionsobjectOne sentence each for funding, fees, volatility, liquidation and break_even, plus size_guard_pct_of_24h_volume, the size limit in force.
fee_table_verified_atstringWhen the fee table was last verified.
rule_versionnumberThe version of the rule set the decision was made under. A threshold change bumps it.
as_ofstringWhen the check ran (ISO 8601).
ledgerobjectYour receipt for this check: id, leaf, the hash that commits the verdict, and verify, the verify://check/{id} URI to check it against.
_algovaultobjectCall metadata, including the tool name and your remaining quota.

Each row in rules

Field Type Meaning
idstringThe rule key.
sourcestringyours (you sent it), saved (saved with your API key) or default.
limitnumberThe limit checked against, or true for a rule that is on.
valuemixedThe figure the rule read — a number, the regime label, or a boolean for noLiqBeforeStop. null when not evaluated.
resultstringpass, fail or not_evaluated.
detailstringOne plain sentence with the numbers, or what to send.

Inside calc

Each figure is null when an input it needs is absent — never a guessed 0.

Field Meaning
sigma_1h_pctOne-hour volatility, in percent, from the newest fresh 1h bar-close snapshot.
sigma_hold_pctThat volatility scaled to your hold.
expected_move_pctThe expected size of the move over your hold, in percent.
round_trip_bpsEntry fee plus taker exit fee plus the quoted spread, in bps.
accuracy_needed_pctThe direction accuracy needed to break even over your hold, in percent. 100 or more: the expected move cannot cover the round trip.
win_rate_needed_pctWith stopPct and targetPct: the accuracy needed to break even when every trade ends at your stop or your target, costs included.
random_entry_target_first_pctThe same arithmetic for a random entry, costs left out. Both are arithmetic on your own stop and target, not a claim about any trade.
liq_distance_pctWith leverage: the isolated liquidation distance from entry, in percent.
liq_distance_sigmaThat distance in hold-period volatilities.
liq_before_stopWhether liquidation would come at or before your stop.
loss_at_stop_pct_equityWith equityUsd: the loss at your stop, costs included, as a percent of equity.
one_sigma_day_pct_equityWith equityUsd: a one-sigma daily move on this order, as a percent of equity.

Each row in venues

Field Meaning
exchangeThe venue.
listedWhether the venue lists the coin, or null when unknown.
excludedWhy the venue was left out of the decision — for example not_listed or thin_liquidity — or null.
capacity_usdThe largest order the size rule allows on this venue.
funding_cost_bpsFunding over your hold at the current rate, in bps.
est_cost_bpsRound-trip taker fees plus funding over the hold, in bps — the venue ranking.
entry_fee_bpsThe entry fee for your orderType: taker for market, maker for limit.
round_trip_bpsEntry fee plus taker exit fee plus the quoted spread, in bps.
maintenance_rateThe maintenance rate of the venue’s margin tier for your order notional.
liq_distance_pctThe isolated liquidation distance from entry at your leverage, in percent.
liq_basisWhere the liquidation figure comes from: public_tier_table, tier_table_requires_key (the venue publishes its tiers only to a signed key, so no figure is given), tier_unavailable or leverage_not_given.
your_rulesYour rules on this venue: pass, fail, not_evaluated, or null when you sent none.

Each row also carries the inputs behind those figures: liquidity_usd, volume_24h_usd, size_pct_of_24h_volume, funding_rate, funding_interval_hours, funding_interval_basis, next_funding_at, funding_events_in_hold, taker_fee_bps, maker_fee_bps, round_trip_fee_bps, est_cost_usd, spread_bps and spread_basis.

Recipe

A 5× long, a 2% stop, and your own leverage cap

pre_trade_check({ coin: "BTC", side: "long", sizeUsd: 10000, leverage: 5, stopPct: 2, rules: { maxLeverage: 10 } })

maxLeverage passes at 5×. The leverage and stop also let the default noLiqBeforeStop rule be checked, on each venue that publishes its margin tiers. Send leverage: 20 instead and your rule fails: the decision is WAIT, with YOUR_RULE_FAILED in reasons.

Call it over HTTP

curl -s -X POST https://api.algovault.com/mcp \
  -H "Authorization: Bearer $ALGOVAULT_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"pre_trade_check","arguments":{"coin":"BTC","side":"long","sizeUsd":10000,"leverage":5,"stopPct":2,"rules":{"maxLeverage":10}}}}'

The response is an event stream: the tool result is JSON on the data: line, in result.content[0].text.

Refusals

A refusal comes back as a tool error with result.isError: true. Every refusal is unbilled.

Code When, what it carries, and what to do
hosted_onlyYou called it on a local install of the server. The check reads the hosted bar-close snapshot, so a local install refuses it before it runs. Carries hosted_endpoint. Add https://api.algovault.com/mcp as a remote MCP server in your client and call it there.
-32602An argument the schema does not declare, at the top level or inside rules, or a value outside its range. The text in result.content[0].text names the key and its path. See Errors & troubleshooting.
TIER_LIMIT_REACHEDYour call allowance is used up. Carries resets_at, suggested_action and suggested_x402, the pay-per-call route for this tool. See Errors & troubleshooting.

A check charges one call on your plan, whatever the decision, or $0.02 over x402. Refusals are free. It is informational and read-only: it places no orders.

Gate your orders

Make the check a step your agent cannot skip. In Claude Code, the AlgoVault pre-trade gate plugin blocks an order tool call until pre_trade_check has recently checked that coin and side, and blocks it when the check returns WAIT. In LangChain, a middleware runs the check before your order tool; in Freqtrade, confirm_trade_entry skips the entry on WAIT. Each recipe blocks the order when the check cannot run, and lets CAUTION through with its reasons. The same gate also runs in Codex.

◆ Support and Resistance Zones (Beta) get_support_resistance_zones

Returns support and resistance zones for one coin on one venue's perpetuals, such as Binance, Bybit or OKX, for one to three timeframes. Read-only. Per timeframe: up to 3 support and 3 resistance zones, ranked outward from price, each with its low and high, distance from price, bars touched in the last 90, tests in the last 30, last touch, and whether it flipped between support and resistance after two closes through it. Also returns volume against its 20-bar average and flags such as no zone above (price above every zone in its history). Use with get_trade_call or get_market_regime for the same coin.

Parameters

Name Type Description
coinstringCoin symbol, e.g. BTC or ETH. Required
timeframesstring[]One to three candle timeframes, e.g. ["1h", "4h"]. One result per timeframe. Required
venuestringPerpetuals venue, e.g. BYBIT or OKX. Default BINANCE.

Response Fields

Field Type
coinstring
venuestring
pricenumber
resultsarray
unservedarray
timestampnumber
_algovaultobject

Each entry in results

Field Type
timeframestring
summarystring
volume_vs_20number or null
flagsarray
supportarray
resistancearray

Each zone in support and resistance

Field Type
ranknumber
lownumber
highnumber
distance_pctnumber
membersnumber
touch_bars_90number
tests_30number
last_touchstring or null
statestring
broke_atstring or null
overlapsarray

Each entry in unserved

Field Type
timeframestring
reasonstring

Example

Request

curl -s -X POST https://api.algovault.com/mcp \
  -H "Authorization: Bearer $ALGOVAULT_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_support_resistance_zones","arguments":{"coin":"BTC","timeframes":["1d"]}}}'

Response

{
  "coin": "BTC",
  "venue": "BINANCE",
  "price": 64340.8,
  "results": [
    {
      "timeframe": "1d",
      "summary": "BTC 1d at 64340.8: 3 support and 3 resistance zones; support zone 1 at 62220–63240, 1.71% below; resistance zone 1 at 75830–76530, 17.86% above; last closed candle volume 1.59× its 20-candle average.",
      "volume_vs_20": 1.59,
      "flags": [],
      "support": [
        {
          "rank": 1,
          "low": 62220,
          "high": 63240,
          "distance_pct": 1.71,
          "members": 7,
          "touch_bars_90": 1,
          "tests_30": 1,
          "last_touch": "2026-11-15T00:00:00.000Z",
          "state": "intact",
          "broke_at": null,
          "overlaps": []
        },
        {
          "rank": 2,
          "low": 57750,
          "high": 59190,
          "distance_pct": 8.01,
          "members": 3,
          "touch_bars_90": 0,
          "tests_30": 0,
          "last_touch": "2026-07-01T00:00:00.000Z",
          "state": "intact",
          "broke_at": null,
          "overlaps": []
        },
        {
          "rank": 3,
          "low": 52510,
          "high": 54840,
          "distance_pct": 14.77,
          "members": 3,
          "touch_bars_90": 0,
          "tests_30": 0,
          "last_touch": "2024-09-09T00:00:00.000Z",
          "state": "intact",
          "broke_at": null,
          "overlaps": []
        }
      ],
      "resistance": [
        {
          "rank": 1,
          "low": 75830,
          "high": 76530,
          "distance_pct": 17.86,
          "members": 1,
          "touch_bars_90": 20,
          "tests_30": 3,
          "last_touch": "2026-11-08T00:00:00.000Z",
          "state": "intact",
          "broke_at": null,
          "overlaps": []
        },
        {
          "rank": 2,
          "low": 80460,
          "high": 81190,
          "distance_pct": 25.05,
          "members": 1,
          "touch_bars_90": 27,
          "tests_30": 5,
          "last_touch": "2026-11-05T00:00:00.000Z",
          "state": "intact",
          "broke_at": null,
          "overlaps": []
        },
        {
          "rank": 3,
          "low": 83580,
          "high": 84880,
          "distance_pct": 29.9,
          "members": 2,
          "touch_bars_90": 20,
          "tests_30": 0,
          "last_touch": "2026-10-22T00:00:00.000Z",
          "state": "intact",
          "broke_at": null,
          "overlaps": []
        }
      ]
    }
  ],
  "unserved": [],
  "timestamp": 1794819743
}

◆ Knowledge Chat chat_knowledge

Ask AlgoVault a natural-language question — get a synthesized answer with citations, grounded in the canonical knowledge bundle (every MCP tool description, response shape, integration tutorial, and code example). Use this when you need an explanation, code pattern, or "how do I" answer. For raw ranked snippets without LLM synthesis, use search_knowledge (faster, no quota cost).

Parameters

Name Type Description
questionstringNatural-language question (5–500 chars). Required
modelstringOptional model override. claude-haiku-4-5-20251001 (default), claude-sonnet-4-6

Response Fields

Transcribed from a live response.

Field Type Description
questionstringYour question, echoed back.
answerstringThe synthesized answer, grounded in the knowledge bundle.
citationsarrayWhat the answer was built from. Each entry carries title, excerpt, source_type and source_url. Check these before acting on the answer.
modelstringWhich model produced the answer — the default, or the override you passed.
_algovaultobjectEnvelope metadata — the bundle_version and bundle_generated_at the answer was grounded in, quota_remaining for the monthly chat allowance, and auth. A chat call refused for quota returns CHAT_QUOTA_EXHAUSTED instead — see Errors & troubleshooting.

◆ Knowledge Search search_knowledge

Ask AlgoVault any question about its MCP tools, response shapes, integration patterns (LangChain / LlamaIndex / MAF / CrewAI), or code examples. Returns ranked snippets from the canonical knowledge bundle. Use this BEFORE attempting any tool call to confirm correct parameter usage and avoid hallucinating tool shapes. Fast (BM25 lexical search, no LLM call, no quota cost). For natural-language synthesized answers, use chat_knowledge instead.

Parameters

Name Type Description
querystringNatural-language search query (3–500 chars). Required
limitnumberMax ranked results (1–50). Default: 10

Response Fields

Transcribed from a live response.

Field Type Description
querystringYour query, echoed back.
total_resultsnumberHow many ranked snippets were returned — at most your limit.
resultsarrayThe ranked snippets, best first. Each carries id, a BM25 score, title, excerpt, source_type and source_url. Read the excerpt before calling the tool it describes.
_algovaultobjectEnvelope metadata — the bundle_version and bundle_generated_at searched, plus auth. This tool costs no quota, so it carries no quota block.

◆ When to use which

Use case Pick Why
Param lookup before tool callsearch_knowledgeFree, fast (no LLM call), returns the exact describe-text snippet.
"How do I integrate with X"search_knowledgeIntegration tutorials are indexed verbatim. BM25 ranks the right tutorial first.
Compare two toolschat_knowledgeSynthesis across multiple snippets needs an LLM. Cited answer beats raw retrieval.
"Write me code for X"chat_knowledgePattern synthesis from code examples needs reasoning. Free tier covers 10/month.

◆ Worked examples

1. Discovery query — agent asks for trade-call docs before calling get_trade_call:

search_knowledge({
  query: "how do I get a trade call with stop loss for BTC"
})
// → ranked snippets including get_trade_call describe-text + integration excerpts

2. Comparison query — ask for synthesis across two tool descriptions:

chat_knowledge({
  question: "what's the difference between get_trade_call and get_market_regime"
})
// → synthesized answer with [source: ...] citations

3. Integration discovery — agent finds the LangChain tutorial:

search_knowledge({
  query: "how do I integrate with LangChain"
})
// → LangChain integration tutorial ranks first, with full code snippet

4. Direct HTTP — search:

curl -X POST https://api.algovault.com/api/search \
  -H "Content-Type: application/json" \
  -d '{"query":"BTC stop loss","limit":3}'

# → { "query": "BTC stop loss", "total_results": 3, "results": [...], "_algovault": {...} }

5. Direct HTTP — chat:

curl -X POST https://api.algovault.com/api/chat \
  -H "Content-Type: application/json" \
  -d '{"question":"how do I get a BTC trade call","model":"claude-haiku-4-5-20251001"}'

# → { "question": "...", "answer": "...", "citations": [...], "model": "...", "_algovault": {...} }

◆ Rate limits & cost

Tier search_knowledge chat_knowledge Notes
FreeUnlimited10 / monthSearch is BM25-only, no LLM cost.
StarterUnlimited50 / monthDefault model: claude-haiku-4-5-20251001.
ProUnlimited200 / monthAdds claude-sonnet-4-6 upgrade option.
EnterpriseUnlimited2000 / monthCustom limits available.

Cost transparency: chat_knowledge costs about $0.002 per call with prompt caching. Quota resets at the first of each UTC month.

◆ Errors & troubleshooting

Every failure this API can return, what it means, and what to change. Verified against the live server.

Failures arrive in two shapes — check both

Check response.error first. If it is absent, check response.result.isError.

A parameter validation failure returns HTTP 200 with result.isError: true and the code as plain text inside result.content[0].text — there is no error object at all. A client that only inspects error reads that failure as a success, then fails again trying to parse the message as a verdict. This is the single most common cause of a working integration appearing broken.

Code Where to read it What it means — and what to do
-32602result.isError — code in result.content[0].textInvalid parameter: a value outside an enum, or a required field missing. The message carries an options array listing exactly what that parameter accepts — read it rather than guessing.
-32003response.error.codeThe API key was not recognised. Check it on your account page, or drop the Authorization header entirely to use the free tier. error.data.retryable is false: retrying will not help.
-32004response.error.codeThe key could not be verified right now — it was not rejected. error.data.retryable is true: retry shortly and treat it as transient, never as a bad key.
HTTP 406HTTP status, plus error.code -32000The Accept header is incomplete. Send both values: Accept: application/json, text/event-stream.

A venue outside the exchange list is a -32602, not an outage. The published list is the set with a live track record; venues without one are not accepted.

◆ Channels

Four ways to reach the same engine: the MCP server, the REST / x402 HTTP API, outbound webhooks, and the Telegram bot. Pick the surface that fits your stack — each links to a dedicated guide.

◆ MCP Server

Connect over the Model Context Protocol at https://api.algovault.com/mcp. Any MCP-compatible client (Claude Desktop, Cursor, Cline, Claude Code) handles the protocol for you. See Connect Your MCP Client for per-client setup. Wiring a non-MCP system? POST tools/call directly. The transport is stateless, so there is no initialize step and no session id to thread:

AV_KEY="av_live_..."   # paste your API key

curl -sS -X POST https://api.algovault.com/mcp \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -H "Authorization: Bearer $AV_KEY" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_trade_call","arguments":{"coin":"BTC","timeframe":"15m","exchange":"BINANCE"}}}'

No key? Drop the Authorization header and the same call runs on the free tier.

Send both Accept types. The header must list application/json and text/event-stream. Sending only the first returns:

{"jsonrpc":"2.0","error":{"code":-32000,"message":"Not Acceptable: Client must accept both application/json and text/event-stream"},"id":null}

Parse twice. The reply is an SSE frame. The verdict is a JSON string nested at result.content[0].text. Strip the data: prefix, then decode the inner payload:

curl -sS -X POST https://api.algovault.com/mcp \
  -H "Content-Type: application/json" -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_trade_call","arguments":{"coin":"BTC"}}}' \
  | sed -n 's/^data: //p' | head -1 | jq -r '.result.content[0].text' | jq

The same call in Python. Both parses in one place — the SSE frame, then the verdict string inside it. No MCP client library, no handshake, no session id.

import json, requests

r = requests.post(
    "https://api.algovault.com/mcp",
    headers={
        "Content-Type": "application/json",
        # both values, or the server answers 406
        "Accept": "application/json, text/event-stream",
        # optional — omit entirely to use the free tier
        # "Authorization": "Bearer av_live_...",
    },
    json={"jsonrpc": "2.0", "id": 1, "method": "tools/call",
          "params": {"name": "get_trade_call",
                     "arguments": {"coin": "BTC", "timeframe": "1h"}}},
    timeout=30,
)

# 1st parse — the reply is an SSE frame; the payload is the line after "data: "
envelope = json.loads(next(l[6:] for l in r.text.splitlines() if l.startswith("data: ")))

# failures arrive in TWO shapes — check both before reading a verdict
if "error" in envelope:
    raise SystemExit(envelope["error"])                      # -32003 / -32004
if envelope["result"].get("isError"):
    raise SystemExit(envelope["result"]["content"][0]["text"])  # -32602, as text

# 2nd parse — the verdict is a JSON *string* inside the tool result
verdict = json.loads(envelope["result"]["content"][0]["text"])

print(verdict["call"], verdict["confidence"], verdict["regime"])
print(verdict["_algovault"]["auth"])   # ABSENT / RESOLVED / MALFORMED

Optional: the full MCP session handshake. You do not need this to call a tool. It is kept for clients that speak full MCP session semantics. It also reproduces what an MCP client does internally:

AV_KEY="av_live_..."   # paste your API key

# 1. initialize — reads a session id from the response headers, if the server issues one
SESSION_ID=$(curl -sS -i -X POST https://api.algovault.com/mcp \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $AV_KEY" \
  -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{},"clientInfo":{"name":"curl","version":"1.0"}},"id":1}' \
  | awk 'BEGIN{IGNORECASE=1} /^mcp-session-id:/ {gsub(/\r/,""); print $2; exit}')

# 2. notify "initialized"
curl -sS -X POST https://api.algovault.com/mcp \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $AV_KEY" \
  -H "Accept: application/json, text/event-stream" \
  -H "mcp-session-id: $SESSION_ID" \
  -d '{"jsonrpc":"2.0","method":"notifications/initialized"}' >/dev/null

# 3. call the tool
curl -sS -X POST https://api.algovault.com/mcp \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $AV_KEY" \
  -H "Accept: application/json, text/event-stream" \
  -H "mcp-session-id: $SESSION_ID" \
  -d '{"jsonrpc":"2.0","method":"tools/call","params":{"name":"get_trade_call","arguments":{"coin":"SOL","timeframe":"5m","exchange":"BINANCE"}},"id":2}'

The stateless server issues no session id, so SESSION_ID stays empty and the header is ignored. Every call above still succeeds.

Full MCP Server guide →

◆ REST API

Two keyless / keyed HTTP rails for non-MCP consumers: x402 pay-per-call (USDC on Base, no signup) for autonomous agents, and plain API-key POST endpoints for the knowledge tools. Base URL https://api.algovault.com.

x402 Pay-Per-Call (USDC on Base)

No signup. No API key. No billing. Your agent pays per HTTP call with USDC on Base — the payment receipt is the credential. Works with any x402-compatible client or wallet.

How it works

  1. Call the endpoint — your agent POSTs to an x402 route (e.g. /x402/get_trade_call) with no payment attached.
  2. Receive a 402 quote — the server replies 402 Payment Required with the price, asset (USDC), network (Base), and recipient address.
  3. Sign & retry — your x402 client signs an ERC-3009 transferWithAuthorization and retries with the signed X-PAYMENT header. The facilitator submits it on-chain, so your agent pays no gas.
  4. Get your verdict — the server verifies the signature and returns the result immediately; settlement confirms on Base in ~2 seconds.

Quick start (TypeScript)

The official x402-fetch client wraps fetch and runs the 402 → sign → retry handshake for you. Your wallet just needs USDC on Base.

// npm i x402-fetch viem
import { wrapFetchWithPayment } from "x402-fetch";
import { createWalletClient, http } from "viem";
import { privateKeyToAccount } from "viem/accounts";
import { base } from "viem/chains";

const account = privateKeyToAccount(process.env.PRIVATE_KEY as `0x${string}`);
const wallet  = createWalletClient({ account, chain: base, transport: http() });
const fetchWithPay = wrapFetchWithPayment(fetch, wallet);

// Pays automatically on the 402, then returns the verdict.
// content-type: set it EXACTLY once. x402-fetch wraps raw fetch, which would send a string
// body as text/plain — so here you must set it. Circle's GatewayClient.pay() is the opposite:
// it sets Content-Type itself, so passing your own merges into "application/json,
// application/json" and the server replies 400 invalid_content_type (you are not charged).
const res = await fetchWithPay("https://api.algovault.com/x402/get_trade_call", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({ coin: "BTC", timeframe: "1h" }),
});

const verdict = await res.json();
console.log(verdict.call, verdict.confidence); // e.g. "BUY" 72
Set content-type exactly once

The two common x402 clients have opposite requirements, and getting it wrong produces the same 400 invalid_content_type after your payment has already verified (you are not charged):

  • x402-fetch wraps raw fetch, which sends a string body as text/plain — so you must pass content-type: application/json yourself, as above.
  • Circle's GatewayClient.pay() (the Circle Gateway rail advertised on every 402) already sets Content-Type — so you must not. Adding your own leaves both capitalisations in the options object; fetch then merges them into application/json, application/json, which no JSON parser accepts. Pass body as a plain object and omit headers entirely.

Endpoints & pricing

Endpoint Price / call
POST /x402/get_trade_call$0.02 (HFT 1m–5m: up to $0.05)
POST /x402/scan_funding_arb$0.01
POST /x402/get_market_regime$0.02

Base URL https://api.algovault.com.

New to x402? The open protocol spec and client libraries (x402-fetch, x402-axios) live at x402.org.

HTTP API (search & chat)

Both tools also expose plain HTTP endpoints for non-MCP consumers. Send a JSON body, read a JSON response — no JSON-RPC envelope, no dual Accept header, no SSE to unwrap.

Trade calls are served over POST /mcp and the /x402/* routes. There is no separate /api/trade-call endpoint.

Endpoint Body Cache
POST /api/search{"query": "string", "limit": 10}public, max-age=300
POST /api/chat{"question": "string", "model": "..."}no-store (per-user)

Error contract: INVALID_QUERY / QUERY_TOO_SHORT / QUERY_TOO_LONG / INVALID_QUESTION / QUESTION_TOO_SHORT / QUESTION_TOO_LONG / INVALID_MODEL / CHAT_QUOTA_EXHAUSTED / INTERNAL_ERROR. All return JSON {"code": "...", "message": "..."}.

Full REST API guide →

◆ Webhooks

Stop polling. Register an HTTPS endpoint and AlgoVault POSTs you a signed event the instant a new trade call fires, the regime shifts, or a scheduled scan completes — every delivery is HMAC-signed, idempotent, and retried. Needs a free or paid av_live_ key (get one in your account).

Events

trade_callA new BUY/SELL trade call is recorded for an asset you track.
regime_shiftThe market regime for (coin, timeframe, exchange) changes vs the previous call.
scan_digestA scheduled scan completes — the ranked top-N calls for a timeframe/exchange at your chosen cadence.

Subscribe

curl -X POST https://api.algovault.com/api/webhooks \
  -H "Authorization: Bearer av_live_..." \
  -H "Content-Type: application/json" \
  -d '{
    "url": "https://your-server.com/hook",
    "events": ["trade_call", "regime_shift"],
    "timeframes": ["15m", "1h"],
    "assets": ["BTC", "ETH", "top:25"],
    "min_confidence": 60
  }'

Filters are optional — omit them to receive every call. assets accepts coin symbols or a top:N token (N 1–100); min_confidence is 0–100. For scan_digest add timeframe, exchange, top_n (1–100) and cadence (1h/4h/1d). The response includes a per-subscription secret — store it to verify signatures.

Manage

GET /api/webhooksList your active subscriptions.
DELETE /api/webhooks/:idRemove a subscription.
POST /api/webhooks/:id/testSend a sample delivery to your endpoint to verify wiring.

Delivery & signature

Each delivery is a POST to your URL with these headers:

X-AlgoVault-EventThe event type.
X-AlgoVault-DeliveryUnique delivery id — use it as an idempotency key.
X-AlgoVault-TimestampUnix seconds; reject deliveries outside your tolerance to stop replays.
X-AlgoVault-SignatureHMAC-SHA256(secret, "{timestamp}.{rawBody}") in hex — recompute and constant-time compare before trusting a payload.
{
  "event": "trade_call",
  "delivery_id": "d_8f3c...",
  "data": {
    "type": "trade_call",
    "coin": "BTC",
    "timeframe": "15m",
    "exchange": "BINANCE",
    "call": "BUY",
    "confidence": 72,
    "regime": "TRENDING_UP",
    "verify_url": "https://algovault.com/verify?id=..."
  }
}

Endpoint URLs must be HTTPS (SSRF-guarded; internal addresses are rejected). Full reference — payload schemas, retry/backoff, and self-healing — in docs/WEBHOOKS.md →

Full Webhooks guide →

◆ Telegram Bot

Trade calls delivered straight to Telegram — no client, no key. Start the bot, ask for a composite verdict in chat, or subscribe to push alerts for regime shifts and new calls. Free tier works out of the box.

Start @algovaultofficialbot on Telegram →

◆ Ecosystem

Drop AlgoVault into what you already run — MCP clients, agent frameworks, exchange execution kits, and hosted trading platforms — plus ready-made skills and 20 worked examples.

◆ Integration

Connect AlgoVault to your existing tools. Pick your surface below; each links to a step-by-step guide at /integrations.

◆ Connect Your MCP Client

Your av_live_… API key works across every MCP-compatible client. Pick yours below. Free tier, every coin and timeframe: 20 calls/month with no sign-in, then 200 calls/month (up to 100 per UTC day) with a free sign-in.

Surface Setup What you get
Claude Desktop Customize → Connectors → + → Add custom connector, or edit claude_desktop_config.json Native Streamable-HTTP MCP. AlgoVault tools (get_trade_call, scan_funding_arb, get_market_regime) callable in any chat.
Cursor Edit ~/.cursor/mcp.json (global) or .cursor/mcp.json (project) IDE-native MCP. Cursor's coding agent pulls live signals while editing strategy code.
Cline (VSCode) Cline panel → MCP Servers → Remote Servers tab, or edit cline_mcp_settings.json VSCode-side coding agent with AlgoVault tools available.
Claude Code claude mcp add --transport http … --header … — or commit .mcp.json to repo root Per-project MCP. Useful for backtest / strategy-dev repos. Team-shared via .mcp.json.
Plain HTTP / curl curl -X POST https://api.algovault.com/mcp … Raw JSON-RPC. For developers integrating into bots, scripts, or non-MCP services.
Codex Add [mcp_servers.algovault] to ~/.codex/config.toml Coding agent for terminal and IDE. AlgoVault tools available in every Codex session.
Kimi Code Add a url entry to ~/.kimi-code/mcp.json, or run /mcp-config Moonshot’s coding agent. Pulls AlgoVault verdicts while you edit strategy code.
ZCode (GLM) Settings → MCP Servers → New MCP Server → HTTP, then paste the URL Z.ai’s GLM harness. AlgoVault verdicts alongside the GLM model family.
DeepSeek Harness Insert one entry in cordis.patch.yml — the dsh CLI already ships the MCP bridge DeepSeek’s own agent runtime. AlgoVault tools arrive as mcp__algovault__*; your first 20 calls each month need no key.
Z.ai API Pass type: "mcp" in the tools array on chat/completions No app to install. Z.ai reaches AlgoVault server-side while it answers.
DeepSeek Point Claude Code at https://api.deepseek.com/anthropic, then add AlgoVault as usual Bring your own model. DeepSeek does the thinking; your existing harness carries the AlgoVault tools.
Claude Desktop — setup walkthrough

Easiest path (UI): Open Claude Desktop → Customize → Connectors → + → Add custom connector. Paste https://api.algovault.com/mcp?src=docs, then click Add. Enable it per chat from + → Connectors. If Claude asks how to sign in, choose Sign in when needed. When Claude asks, click Connect and sign in free. A paid plan applies when you sign in with your subscription email. Added it before? Remove it and add it again this way.

JSON path: Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

{
  "mcpServers": {
    "algovault": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://api.algovault.com/mcp?src=docs",
               "--header", "Authorization:${AUTH_HEADER}",
               "--header", "X-AlgoVault-Track-Token:chan-docs"],
      "env": { "AUTH_HEADER": "Bearer av_live_…" }
    }
  }
}

Set your key in the env block. Free tier: put a free key in the Authorization header for 200 calls a month. Or drop it and the env block to try 20 calls. Keep the X-AlgoVault-Track-Token header either way.

Verify: ask Claude "Get me a trade call for BTC on the 1h timeframe". Tool indicator appears bottom-right of the input box.

Cursor — setup walkthrough

Edit ~/.cursor/mcp.json (global, all projects) or .cursor/mcp.json in the project root (per-project, commit-friendly):

{
  "mcpServers": {
    "algovault": {
      "url": "https://api.algovault.com/mcp?src=docs",
      "headers": {
        "Authorization": "Bearer ${env:AV_API_KEY}",
        "X-AlgoVault-Track-Token": "chan-docs"
      }
    }
  }
}

Set AV_API_KEY in your shell. Restart Cursor. The Cursor agent now has AlgoVault tools available while editing strategy code.

Cline (VSCode) — setup walkthrough

Open the Cline panel in VSCode → MCP Servers → Remote Servers tab → Add server. Or edit cline_mcp_settings.json (path varies by OS; access via Configure MCP Servers):

{
  "mcpServers": {
    "algovault": {
      "type": "streamableHttp",
      "url": "https://api.algovault.com/mcp?src=docs",
      "headers": {
        "Authorization": "Bearer ${env:AV_API_KEY}",
        "X-AlgoVault-Track-Token": "chan-docs"
      },
      "disabled": false,
      "autoApprove": []
    }
  }
}

type: "streamableHttp" is the modern transport (recommended). The legacy "sse" type still works but is being deprecated upstream.

Claude Code — setup walkthrough

One-liner (recommended):

claude mcp add --transport http --scope project algovault "https://api.algovault.com/mcp?src=docs" \
  --header "Authorization: Bearer $AV_API_KEY" \
  --header "X-AlgoVault-Track-Token:chan-docs"

This writes a .mcp.json in your repo root which you can commit so every teammate gets the same MCP config:

{
  "mcpServers": {
    "algovault": {
      "type": "http",
      "url": "https://api.algovault.com/mcp?src=docs",
      "headers": {
        "Authorization": "Bearer ${AV_API_KEY}",
        "X-AlgoVault-Track-Token": "chan-docs"
      }
    }
  }
}

Verify: in Claude Code, run /mcp to list connected servers; AlgoVault should appear with its tools.

Plain HTTP / curl — advanced testing

For non-MCP integrations (bots, scripts, services), call the JSON-RPC endpoint directly. The transport is stateless, so a single POST of tools/call works: no initialize, no session id. See Testing with raw HTTP / curl for the one-shot call, the two Accept types you must send, and the optional session handshake.

One-shot smoke (free tier, no auth):

curl -sS https://api.algovault.com/health

Returns {"status":"ok","server":"crypto-quant-signal-mcp","version":"<current release>","stripe":true}.

Codex — setup walkthrough

Codex reads MCP servers from ~/.codex/config.toml. Add a table for AlgoVault:

[mcp_servers.algovault]
url = "https://api.algovault.com/mcp?src=docs"
bearer_token_env_var = "AV_API_KEY"

[mcp_servers.algovault.http_headers]
"X-AlgoVault-Track-Token" = "chan-docs"

Set AV_API_KEY in your shell for paid tier; drop bearer_token_env_var for free tier. codex mcp add algovault --url "https://api.algovault.com/mcp?src=docs" adds the free tier from the CLI; the paid tier's bearer_token_env_var is set in config.toml, as above.

IDE extension: open settings, choose MCP servers, add a server, pick Streamable HTTP and paste the same URL.

Verify: ask Codex "Get me a trade call for BTC on the 1h timeframe".

Kimi Code — setup walkthrough

Edit ~/.kimi-code/mcp.json (user level) or .kimi-code/mcp.json (project level). An entry carrying a url and no transport is an HTTP server:

{
  "mcpServers": {
    "algovault": {
      "url": "https://api.algovault.com/mcp?src=docs",
      "bearerTokenEnvVar": "AV_API_KEY",
      "headers": {
        "X-AlgoVault-Track-Token": "chan-docs"
      }
    }
  }
}

Prefer the guided path? Run /mcp-config in the TUI to add, edit or delete servers without touching the JSON.

Verify: ask Kimi "Get me a trade call for BTC on the 1h timeframe".

ZCode (GLM) — setup walkthrough

Open Settings → MCP Servers, then click New MCP Server at the top right. Choose HTTP as the type and enter:

https://api.algovault.com/mcp?src=docs

For paid tier, expand Headers (optional) and add Authorization: Bearer av_live_…. Free tier needs no header.

ZCode also accepts a pasted config block under Full configuration, in either the {"mcpServers": {…}} or the bare {"server-name": {…}} shape.

Verify: ask ZCode "Get me a trade call for BTC on the 1h timeframe".

DeepSeek Harness — setup walkthrough

One step: patch the profile. There is no plugin to install — the dsh CLI ships @deepseek-ai/dsh-mcp-client in its own dependency closure, and the bridge’s README says one entry per server is the entire setup.

The bundles are a red herring: base, headless and web-app declare zero MCP dependencies, but a bare plugin name resolves through the profile’s Node parent walk to $DSH_HOME/profiles/node_modules, which the CLI closure feeds. Nothing is enabled by default because DSH treats each server as trusted code outside the sandbox — the entry below is the opt-in.

Edit ~/.dsh/profiles/<name>/cordis.patch.yml, or ~/.dsh/cordis.patch.yml for every profile:

- insert:
    - id: mcp-algovault
      name: '@deepseek-ai/dsh-mcp-client'
      config:
        serverName: algovault
        transport: streamable-http
        url: https://api.algovault.com/mcp?src=deepseek_harness
        headers:
          X-AlgoVault-Track-Token: int-deepseek-harness

The - insert: wrapper is required. Without it the entry is an id-targeted override, and it is skipped with a warning. The bridge’s own README shows the unwrapped form because it documents the plugin config shape, not a cordis.patch.yml edit.

Paid tier adds one more line to that headers block: Authorization: Bearer av_live_…. Without a key you get 20 calls a month; a free key gives 200.

The tools arrive server-qualified — mcp__algovault__get_trade_call, mcp__algovault__scan_trade_calls, and the rest.

DSH bridges tools only. MCP resources and prompts are deferred upstream, so read the track record at algovault.com/track-record instead.

Verify: ask dsh "Get me a trade call for BTC on the 1h timeframe".

Verified against dsh 0.1.1-rc.2 on 2026-08-29. DSH ships prereleases only; expect compatibility-breaking changes.

Z.ai API — server-side, no client needed

Z.ai dials the MCP server itself, so there is nothing to install locally. Declare AlgoVault as a tool on the request:

{
  "model": "glm-4.6",
  "messages": [{"role": "user", "content": "Trade call for BTC on the 1h timeframe"}],
  "tools": [{
    "type": "mcp",
    "mcp": {
      "server_label": "algovault",
      "server_url": "https://api.algovault.com/mcp?src=docs",
      "headers": {"X-AlgoVault-Track-Token": "chan-docs"}
    }
  }]
}

server_label is required. transport_type is optional and already defaults to streamable-http, so it is omitted above. Add allowed_tools to narrow the tool set.

DeepSeek — bring your own model

DeepSeek’s own harness connects to AlgoVault directly — see the DeepSeek Harness tutorial. This row is the other path: keep the harness you already run and swap the model behind it. The DeepSeek API itself still exposes no MCP parameter, so the harness carries the tools.

export ANTHROPIC_BASE_URL="https://api.deepseek.com/anthropic"
export ANTHROPIC_AUTH_TOKEN="$DEEPSEEK_API_KEY"

claude mcp add --transport http --scope project algovault \
  "https://api.algovault.com/mcp?src=docs" \
  --header "X-AlgoVault-Track-Token:chan-docs"

Claude Code then runs against DeepSeek while AlgoVault stays connected exactly as it would otherwise. Verdicts are unchanged: they are computed on our side and handed back as JSON.

Harnesses that speak the OpenAI protocol instead use the plain https://api.deepseek.com base, not the /anthropic one shown here.

Config formats verified per client against: Claude custom connectors · Cursor MCP docs · Cline MCP docs · Claude Code MCP docs · Codex MCP docs · Kimi Code MCP docs · ZCode MCP docs · DeepSeek Harness · Z.ai MCP-call docs · DeepSeek Anthropic API. Config formats can drift — if a snippet here doesn't work, please refer to the upstream doc and report it at GitHub issues.

◆ Connect Your AI Agent

Building on a major agent framework? AlgoVault MCP plugs into 4 of them via the framework's canonical MCP-adapter library. Each pairing ships with a runnable Python demo.

Framework Setup What you get
LangChain pip install langchain-mcp-adapters · MultiServerMCPClient with streamable HTTP AlgoVault tools as LangChain BaseTool objects in any create_react_agent or LangGraph workflow.
LlamaIndex pip install llama-index-tools-mcp · BasicMCPClient + McpToolSpec AlgoVault tools as LlamaIndex FunctionTool objects in any FunctionAgent or ReActAgent.
Microsoft Agent Framework pip install agent-framework · MCPStreamableHTTPTool(url=…) AlgoVault tools called directly or handed to any ChatAgent in the MAF ecosystem.
CrewAI pip install crewai 'crewai-tools[mcp]' · MCPServerAdapter AlgoVault tools as CrewAI BaseTool objects in any Crew or single Agent workflow.
LangChain — setup walkthrough

Install the canonical bridge maintained by LangChain:

pip install langchain-mcp-adapters

Connect once, then call tools from any LangChain agent:

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({"algovault": {
    "url": "https://api.algovault.com/mcp",
    "transport": "streamable_http"}})
tools = await client.get_tools()
verdict = await tools[0].ainvoke({"coin": "BTC", "timeframe": "4h"})

Full tutorial + runnable demo →

LlamaIndex — setup walkthrough

Install the canonical bridge maintained by LlamaIndex:

pip install llama-index-tools-mcp

Call directly via BasicMCPClient, or adapt its tools to FunctionTool via McpToolSpec:

from llama_index.tools.mcp import BasicMCPClient

client = BasicMCPClient("https://api.algovault.com/mcp")
result = await client.call_tool(
    "get_trade_call", {"coin": "BTC", "timeframe": "4h"})

Full tutorial + runnable demo →

Microsoft Agent Framework — setup walkthrough

Install the framework (MCP support is built in):

pip install agent-framework

Open an MCP session, call tools directly, or hand the tool to a ChatAgent:

from agent_framework import MCPStreamableHTTPTool

tool = MCPStreamableHTTPTool(
    name="algovault",
    url="https://api.algovault.com/mcp",
    load_prompts=False)
async with tool:
    contents = await tool.call_tool(
        "get_trade_call", coin="BTC", timeframe="4h")

Note: load_prompts=False matters because AlgoVault MCP is tools-only.

Full tutorial + runnable demo →

CrewAI — setup walkthrough

Install CrewAI with the MCP extras (the canonical adapter):

pip install crewai 'crewai-tools[mcp]'

Open the adapter as a context manager; all 4 AlgoVault tools land as CrewAI BaseTool objects:

from crewai_tools import MCPServerAdapter

server_params = {"url": "https://api.algovault.com/mcp",
                 "transport": "streamable-http"}
with MCPServerAdapter(server_params) as tools:
    raw = tools[0].run(coin="BTC", timeframe="4h", exchange="BINANCE")

Full tutorial + runnable demo →

Tutorials verified 2026-05-18 against: langchain-mcp-adapters · llama-index-tools-mcp · agent-framework · crewAI-tools MCP. Snippets can drift — if one doesn't work, please refer to the upstream doc and report it at GitHub issues.

Try a framework integration: algovault.com/integrations/langchain

◆ Connect Your Exchange Kit

Already running an exchange's Agent Trade Kit? Pair AlgoVault's composite verdict with the kit's execution layer. AlgoVault returns analytics; the exchange kit places orders; your agent decides.

Exchange Setup What you get
Binance npx skills add https://github.com/binance/binance-skills-hub · Spot Testnet execution Composite verdict + official Binance Skills Hub, on the direct API path. You issue keys and sign requests; the demo runs against Spot Testnet.
Binance Agent OS claude mcp add binance-mcp-server --transport http https://agent.binance.com/mcp/agentic · OAuth, no API keys Your agent asks AlgoVault what to do and Binance to do it. No API keys on the machine, no HMAC signing, and no withdrawal scope exists.
OKX npx -y @okx_ai/okx-trade-mcp · 83 execution tools (spot, swap, futures, options, grid) Composite verdict + OKX's full execution surface. Agent reads signals, places orders across spot or derivatives via one MCP server.
Bybit npx -y bybit-official-trading-server · Linear Perpetual + conditional orders Composite verdict + Bybit's official MCP server. Agent fetches AlgoVault signals, places perpetual + conditional orders via Bybit testnet.
Bitget npx -y bitget-mcp-server · GetClaw agent-native execution Composite verdict + Bitget's MCP server inside a dedicated AI account. Agent-native execution; isolate from your main funds.
Gemini node packages/mcp-server/dist/index.js · Self-hosted Node MCP (Apache-2.0), sandbox-gated Composite verdict + Gemini's Agentic Trading MCP. Agent reads signals, places sandbox orders via gemini_new_order; subaccounts isolate each agent.
Kraken kraken mcp -s all · Single Rust binary (MIT), 151 commands, keyless paper engine Composite verdict + the Kraken CLI's stdio MCP. Agent reads signals, simulates orders on the keyless paper engine before going live.
Alpaca uvx alpaca-mcp-server · Crypto toolsets, paper venue default-on Composite verdict + Alpaca's crypto MCP Server. Agent reads signals, places notional BTC/USD paper orders via place_crypto_order.
Hyperliquid pip install hyperliquid-python-sdk · official Python SDK (no official npm SDK) Composite verdict + Hyperliquid's testnet perps API. Keyless demo builds the exact EIP-712 order action and prints it — nothing is signed or sent.
Aster pip install git+https://github.com/asterdex/aster-connector-python.git · git-install only Composite verdict + Aster's futures testnet on BNB Chain Testnet. V3 EIP-712 auth; V1 API-key creation closed 2026-03-25.
BingX No SDK to install · plain fetch + node:crypto against the VST demo host Composite verdict + BingX's VST demo-trading environment. Dry-run order validation plus an API-callable demo-funds faucet.
KuCoin npm install kucoin-universal-sdk · the only non-archived official SDK Composite verdict + KuCoin Futures order VALIDATION. KuCoin retired its sandbox in 2023, so this validates payloads rather than simulating fills.
Gate.io pip install gate-api · official SDK 7.2.100 (PyPI + npm) Composite verdict + Gate.io's futures testnet. Keyless demo converts coins to CONTRACTS from the live quanto_multiplier and prints the order — nothing is signed or sent.
Binance — setup walkthrough

On Binance Agent OS? That path needs no API keys — OAuth, an isolated Agentic sub-account, and no withdrawal scope. Start there instead →

For the direct API path, install AlgoVault’s plugin and the Binance Skills Hub:

claude plugin install AlgoVaultLabs/algovault-skills
npx skills add https://github.com/binance/binance-skills-hub

Your agent now has AlgoVault's analytics tools and Binance's execution tools side-by-side. Set BINANCE_TESTNET=true for zero real-money risk during development.

Keep this path for custom order types, non-MCP runtimes, or a deterministic backtest harness.

Full tutorial + runnable demo →

Binance Agent OS — setup walkthrough

Add both servers to one MCP client — AlgoVault decides, Binance executes:

claude mcp add binance-mcp-server --transport http https://agent.binance.com/mcp/agentic
claude mcp add --transport http --scope project algovault \
  "https://api.algovault.com/mcp?src=binance_agent_os"

Authenticate Binance through /mcp and grant the least scope you need: market data, account, trade or transfer. Trading runs inside an isolated Agentic sub-account you fund yourself.

Name the tool you want. An exchange-shaped prompt routes to Binance and never reaches the verdict, so ask for get_trade_call explicitly.

Full tutorial →

OKX — setup walkthrough

Install OKX's official trade MCP server in your client config:

{
  "mcpServers": {
    "algovault": {"url": "https://api.algovault.com/mcp"},
    "okx-trade": {"command": "npx", "args": ["-y", "@okx_ai/okx-trade-mcp"]}
  }
}

Set OKX_DEMO=true (or pass --demo) for the demo trading environment. Real keys go in env vars; never commit them.

Full tutorial + runnable demo →

Bybit — setup walkthrough

Wire Bybit's official server next to AlgoVault:

{
  "mcpServers": {
    "algovault": {"url": "https://api.algovault.com/mcp"},
    "bybit-trade": {"command": "npx", "args": ["-y", "bybit-official-trading-server"]}
  }
}

Set BYBIT_TESTNET=true + API keys in env. Conditional orders (stop-loss, take-profit, OCO) are first-class — your agent can attach risk policy at order time.

Full tutorial + runnable demo →

Bitget — setup walkthrough

Bitget exposes a dedicated AI sub-account ("GetClaw") for agent execution:

{
  "mcpServers": {
    "algovault": {"url": "https://api.algovault.com/mcp"},
    "bitget-trade": {"command": "npx", "args": ["-y", "bitget-mcp-server"]}
  }
}

Set BITGET_DEMO=true in the wrapper (the MCP server has no built-in demo flag — the env var gates order placement at the client level). Fund the GetClaw account separately from your main account.

Full tutorial + runnable demo →

Gemini — setup walkthrough

Build Gemini's self-hosted MCP from source, alongside AlgoVault:

git clone https://github.com/gemini/developer-platform
cd developer-platform/packages/mcp-server
npm install
npm run build

Set GEMINI_API_BASE_URL=https://api.sandbox.gemini.com/v1 for zero real-money risk during development. Public market-data tools need no keys.

Full tutorial + runnable demo →

Kraken — setup walkthrough

Install the Kraken CLI (one binary), then serve it over MCP next to AlgoVault:

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/krakenfx/kraken-cli/releases/latest/download/kraken-cli-installer.sh | sh
kraken mcp -s all

The kraken paper engine needs no keys and no account. Run --validate before any live order; arm cancel-after as a dead-man's switch.

Full tutorial + runnable demo →

Alpaca — setup walkthrough

Run Alpaca's crypto MCP Server zero-install, scoped to crypto toolsets, alongside AlgoVault:

{
  "mcpServers": {
    "algovault": {"url": "https://api.algovault.com/mcp"},
    "alpaca": {"command": "uvx", "args": ["alpaca-mcp-server"]}
  }
}

Set ALPACA_TOOLSETS=trading,crypto-data to scope crypto-only; ALPACA_PAPER_TRADE defaults to true for zero real-money risk.

Full tutorial + runnable demo →

Hyperliquid — setup walkthrough

Hyperliquid signs orders with an EIP-712 wallet signature; the official Python SDK implements both signing schemes:

pip install hyperliquid-python-sdk

from hyperliquid.exchange import Exchange
from hyperliquid.utils import constants
exchange = Exchange(wallet, constants.TESTNET_API_URL, account_address=MASTER)

Note the testnet faucet requires a prior mainnet deposit from the same address, and US/Ontario are Restricted Persons under Hyperliquid's Terms §1.6.

Full tutorial + runnable demo →

Aster — setup walkthrough

Aster publishes nothing to npm or PyPI — the official connector installs from git:

pip install git+https://github.com/asterdex/aster-connector-python.git

# testnet base: https://fapi.asterdex-testnet.com
# EIP-712 chainId: 714 (testnet) / 1666 (mainnet)

The V3 nonce is in microseconds and must sit within ±10s of server time.

Full tutorial + runnable demo →

BingX — setup walkthrough

BingX publishes no official client SDK, so the demo is dependency-free:

# demo host (paper trading, no real funds)
https://open-api-vst.bingx.com

POST /openApi/swap/v2/trade/order/test   # validates, places nothing
POST /openApi/swap/v2/trade/getVst       # top up demo balance

Symbols on the VST host are normal (BTC-USDT), not -VST-suffixed.

Full tutorial + runnable demo →

KuCoin — setup walkthrough

KuCoin has no sandbox — it was delisted on 2023-07-10 and every sandbox host is NXDOMAIN. The demo uses the order-validation endpoint instead:

npm install kucoin-universal-sdk

POST https://api-futures.kucoin.com/api/v1/orders/test
# validates signature + params. Does NOT fill, no simulated balances.

Every legacy per-language KuCoin SDK is archived — and several archived repos carry more stars than the live one.

Full tutorial + runnable demo →

Gate.io — setup walkthrough

Gate moved its futures testnet — and gate-api 7.2.100 still ships the old host as its default, so set the base URL explicitly:

import gate_api
cfg = gate_api.Configuration(
    host="https://api-testnet.gateapi.io/api/v4",   # NOT the SDK default
)

size is a CONTRACT count, not a coin quantity — 0.001 BTC is 10 contracts at quanto_multiplier 0.0001. Direction is the sign of size.

Full tutorial + runnable demo →

Tutorials verified 2026-08-25 against: Binance Skills Hub · @okx_ai/okx-trade-mcp · bybit-official-trading-server · bitget-mcp-server. Snippets can drift — if one doesn't work, please refer to the upstream doc and report it at GitHub issues.

Try an exchange integration: algovault.com/integrations/binance

◆ Connect Your Trading Platform

Feed AlgoVault calls into hosted crypto-bot and copy-trade platforms — e.g. Cryptohopper's signaler marketplace, 3Commas, and other signal-bot platforms — via the Webhooks channel or the platform's signal import. Your bot trades on AlgoVault's directional calls without you writing glue code.

See trading-platform integrations →

◆ Skills & Usage Examples

20 real-world workflows for AI agents and human developers. From simple one-liners to multi-agent orchestration.

01

Quick BTC Check

Beginner

The simplest possible call. Ask your agent for a single trade call.

"Get me a trade call for BTC on the 1h timeframe"
Tools: get_trade_call
claude plugin install AlgoVaultLabs/algovault-skills View Skill →
02

Portfolio Scanner

Intermediate

Loop through the top 10 assets, get trade calls for each, and filter by high confidence.

"Get trade calls for BTC, ETH, SOL, DOGE, XRP, ADA, AVAX, LINK, DOT, and MATIC on the 15m timeframe. Only show me the ones with confidence above 70%."
Tools: get_trade_call × 10  |  Pattern: batch calling, confidence filtering
claude plugin install AlgoVaultLabs/algovault-skills View Skill →
03

Regime-Aware Trading

Intermediate

Check the market regime first. Only request trade calls when the regime is favorable for directional trading.

"First check the market regime for ETH on the 4h timeframe. If it's TRENDING_UP or TRENDING_DOWN, get me a trade call on the 15m timeframe. If it's RANGING or VOLATILE, skip it."
Tools: get_market_regime → get_trade_call  |  Pattern: conditional chaining
claude plugin install AlgoVaultLabs/algovault-skills View Skill →
04

Funding Arb Monitor

Intermediate

Scan for cross-venue funding rate arbitrage opportunities. Alert when the annualized spread exceeds your threshold.

"Scan for funding arbitrage opportunities with a minimum spread of 10 basis points. Show me the top 5 ranked by annualized return."
Tools: scan_funding_arb  |  Pattern: threshold-based alerting
claude plugin install AlgoVaultLabs/algovault-skills View Skill →
05

Full 3-Tool Pipeline

Advanced

The complete AlgoVault workflow: regime detection, trade call, then arb check for the same asset. Maximum context for one decision.

"For SOL: first get the market regime on 4h, then get a trade call on 15m, then check if there are any funding arb opportunities. Give me a combined recommendation based on all three."
Tools: get_market_regime → get_trade_call → scan_funding_arb  |  Pattern: full pipeline composition
claude plugin install AlgoVaultLabs/algovault-skills View Skill →
06

Multi-Timeframe Confirmation

Advanced

Get trade calls on multiple timeframes for the same asset. Only act when all timeframes agree on direction.

"Get trade calls for ETH on the 5m, 15m, and 1h timeframes. Only tell me to trade if all three agree on the same direction (all BUY or all SELL)."
Tools: get_trade_call × 3  |  Pattern: multi-timeframe consensus
claude plugin install AlgoVaultLabs/algovault-skills View Skill →
07

TradFi Rotation

Advanced

Compare regime and direction across TradFi perpetuals. Rotate into the asset with the strongest trend.

"Get the market regime and trade call for TSLA, GOLD, and SP500 on the 4h timeframe. Which one has the strongest trend with the highest confidence trade call? Recommend the best one to trade."
Tools: get_market_regime × 3 + get_trade_call × 3  |  Pattern: cross-asset comparison
claude plugin install AlgoVaultLabs/algovault-skills View Skill →
08

Risk-Gated Entry

Advanced

Only enter trades when both confidence and regime alignment pass your risk filters. Skip everything else.

"Check BTC regime on 4h, then get a trade call on 15m. Only recommend entry if confidence is 75% or higher AND the regime is TRENDING (not VOLATILE or RANGING). Otherwise say 'no trade'."
Tools: get_market_regime → get_trade_call  |  Pattern: dual risk filter
claude plugin install AlgoVaultLabs/algovault-skills View Skill →
09

Funding Sentiment Dashboard

Advanced

Get market regime for major assets and use the cross-venue funding sentiment to gauge overall market bias.

"Get the market regime for BTC, ETH, and SOL on the 4h timeframe. Summarize the cross-venue funding sentiment for each. Is the overall market leaning bullish or bearish based on where funding is concentrated?"
Tools: get_market_regime × 3  |  Pattern: macro sentiment aggregation
claude plugin install AlgoVaultLabs/algovault-skills View Skill →
10

Contrarian Meme Scanner

Advanced

Scan lower-tier assets for contrarian setups: high-confidence SELL calls during an uptrend may signal crowded longs about to unwind.

"Get the market regime for DOGE, SHIB, PEPE, WIF, and BONK on 4h. For any that are TRENDING_UP, get a trade call on 15m. Flag any that return SELL with confidence above 70% — those might be crowded longs ready to unwind."
Tools: get_market_regime × 5 + get_trade_call (conditional)  |  Pattern: contrarian divergence detection
claude plugin install AlgoVaultLabs/algovault-skills View Skill →
11

Divergence Detector

Advanced

Compare trade call direction vs market regime. When they disagree, flag it as a high-risk divergence.

"For BTC and ETH: get the market regime on 4h and a trade call on 15m. If the trade call says BUY but the regime is TRENDING_DOWN (or vice versa), flag it as a divergence with a risk warning."
Tools: get_market_regime + get_trade_call per asset  |  Pattern: signal-regime divergence
claude plugin install AlgoVaultLabs/algovault-skills View Skill →
12

Hourly Digest Bot

Advanced

Build an automated digest: scan all tier-1 and tier-2 assets every hour, summarize trade calls and market regime into a brief report.

"Scan BTC, ETH, SOL, AVAX, LINK, DOGE, XRP, ADA for trade calls on 1h. Also get the market regime for BTC and ETH on 4h. Summarize as a brief market digest: how many BUYs vs SELLs, overall regime, and top 3 highest-confidence calls."
Tools: get_trade_call × 8 + get_market_regime × 2  |  Pattern: periodic digest, notification-ready
claude plugin install AlgoVaultLabs/algovault-skills View Skill →
13

Hedging Advisor

Advanced

You hold a long ETH position. Check regime and trade call — if both turn bearish, look for a funding arb to hedge via the cheaper venue.

"I'm currently long ETH. Get the market regime on 4h and a trade call on 1h. If both are bearish, scan funding arb for ETH and tell me which venue has the cheapest short to hedge my position."
Tools: get_market_regime → get_trade_call → scan_funding_arb  |  Pattern: defensive hedging
claude plugin install AlgoVaultLabs/algovault-skills View Skill →
14

Volatility Breakout Watch

Advanced

Use regime detection as a screener: find assets in VOLATILE regime with high confidence — these are breakout candidates. Then get trade call for direction.

"Check the market regime for BTC, ETH, SOL, AVAX, LINK, and DOGE on 4h. For any in VOLATILE regime with confidence above 70%, get a trade call on 5m. Those are potential breakout trades."
Tools: get_market_regime × 6 + get_trade_call (conditional)  |  Pattern: regime as screener
claude plugin install AlgoVaultLabs/algovault-skills View Skill →
15

Cross-Asset Correlation

Advanced

Get trade calls for BTC, ETH, SOL simultaneously. If all say SELL, it's a macro risk-off signal, not just one asset.

"Get trade calls for BTC, ETH, and SOL on the 1h timeframe. If all three say the same direction, flag it as a market-wide move. If they disagree, note which ones are diverging."
Tools: get_trade_call × 3  |  Pattern: correlation / macro signal
claude plugin install AlgoVaultLabs/algovault-skills View Skill →
16

Funding Cash-and-Carry

Advanced

Find a funding arb spread, then get a trade call on the long side. If the trade call agrees with the long direction, you have double conviction.

"Scan funding arb with minimum 10 bps spread. For the top opportunity, get a trade call for the asset on 15m. If the trade call agrees with the long side of the arb, flag it as a high-conviction cash-and-carry setup."
Tools: scan_funding_arb → get_trade_call  |  Pattern: arb + directional alignment
claude plugin install AlgoVaultLabs/algovault-skills View Skill →
17

Weekend vs Weekday Patterns

Research

Schedule trade calls every 4 hours, log results over time. Compare weekend vs weekday regime patterns to find exploitable edges.

"Every 4 hours, get a trade call for BTC on 4h and log the regime, direction, and confidence. After a week, compare weekend vs weekday patterns. Are weekends more RANGING? Do SELL calls cluster on Sundays?"
Tools: get_trade_call + get_market_regime (scheduled)  |  Pattern: data collection, research
claude plugin install AlgoVaultLabs/algovault-skills View Skill →
18

Agent Portfolio Rebalance

Advanced

Daily regime check for each asset in your portfolio. Shift allocation toward TRENDING assets, reduce exposure to VOLATILE/RANGING positions.

"My portfolio holds BTC, ETH, SOL, AVAX, and LINK. Get the market regime for each on the 1d timeframe. Recommend which ones to overweight (TRENDING) and which to underweight (VOLATILE or RANGING)."
Tools: get_market_regime × 5  |  Pattern: regime-based portfolio allocation
claude plugin install AlgoVaultLabs/algovault-skills View Skill →
19

Smart DCA Bot

Advanced

Dollar-cost averaging, enhanced: skip buys when the trade call says SELL with high confidence. Only DCA when direction is neutral or favorable.

"I DCA into BTC every day. Before today's buy, get a trade call on the 4h timeframe. If it says SELL with confidence above 70%, skip today's buy and wait. Otherwise proceed normally."
Tools: get_trade_call  |  Pattern: strategy enhancement, DCA optimization
claude plugin install AlgoVaultLabs/algovault-skills View Skill →
20

Multi-Agent War Room

Expert

Three specialized agents, one coordinator. Agent A handles regime detection, Agent B runs trade calls, Agent C monitors funding arbs. The coordinator synthesizes all three into a single decision.

"Set up three agents: Agent A gets market regime for BTC, ETH, SOL on 4h. Agent B gets trade calls for the same assets on 15m. Agent C scans funding arb for spreads above 8 bps. Combine all results into a single dashboard showing: regime, direction, confidence, and best arb for each asset."
Tools: All core tools in parallel  |  Pattern: multi-agent orchestration
claude plugin install AlgoVaultLabs/algovault-skills View Skill →

◆ Track Record

◆ Live Dashboard

Every recorded BUY/SELL call is scored by PFE (Peak Favorable Excursion) win rate and broken down by asset, timeframe, and regime — updated live from the same on-chain-anchored record. No cherry-picking: the full call set is public.

Open the live track record →

◆ Verify

Every call is hashed and anchored on Base L2 via daily Merkle batches. This makes the track record tamper-proof.

How It Works

1

Every BUY/SELL call is hashed using keccak256(coin, signal, confidence, timeframe, timestamp, price) at the moment it's generated

2

Hashes accumulate throughout the day

3

At 00:05 UTC, all new hashes are assembled into a Merkle tree

4

The Merkle root is published to the MerkleRootRegistry smart contract on Base L2

5

Anyone can verify that a specific call existed in a batch by checking its Merkle proof against the on-chain root

Verification Endpoints

GET /api/verify-signal?signalId=<ID>

Returns: call details, hash, Merkle proof, batch info, Basescan tx link, and a boolean verified field.

GET /api/merkle-batches

Returns: list of all published batches with root hashes, call counts, tx hashes, and Basescan links.

Visual Verification

Visit algovault.com/verify to look up any call and see its on-chain proof in a human-readable format.

Contract Details

Address0x6485396ac981fe0a58540dfbf3e730f6f7bcbf81
ChainBase (chain ID 8453)
ExplorerView on Basescan →

What This Proves

  • ✓ Calls were recorded BEFORE outcomes were known
  • ✓ No call can be retroactively edited or deleted
  • ✓ The complete set of calls in each batch is locked — cherry-picking is detectable via sequential call IDs

◆ Pricing

Two payment rails: Stripe subscriptions for human developers, x402 micropayments (USDC on Base) for autonomous agents.

Subscription Tiers

Free Starter Pro Enterprise
Price$0$9.99/mo
or $39.90/6mo
$49/mo
or $129/6mo
Contact us
Monthly calls20010,000100,000Custom
Daily calls1001,00010,000Custom
AssetsAll crypto + TradFiAll crypto + TradFiAll crypto + TradFiAll crypto + TradFi
TimeframesAll 11All 11All 11All 11
Funding arb resultsTop 5UnlimitedUnlimitedUnlimited

Pro 6-month is currently $129 — limited-time pricing; subscribe now and renewals keep your price.

Quota is counted per call, regardless of verdict. The two meters are independent — a call is refused when either the monthly or the daily allowance is exhausted, and the daily one resets at 00:00 UTC.

What happens after you subscribe

  1. Click "Subscribe to [Plan]" — on /signup. We redirect you to Stripe Checkout (we never see your card).
  2. Pay on Stripe — Stripe sends you a receipt email. Behind the scenes, our webhook generates a unique API key for your subscription tier.
  3. Land on the Welcome page — Your API key is shown in green — copy it. We also email it to your billing address (check spam, sender: [email protected]).
  4. Make your first call — curl -H "Authorization: Bearer av_live_…" https://api.algovault.com/mcp … or paste the key into your Claude Desktop / Cursor / Claude Code MCP config. Need to find your key later? Visit /account.

◆ Account & Billing

Answers about API keys, plans, paying, referrals and the Telegram bot. To manage your key, plan or referrals, open your account page; for anything else, email [email protected].

◆ API keys & sign-in

Do I need an account to use AlgoVault?

No. Agents can pay per call with x402 without signing up, and the tools answer 20 calls a month with no key at all. For more, sign in with Google, GitHub or email for a free account: 200 a month, up to 100 a day. Start on your account page.

How do I get a free API key?

Open your account page and choose Get started free — no card, no email, and the key appears instantly. That instant key gets 20 calls a month; sign in with Google, GitHub or email instead for the full free plan of 200 a month, up to 100 a day.

How do I sign in?

On your account page, choose Continue with Google, Continue with GitHub or Continue with email. Already have a key? Paste it there instead to reach billing, referrals and usage.

Where do I find my API key?

Sign in on your account page with the account you used, and we show your key or email it to you. Paid keys (they start with av_live_) are also on the Welcome page after checkout and in your welcome email.

I lost my API key — how do I recover it?

Sign in again on your account page with the same Google, GitHub or email account and you get the same key back; subscribers can also use Recover lost key to have it sent to their billing email. An instant key from Get started free has no email attached, so it cannot be recovered, and it is deleted after 7 days without use — sign in with Google, GitHub or email to keep your key recoverable.

How do I add my key to Claude, Cursor or my agent?

Send it as a bearer token — Authorization: Bearer <your key> — on requests to https://api.algovault.com/mcp. Connect Your MCP Client has the exact setup for each client.

I subscribed but I'm still on Free limits — why?

Your client is most likely still sending your old free key, or no key. Your paid key starts with av_live_: it is on the Welcome page and in your welcome email, or sign in on your account page with your subscription email to see it. Put it in your client and restart the client.

My key leaked — can I rotate it?

There is no self-serve key rotation yet. Email [email protected] from the address on your account and we will help you replace it.

Can I use one key for several agents or teammates? More than one key?

One key works from any number of agents, and they all share its quota — you are responsible for all usage on your key. Each email gets one free key and each subscription has its own key, so a teammate who needs separate limits should get their own. See the Terms.

◆ Plans & pricing

What plans are there and what do they cost?

Free costs nothing and gives 200 calls a month, up to 100 a day. Starter is $9.99 a month or $39.90 for 6 months (10,000 calls a month, up to 1,000 a day); Pro is $49 a month or $129 for 6 months (100,000 calls a month, up to 10,000 a day); Enterprise is custom. Compare them on the signup page.

What's different between plans?

Plans differ by call quota: every plan gets every tool, asset and timeframe. Two exceptions: Free returns the top 5 funding-arbitrage results per scan, and Knowledge Chat has its own monthly limit — 10 on Free, 50 on Starter, 200 on Pro and 2,000 on Enterprise. See Pricing.

Is there a free trial of Pro?

No — the Free plan is the trial: every tool, 200 calls a month, no card. When you need more, subscribe on the signup page.

Monthly or 6-month? Is there an annual plan?

Starter and Pro are billed monthly or every 6 months; paying for 6 months saves 33% on Starter and 56% on Pro. There is no annual plan. Choose on the signup page.

Will Pro's 6-month price change when I renew?

Pro 6-month is currently $129 — limited-time pricing; subscribe now and renewals keep your price. Subscribe on the signup page.

Does a HOLD verdict use a call?

Quota is counted per call, regardless of verdict. See Pricing.

What's Enterprise?

Custom volume — contact us. It is for volume beyond Pro's 100,000 calls a month or for custom terms. Tell us what you need on the contact page.

Can I pay per call instead of subscribing?

Yes. Agents can pay per call with x402 in USDC on Base, from $0.01 a call, with no signup or key. See x402 pay-per-call.

◆ Usage & limits

How is usage counted?

Each answered call counts as one call, whatever the verdict. Screeners count one call per row they return (at least one per call), and a support-and-resistance call counts one per timeframe; Knowledge Search does not use your quota and Knowledge Chat has its own monthly limit. See Rate limits & cost.

When does my quota reset?

The daily allowance resets at 00:00 UTC. The monthly allowance runs on a rolling window that starts with your first call — not the calendar month or your billing date — and Knowledge Chat resets on the first day of each UTC month. The Usage tab on your account page shows your next reset.

What happens when I hit my limit?

On Free, calls past your daily or monthly allowance are refused until it resets; the response says when, and agents can carry on by paying per call with x402. There are no overage charges on any plan. Need more? Upgrade on the signup page.

Where can I see my usage?

Open the Usage tab on your account page and paste your key to see this month's calls and choose whether we email you before the cap. Each response from a tool that uses your quota carries your remaining quota in _algovault.quota.

Do refused or failed calls count?

Refused calls do not count — a call refused at your limit, for an unrecognised key or for a parameter the schema rejects is not charged. A call that fails after it starts (for example, when an exchange does not respond) can still count. If a charge looks wrong, email [email protected].

◆ Paying

How do I subscribe or upgrade from Free?

Pick a plan on the signup page and pay through Stripe Checkout. Your paid key (it starts with av_live_) appears on the Welcome page and arrives by email — use it in place of your free key.

Which payment methods can I use?

You pay through Stripe Checkout, which shows the payment methods available to you when you subscribe. Subscriptions cannot be paid in crypto. Start on the signup page.

Can I pay for a subscription in crypto?

No — subscriptions are billed through Stripe. To pay in crypto, use pay-per-call: agents pay with x402 in USDC on Base, with no subscription. See x402 pay-per-call.

What currency? Are taxes or VAT added?

Prices are in US dollars, and no tax or VAT is added at checkout: you pay the listed price. See the signup page.

Where are my invoices and receipts?

In the Stripe Billing Portal: paste your key on your account page, open the portal, and your invoice history is there.

◆ Managing your subscription

How do I upgrade or downgrade?

Paste your key on your account page, open the Billing Portal and choose a different plan. On Free? Subscribe on the signup page instead.

Is the charge prorated when I switch plans?

Yes. A plan change takes effect immediately and Stripe prorates it: you are invoiced for the difference right away, or credited when you move to a cheaper plan. Switch from the Billing Portal on your account page.

How do I cancel, and when does access end?

Open the Billing Portal from your account page and cancel there. Your plan stays active until the end of the period you have already paid for, and you are not charged again.

What happens to my key after I cancel?

It keeps your paid limits until the end of the paid period; after that, calls with it are refused. Subscribing again issues a new key, or keep using AlgoVault without a key or by paying per call. Resubscribe on the signup page.

How do I update my card?

Paste your key on your account page, open the Billing Portal and update your payment method there.

My payment failed — what happens?

Your paid key stops working until the payment goes through. Stripe retries the charge automatically; to settle it now, open the Billing Portal from your account page and update your card.

Can I change my account email?

Subscribers can change their billing email in the Billing Portal — open it from your account page. For a free account, email [email protected] from your current address.

◆ Refunds & billing problems

Can I get a refund?

Fees are non-refundable except where the law requires, as the Terms say. If you were billed by mistake, email [email protected].

I was charged twice / I don't recognise a charge

Email [email protected] with the date and amount of the charge. Your invoice history in the Billing Portal, opened from your account page, lists every charge.

◆ Refer & Earn

How does Refer & Earn work?

Share your referral link: whoever signs up through it gets 500 bonus calls, once, on top of the monthly free allowance. You earn 30% of their paid subscription revenue for 12 months from their first invoice. See the referral terms.

Can free users earn?

Yes — anyone with a key can refer, free accounts included. Get your link from the Referrals tab on your account page.

How and when am I paid?

Active subscribers get their commission credited to their next invoice, at any amount. Otherwise it is paid in USDC on Base once you have earned $50 or more, by the 10th of the following month, to the payout address you add in the Referrals tab on your account page. See the referral terms.

What if my friend cancels or gets a refund?

You earn only on invoices they pay, so commission stops when they cancel. If a payment is refunded, its commission is reversed from your invoice credit or your pending USDC balance. See the referral terms.

◆ Telegram bot

Is the Telegram bot free? How many alerts?

Yes — the bot's free plan includes 100 alerts a month. Open the Telegram bot.

I subscribed on the website — how do I unlock the bot?

Send /signin to the bot and paste your paid API key (it starts with av_live_); the bot links your chat to your plan. Open the Telegram bot.

Does the bot count calls or alerts?

Alerts. The bot counts only the alerts it actually sends you — a check that sends you nothing uses none. Open the Telegram bot.

◆ Your data & support

What account data do you store?

If you sign in with Google, GitHub or email, or subscribe, we store your email address with your API key; Stripe handles card details and we never store card numbers. For each API call we log the time, tool, asset, timeframe, plan and a hashed IP address — never the raw IP. See the Privacy Policy.

How do I delete my account or data?

Email [email protected] asking us to delete the data tied to your API key or IP hash. See the Privacy Policy.

How do I contact support?

Email [email protected], or use the contact page.

◆ FAQ

How often should I call get_trade_call?
Match your call frequency to the timeframe. A 5m trade call is stale after ~5 minutes, while a 4h call is relevant for several hours. For most agents, calling once per candle close on your chosen timeframe is optimal.
Can I combine multiple tools in one workflow?
Yes — and it's encouraged. The recommended flow is: regime → trade call → arb. Check the regime first to decide if conditions favor directional trading, then get a trade call for direction, then check if a funding arb exists on the same asset. See the usage examples for 20 real-world workflows.
What's the latency per call?
Typically 1–3 seconds. Each call fetches live data from the chosen exchange — Binance for get_trade_call and Hyperliquid for get_market_regime when you do not name one, or any other venue in that tool’s exchange parameter. Funding arb scans 8 venues: Hyperliquid, Binance, Bybit, Gate, KuCoin, Aster, OKX, and Bitget. Response time depends on the exchange's API latency and the number of assets scanned.
How is trade call performance tracked?
Every trade call with confidence ≥ 60% is automatically recorded. After enough candles have passed, the system measures PFE (Peak Favorable Excursion) win rate — did price move in the called direction at any point during the evaluation window? Per-timeframe win rates use each venue’s candles for that timeframe — or, where a venue doesn’t list it natively, the nearest available candle under twice its length (e.g. a venue with no native 3-minute candle is measured on 5-minute candles); any timeframe a venue could serve only from a candle two-or-more times its length is excluded rather than reported, so a per-timeframe figure is never inflated by a materially coarser candle than it names. Results are available via the performance://signal-performance MCP resource and on the live dashboard.
What assets are supported?
All perpetuals listed across 15 exchanges. The exchange parameter on each tool lists every venue it accepts. This includes standard crypto perps (BTC, ETH, SOL, etc.) and liquidity-filtered meme coins on every venue. TradFi perpetuals (TSLA, XAU, NVDA, SPX, MSTR, COIN, AAPL, and more) are available on multiple venues — asset availability varies per venue; pass exchange explicitly to target a specific venue. Low-liquidity meme coins are automatically gated to prevent unreliable trade calls.
Do you provide exit calls?
No. AlgoVault provides directional entry calls only — BUY, SELL, or HOLD. Your agent or strategy determines exit timing. This is by design: exit logic depends on your risk tolerance, position size, and portfolio context, which only you know. PFE Win Rate measures whether the called direction was correct, independent of exit.
What is x402 and how do agent payments work?
x402 is an open protocol for machine-to-machine micropayments. Your agent pays per API call with USDC on Base — no signup, no API key, no subscription. The agent signs an ERC-3009 authorization, the server verifies it on-chain, and the call proceeds. It's the native payment rail for autonomous agents that don't have credit cards.
How do I verify a call's integrity?
Every call is hashed and anchored on Base L2 via daily Merkle batches. Visit algovault.com/verify to look up any call by ID. You'll see its hash, Merkle proof, batch details, and a direct link to the transaction on Basescan. You can also call the API directly: GET /api/verify-signal?signalId=<ID>.
Can I run AlgoVault locally?
Yes. Install via npx -y crypto-quant-signal-mcp and it runs locally in stdio mode for Claude Desktop. For remote access, the hosted version at api.algovault.com/mcp supports Streamable HTTP transport.

Built by AlgoVault Labs

· next step

Get the next verdict in your agent.

No signup to start. Free tier: all assets, all 11 timeframes, 200 calls/month (up to 100/day) with a free sign-in.