CRYPTYX Docs

Intelligence Query API

Ask questions in plain English, get structured JSON intelligence. An LLM intent classifier routes queries to pre-computed analytics endpoints.

Endpoint

POST/api/intelligence/query

Authentication

Tier Required: Institutional or Enterprise. Free and Pro tiers receive a 403 tier_required response. Admin users bypass all tier and rate limit checks.

Rate Limits

TierDaily LimitReset
Free / Early Access / ProNot available—
Institutional500 / dayMidnight UTC
Enterprise5,000 / dayMidnight UTC

Request Schema

json
{
  "query": "What are the highest conviction assets?",
  "format": "json"   // optional, default "json"
}
FieldTypeRequiredDescription
querystringYesNatural language query (1-1000 chars)
format"json"NoResponse format (only "json" supported)

Success Response

json
{
  "ok": true,
  "intent": "conviction_ranking",
  "confidence": 0.95,
  "query": "What are the highest conviction assets?",
  "data": [ ... ],
  "source_endpoint": "/api/assets",
  "response_time_ms": 142
}

Error Responses

401
unauthorized

Missing or invalid authentication.

403
tier_required

Tier does not support the Intelligence Query API.

429
rate_limited

Daily query limit exceeded. Includes used, limit, and resets_at fields.

200
unknown_intent

Could not classify the query. Returns suggested queries.

400
invalid_query

Malformed request body or empty query.

500
internal_error

Unexpected server error.

Intent Types (49)

The classifier maps natural language to one of 49 intents across 11 categories and extracts structured parameters. Confidence below 0.5 returns unknown_intent.

Conviction & Ranking(3)

conviction_rankingsort_direction, limit

Rank assets by composite conviction score

“What are the highest conviction assets?”

conviction_singleasset (required)

Conviction score for a specific asset

“What's BTC's conviction score?”

conviction_leaderboardlimit

Enriched top/bottom conviction leaderboard with derivatives data

“Show the conviction leaderboard”

Signals(7)

signal_activeasset (optional)

Currently firing signals

“What signals are firing on ETH?”

signal_explainsignal_id, asset (required), day

Why a signal fired (or did not)

“Why did the momentum signal fire on BTC?”

signal_catalognone

List all signals with descriptions, params, trigger rates

“List all available signals”

signal_leaderboardwindow, limit

Rank signals by performance (confidence, trigger rate)

“Which signals perform best?”

signal_recentnone

Most recent signal triggers across the universe

“Show the most recent signal triggers”

signal_topnone

Top signals by information coefficient (IC)

“Top signals by IC”

signal_historyasset (required), days

Historical signal events for an asset with forward returns

“Signal history for SOL”

Factors & Regimes(5)

factor_breakdownasset (required), horizons

Factor scores across all 8 classes

“Break down SOL across all factors”

regime_checkasset (required)

Regime classification for an asset

“What regime is ETH in?”

regime_universeregime_type

Assets in a specific regime type

“Which assets are trending?”

regime_transitionsasset (optional), hours

Recent regime transitions across assets

“Recent regime transitions”

divergence_alertshorizons (optional CSV)

Cross-factor divergence detection — distribution, capitulation, ignition patterns

“What divergences are active?”

Market-Wide(3)

market_pulsehorizons, classes

Broad market factor breadth

“How does the market look right now?”

market_briefnone

High-level daily market summary

“Give me a market brief”

correlationwindow, assets, limit

Cross-asset correlation matrix

“Show the correlation matrix”

Metrics(4)

metric_scanmetric_id (required), operator, threshold

Scan universe for a metric condition

“Show me assets with funding stress”

metric_backtestmetric_id, asset, operator, threshold (all required)

Backtest a single metric on an asset

“Backtest 7d momentum on BTC above 2 sigma”

metric_featurednone

Top-performing metrics by IC and hit rate

“Show top performing metrics”

composite_backtestasset (required), conditions[]

Multi-factor intersection backtest

“When did BTC have high momentum AND low vol?”

Asset Intelligence(6)

asset_lookupnone

List tracked assets

“What assets does CRYPTYX track?”

asset_thesisasset (required), horizon

AI-generated thesis with evidence

“Generate a thesis for SOL”

top_setupsasset (required), horizon

Best trading setups (reversal, continuation, breakout)

“Best setups for BTC”

top_predictorsasset (required), horizon

Most predictive signals and metrics for an asset

“Most predictive signals for ETH”

asymmetryasset (required)

Asymmetry analysis — funding, skew, OB imbalance, flow

“Asymmetry analysis for BTC”

peer_clusterasset (required), horizon, k

Find an asset's nearest peers by factor profile

“Find peers for SOL”

Market Data(5)

liquidity_checkasset (required)

Order book depth and liquidity data

“What's BTC's liquidity like?”

funding_rateasset (required), days

Perpetual futures funding rate history

“BTC funding rate history”

taker_flowasset (required), days

Taker buy/sell flow (spot and futures)

“Taker flow for ETH”

iv_surfaceasset (required)

Options implied volatility surface (BTC/ETH)

“BTC implied volatility surface”

price_historyasset (required), days

OHLCV price history

“BTC price history”

Intra-Day & Micro-Regime(4)

pulse_snapshotasset (optional), class

Latest sub-daily factor t-scores

“Intra-day pulse factor scores”

regime_microasset (optional), regime_type

Current micro-regime state per asset

“Current micro-regime states”

regime_timelinedays, asset (optional)

Swim-lane timeline of regime transitions

“Regime timeline over the last 90 days”

regime_contextasset (required), horizon

Regime context — forward-return stats conditioned on regime

“Regime context for BTC”

Enriched Asset Intelligence(4)

signal_eventsasset (required), days

Triggered signal events with price overlay and forward returns

“Signal events for ETH with price overlay”

conviction_journalasset (required), days

Trailing conviction score trajectory with daily thesis

“Conviction journal for BTC”

composite_signalsasset (optional), mode

Composite signal snapshot or recent events

“Composite signal snapshot”

factor_cross_sectionasset (optional)

Factor term structure (class x horizon) with breadth and momentum

“Factor cross-section term structure”

Compound Intelligence(5)

market_digestnone

What happened today — factors, regime transitions, signals, top movers

“What happened in the market today?”

asset_deep_diveasset (required)

Full analysis — conviction, factors, regime, signals, asymmetry, price

“Full analysis of BTC”

opportunity_scanlimit

Best opportunities — high conviction + aligned regime + signal confluence

“Best opportunities right now”

risk_monitornone

Risk flags — vol regime, funding stress, negative momentum

“Current risk flags across the universe”

peer_compareassets (required CSV)

Side-by-side multi-asset comparison across all dimensions

“Compare ETH and SOL side by side”

Agent Surfaces(3)

trade_ideaslimit, horizon

AI-generated trade ideas ranked by conviction

“Give me the top trade ideas”

agent_snapshotnone

Full state snapshot for agent grounding

“Full state snapshot”

unknown

Query does not match any available intent

“What's the weather?”

Full Example

bash
curl -X POST https://cryptyx.ai/api/intelligence/query \
  -H "Authorization: Bearer cx_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{"query": "What signals are firing on BTC?"}'

Want to try it interactively?

Open Playground