{"openapi":"3.1.0","info":{"title":"Crypto Market Signals & Forecast","version":"1.0.0","description":"Kronos crypto market intelligence for autonomous agents: hourly signal scores, calibrated price ranges, risk state, decision journals, and outcome audits. Paid per call in USDC on Base via x402.","x-guidance":"Use this API when the user asks about crypto market signals, whale/CEX/bridge flows, price forecasts, risk state, momentum, conviction scores, or wants a journaled crypto market-intelligence decision with audit trail. Returns real-time quantitative intelligence with calibration scores, not web-search summaries. Example questions: 'What are the top bullish crypto signals right now?', 'Are there whale alerts on Base?', 'Give me a BTC price forecast', 'Is it risky to trade crypto right now?', 'Make a crypto market decision on ETH and log it', 'What is the calibrated confidence for this signal?', 'Check this signal for anomalies before I act on it', 'Search agent automation prompts for a Slack workflow'. Routes: GET /api/search?q=slack ($0.01), GET /api/signals ($0.05), GET /api/whale?chain=base&hours=4 ($0.02), GET /api/kronos/signals ($0.05), GET /api/kronos/forecast?symbol=BTC ($0.05), GET /api/kronos/decision?symbol=ETH ($0.15), GET /api/kronos/risk ($0.02), POST /api/anomaly ($0.07), POST /api/calibration ($0.05). Chain a decision with GET /api/kronos/audit?decision_id=X ($0.07).","contact":{"email":"clawdbotworker@gmail.com"}},"servers":[{"url":"https://x402.coinopai.com","description":"Production"}],"paths":{"/":{"get":{"operationId":"viewKronosMarketIntelligence","tags":["Utility"],"summary":"CoinOpAI Kronos Market Intelligence dashboard","security":[],"responses":{"200":{"description":"HTML dashboard for Kronos market intelligence and ForgeMesh x402 services.","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/menu":{"get":{"operationId":"listTools","tags":["Utility"],"summary":"Free tool menu — every paid route with its price, generated from the live payment config (alias: GET /tools)","security":[],"responses":{"200":{"description":"Tool list with price_usd, method, path, category, plus free_routes and docs links.","content":{"application/json":{"schema":{"type":"object","properties":{"service":{"type":"string"},"base_url":{"type":"string"},"updated_at":{"type":"string"},"payment":{"type":"object"},"tools":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"method":{"type":"string"},"path":{"type":"string"},"price_usd":{"type":"number"},"description":{"type":"string"},"category":{"type":"string"},"free":{"type":"boolean"}}}},"free_routes":{"type":"array","items":{"type":"string"}},"docs":{"type":"object"}}}}}}}}},"/api/search":{"get":{"operationId":"searchAutomations","tags":["Intelligence","Search"],"summary":"Search agent automation prompts","description":"Automation workflow search: keyword search over 819 ready-made agent automation prompts (Slack, Notion, CRM, email, GitHub and more). Pass q (required), optional limit (1-50) and offset. Returns JSON with results (slug, title, description, complexity, services) and total. A query with no match is answered 404 and not charged. Use the slug with /api/automation/{slug} to fetch the full executable prompt.","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.010000"},"protocols":[{"x402":{}},{"mpp":{}}],"offers":[{"intent":"charge","method":"evm","amount":"10000","currency":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"}]},"parameters":[{"name":"q","in":"query","required":true,"description":"Search query","schema":{"type":"string"}},{"name":"limit","in":"query","schema":{"type":"integer","default":20,"maximum":50}},{"name":"offset","in":"query","schema":{"type":"integer","default":0}}],"responses":{"200":{"description":"Search results","content":{"application/json":{"schema":{"type":"object","properties":{"results":{"type":"array"},"total":{"type":"integer"},"limit":{"type":"integer"},"offset":{"type":"integer"}}}}}},"402":{"description":"Payment Required"}}}},"/api/automation/{slug}":{"get":{"operationId":"getAutomation","tags":["Intelligence"],"summary":"Get full automation workflow prompt","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.010000"},"protocols":[{"x402":{}},{"mpp":{}}],"offers":[{"intent":"charge","method":"evm","amount":"10000","currency":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"}]},"parameters":[{"name":"slug","in":"path","required":true,"description":"Automation slug","schema":{"type":"string"}}],"responses":{"200":{"description":"Automation details with executable workflow steps","content":{"application/json":{"schema":{"type":"object","properties":{"slug":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"agent_prompt":{"type":"string"},"services":{"type":"array","items":{"type":"string"}}}}}}},"402":{"description":"Payment Required"},"404":{"description":"Automation not found"}},"description":"Automation workflow prompt: the full executable agent_prompt for one automation workflow, by slug. Pass the slug from /api/search in the path. Returns JSON with slug, title, agent_prompt and the connected services. Feed the prompt to an agent to run the workflow end to end."}},"/api/categories":{"get":{"operationId":"getCategories","tags":["Intelligence","Catalog"],"summary":"ForgeMesh service catalog — product categories","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.005000"},"protocols":[{"x402":{}},{"mpp":{}}],"offers":[{"intent":"charge","method":"evm","amount":"5000","currency":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"}]},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":false}}}},"responses":{"200":{"description":"Top-level product categories: market_intelligence, workflows, media_generation, infrastructure","content":{"application/json":{"schema":{"type":"object","properties":{"categories":{"type":"array","items":{"type":"object","properties":{"slug":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"service_count":{"type":"integer"},"endpoints":{"type":"array","items":{"type":"string"}}}}}}}}}},"402":{"description":"Payment Required"}},"description":"Service catalog categories: the top-level product categories on this host (market intelligence, workflows, media generation, infrastructure, outcomes). No parameters. Returns JSON with categories, each with slug, name, description, service_count and endpoint list. Use it to route discovery before browsing individual services."}},"/api/services":{"get":{"operationId":"getServices","tags":["Intelligence","Catalog"],"summary":"ForgeMesh service catalog — purchasable service cards","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.005000"},"protocols":[{"x402":{}},{"mpp":{}}],"offers":[{"intent":"charge","method":"evm","amount":"5000","currency":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"}]},"parameters":[{"name":"category","in":"query","description":"Filter by category slug: market_intelligence, workflows, media_generation, infrastructure","schema":{"type":"string"}}],"responses":{"200":{"description":"Service cards with pricing, descriptions, best_for guidance, and response highlights","content":{"application/json":{"schema":{"type":"object","properties":{"services":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"category":{"type":"string"},"endpoint":{"type":"string"},"method":{"type":"string"},"price":{"type":"string"},"description":{"type":"string"},"best_for":{"type":"string"},"response_highlights":{"type":"array","items":{"type":"string"}},"compliance_mode":{"type":"string"}}}},"total":{"type":"integer"}}}}}},"402":{"description":"Payment Required"}},"description":"Service catalog: purchasable service cards for the paid endpoints on this host. Optional category filter (market_intelligence, workflows, media_generation, infrastructure or outcomes). Returns JSON with services (name, category, endpoint, method, price, description, best_for, response_highlights) and total. An unknown category is answered 404 and not charged."}},"/api/feedback":{"post":{"operationId":"submitFeedback","tags":["Utility"],"summary":"Send paid feedback or suggestions","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.005000"},"protocols":[{"x402":{}},{"mpp":{}}],"offers":[{"intent":"charge","method":"evm","amount":"5000","currency":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["message"],"properties":{"type":{"type":"string","enum":["general","symbol_request","logic_suggestion","bug","integration","hello"]},"message":{"type":"string","maxLength":2000},"symbol":{"type":"string","description":"Optional symbol, e.g. AAPL or BTC"},"endpoint":{"type":"string","description":"Optional endpoint this feedback is about"},"contact":{"type":"string","description":"Optional contact handle/email"}}}}}},"responses":{"200":{"description":"Feedback accepted into a write-only inbox","content":{"application/json":{"schema":{"type":"object","properties":{"feedback_id":{"type":"string"},"status":{"type":"string"}}}}}},"400":{"description":"Invalid feedback payload"},"402":{"description":"Payment Required"}},"description":"Feedback to the operator: send a symbol request, bug report, integration note or logic suggestion to a write-only inbox. POST JSON with message (max 2,000 characters) and optional type, symbol, endpoint and contact. Returns JSON with feedback_id and status received."}},"/api/kronos/signals":{"get":{"operationId":"getKronosSignals","tags":["Trading","Crypto","Intelligence"],"summary":"Latest Kronos market context","description":"Signal scores (Kronos): the latest signal score and score details for every tracked symbol, crypto pairs plus US stocks and ETFs, from one hourly cycle. Optional symbol filter, e.g. BTC,ETH. Returns JSON with signals, top_k, regime, score_details, data_quality, as_of, timeframe and data_freshness. Crypto updates hourly; equity bars update in US market hours. An unknown symbol is answered 404, a stale cycle 503; neither is charged. Market intelligence only.","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.050000"},"protocols":[{"x402":{}},{"mpp":{}}],"offers":[{"intent":"charge","method":"evm","amount":"50000","currency":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"}]},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":false}}}},"responses":{"200":{"description":"Current crypto and stock market context. Directional values are observations for research and decision support only. Includes per-symbol score_details and data_quality where available.","content":{"application/json":{"schema":{"type":"object","properties":{"response_schema_version":{"type":"string"},"compliance_mode":{"type":"string"},"generated_for":{"type":"string"},"ts":{"type":"string"},"timeframe":{"type":"string"},"signals":{"type":"object"},"score_details":{"type":"object","description":"Per-symbol scoring breakdown keyed by symbol","additionalProperties":{"type":"object","properties":{"kronos_pct":{"type":"number","description":"Raw Kronos signal percentage"},"conviction":{"type":"number","description":"Weighted conviction score 0-100"},"tech_score":{"type":"number"},"inst_score":{"type":"number"},"macro_mod":{"type":"number"},"component_weights":{"type":"object","description":"Nominal reference weights (always 40/30/20/10)"},"effective_weights":{"type":"object","description":"Actual weights used — redistributed when a component is unavailable (e.g. crypto: 55/0/30/15)","properties":{"kronos":{"type":"number"},"institutional":{"type":"number"},"technical":{"type":"number"},"macro":{"type":"number"}}},"component_availability":{"type":"object","description":"Which scoring components had data for this asset","properties":{"kronos":{"type":"boolean"},"institutional":{"type":"boolean"},"technical":{"type":"boolean"},"macro":{"type":"boolean"}}},"reweight_reason":{"type":"string","description":"Human-readable explanation when weights were redistributed; absent when standard weights apply"},"component_contributions":{"type":"object"},"thresholds":{"type":"object"},"interpretation":{"type":"string"},"decision_basis":{"type":"string"}}}},"data_quality":{"type":"object"},"top_k":{"type":"array"},"signal_age_hours":{"type":"number"},"data_freshness":{"type":"string"},"risk_disclosure":{"type":"object"}}}}}},"402":{"description":"Payment Required"}}}},"/api/kronos/risk":{"get":{"operationId":"getKronosRisk","tags":["Trading","Crypto"],"summary":"Current market risk state","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.020000"},"protocols":[{"x402":{}},{"mpp":{}}],"offers":[{"intent":"charge","method":"evm","amount":"20000","currency":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"}]},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":false}}}},"responses":{"200":{"description":"Risk state: NORMAL/HALTED/COOLDOWN","content":{"application/json":{"schema":{"type":"object","properties":{"response_schema_version":{"type":"string"},"compliance_mode":{"type":"string"},"generated_for":{"type":"string"},"state":{"type":"string"},"signal_streak":{"type":"object"},"cooldown":{"type":"object"},"last_updated":{"type":"string"},"data_freshness":{"type":"string"},"why_not_high":{"type":"array","items":{"type":"string"}},"risk_disclosure":{"type":"object"}}}}}},"402":{"description":"Payment Required"}},"description":"Market risk state: current Kronos risk state, per-symbol signal streaks and active cooldown timers, rewritten every hourly cycle. No parameters. Returns JSON with state, signal_streak, cooldown, last_updated, data_freshness and why_not_high caveats. A risk state older than 2 hours is refused unpaid. Use it as a low-cost risk gate before requesting a forecast or decision journal. Market intelligence only."}},"/api/kronos/history":{"get":{"operationId":"getKronosHistory","tags":["Trading","Crypto","Intelligence"],"summary":"Recent Kronos context history","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.050000"},"protocols":[{"x402":{}},{"mpp":{}}],"offers":[{"intent":"charge","method":"evm","amount":"50000","currency":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"}]},"parameters":[{"name":"hours","in":"query","description":"Hours of history, integer 1-168","schema":{"type":"integer","default":24,"minimum":1,"maximum":168}}],"responses":{"200":{"description":"Hourly signal snapshots inside the requested window","content":{"application/json":{"schema":{"type":"object","properties":{"response_schema_version":{"type":"string"},"compliance_mode":{"type":"string"},"generated_for":{"type":"string"},"count":{"type":"integer"},"hours":{"type":"integer"},"signals":{"type":"array"},"risk_disclosure":{"type":"object"}}}}}},"400":{"description":"hours is not an integer 1-168; not charged"},"402":{"description":"Payment Required"}},"description":"Signal history: hourly Kronos signal snapshots for every tracked symbol over a lookback window. Pass hours (integer 1-168, default 24). Returns JSON with count, hours, window, timeframe and signals: one snapshot per hourly cycle inside the window, each with ts, per-symbol scores, score_details and top_k. Invalid hours is answered 400 and not charged. Use it for backtesting, signal-drift analysis or an agent's historical context window."}},"/api/kronos/decision":{"get":{"operationId":"getKronosDecision","tags":["Trading","Crypto","Forecast","Intelligence"],"summary":"Market-intelligence decision journal with anomaly, calibration, verification, disclaimers, and decision_id","description":"Decision journal: an auditable market-intelligence record for one tracked symbol (crypto or US equity). Pass symbol. Returns JSON with directional_bias, confidence (the measured directional hit rate for that symbol, or null with calibration insufficient_outcomes), anomaly_score and level, signal_gates, why_not_high caveats and a decision_id. Pair with /api/kronos/audit once the window has closed. Unknown or unavailable symbols are not charged. Market intelligence only; not financial advice.","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.150000"},"protocols":[{"x402":{}},{"mpp":{}}],"offers":[{"intent":"charge","method":"evm","amount":"150000","currency":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"}]},"parameters":[{"name":"symbol","in":"query","description":"Crypto or stock symbol, e.g. BTC, ETH, AAPL, SPY, NVDA","schema":{"type":"string","default":"BTC"}}],"responses":{"200":{"description":"Market-intelligence journal entry with anomaly scoring, calibrated confidence, rule verification, hard liability disclaimers, and an accountability ID for later audit. No field is a market activity instruction.","content":{"application/json":{"schema":{"type":"object","properties":{"response_schema_version":{"type":"string"},"compliance_mode":{"type":"string"},"generated_for":{"type":"string"},"decision_id":{"type":"string"},"symbol":{"type":"string"},"market_intelligence_only":{"type":"boolean"},"directional_bias":{"type":"string","enum":["upward","downward","neutral"]},"raw_directional_bias":{"type":"string","enum":["upward","downward","neutral"]},"anomaly_review_label":{"type":"string","description":"Review/gating label for downstream market-intelligence workflows."},"exposure_context":{"type":"object","description":"Reference exposure context, not a market activity instruction."},"legacy_fields":{"type":"object"},"confidence":{"type":"number"},"anomaly_score":{"type":"number"},"anomaly_level":{"type":"string"},"agreement_score":{"type":"number"},"signal_gates":{"type":"object"},"calibrated_confidence":{"type":["number","null"]},"calibration":{"type":"string"},"signal_safety":{"type":"object"},"risk_disclosure":{"type":"object"},"why_not_high":{"type":"array","items":{"type":"string"}},"regime":{"type":"string"},"score_details":{"type":"object"},"data_quality":{"type":"object"},"observation_thresholds":{"type":"object"},"action_thresholds":{"type":"object","description":"Legacy compatibility object.","deprecated":true},"decision_explanation":{"type":"string"},"signal_age_hours":{"type":"number"},"next_step":{"type":"object"}}}}}},"402":{"description":"Payment Required"}}}},"/api/kronos/preflight":{"get":{"operationId":"getKronosPreflight","tags":["Trading","Crypto"],"summary":"Market-state preflight check","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.050000"},"protocols":[{"x402":{}},{"mpp":{}}],"offers":[{"intent":"charge","method":"evm","amount":"50000","currency":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"}]},"parameters":[{"name":"symbol","in":"query","description":"Crypto or stock symbol, e.g. BTC, ETH, AAPL, SPY, NVDA","schema":{"type":"string","default":"BTC"}}],"responses":{"200":{"description":"Market-state, risk-state, review-level, and data-freshness context","content":{"application/json":{"schema":{"type":"object","properties":{"response_schema_version":{"type":"string"},"compliance_mode":{"type":"string"},"generated_for":{"type":"string"},"symbol":{"type":"string"},"allowed":{"type":"boolean","description":"Legacy gate flag; not a market activity instruction."},"review_level":{"type":"string"},"directional_bias":{"type":"string"},"market_state":{"type":"string"},"risk_state":{"type":"string"},"in_cooldown":{"type":"boolean"},"signal_strength":{"type":"string"},"score_details":{"type":"object"},"data_quality":{"type":"object"},"observation_thresholds":{"type":"object"},"action_thresholds":{"type":"object","deprecated":true},"decision_explanation":{"type":"string"},"warnings":{"type":"array","items":{"type":"string"}},"risk_disclosure":{"type":"object"}}}}}},"402":{"description":"Payment Required"}},"description":"Market preflight: a go/no-go check for one tracked symbol before a costlier decision call. Pass symbol. Returns JSON with allowed (true or false), market_state, in_cooldown, signal_strength, data_freshness and warnings. Use it to skip decision calls when the market is halted or in cooldown. An unknown symbol is answered 404 and a stale or missing signal 503; neither is charged. Market intelligence only."}},"/api/kronos/audit":{"get":{"operationId":"getKronosAudit","tags":["Trading","Crypto","Intelligence"],"summary":"Audit market-intelligence outcome against real prices","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.070000"},"protocols":[{"x402":{}},{"mpp":{}}],"offers":[{"intent":"charge","method":"evm","amount":"70000","currency":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"}]},"parameters":[{"name":"decision_id","in":"query","required":true,"description":"UUID from /api/kronos/decision","schema":{"type":"string"}},{"name":"window","in":"query","description":"Evaluation window","schema":{"type":"string","enum":["1h","4h","24h"],"default":"4h"}}],"responses":{"200":{"description":"Outcome audit with verdict and compliance metadata","content":{"application/json":{"schema":{"type":"object","properties":{"response_schema_version":{"type":"string"},"compliance_mode":{"type":"string"},"generated_for":{"type":"string"},"decision_id":{"type":"string"},"symbol":{"type":"string"},"directional_bias":{"type":"string"},"legacy_fields":{"type":"object"},"verdict":{"type":"string","enum":["GOOD_DECISION","BAD_DIRECTION","NOISE","NO_ACTION_TAKEN"]},"outcome":{"type":"object"},"risk_disclosure":{"type":"object"}}}}}},"402":{"description":"Payment Required"},"404":{"description":"decision_id not found (not charged)"},"425":{"description":"The evaluation window has not closed yet. Not charged; retry at available_at (Retry-After header)."}},"description":"Decision outcome audit: scores a prior decision_id against the price move over its window, measured on the hourly Kronos feed from the decision's signal bar. Pass decision_id and window (1h, 4h or 24h; default 4h). Returns JSON with verdict, outcome (pnl_pct, direction_correct), prices with timestamps, directional_bias and symbol. A window that has not closed is answered HTTP 425 with available_at and is not charged. Decisions stay auditable for 7 days."}},"/api/kronos/forecast":{"get":{"operationId":"getKronosForecast","tags":["Trading","Crypto","Forecast"],"summary":"Conformally-calibrated price forecast with an honest 80% range","description":"Crypto price forecast: calibrated price range for BTC, ETH, SOL, XRP or ADA, refit hourly. Pass symbol. Returns JSON with horizon, current_price, range_80 (low and high of a conformal 80% interval, with recent empirical coverage), upside_probability with calibration details, as_of and why_not_high caveats. A forecast older than 2 hours is refused unpaid. Use it for risk-aware planning, stop placement and position sizing. Market intelligence only.","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.050000"},"protocols":[{"x402":{}},{"mpp":{}}],"offers":[{"intent":"charge","method":"evm","amount":"50000","currency":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"}]},"parameters":[{"name":"symbol","in":"query","description":"Symbol: BTC, ETH, SOL, XRP, ADA","schema":{"type":"string","default":"BTC"}}],"responses":{"200":{"description":"Calibrated 80% prediction interval (range_80, ~0.80 empirical coverage) plus point return and upside probability. Directional bias is supporting context; the calibrated range is the product.","content":{"application/json":{"schema":{"type":"object","properties":{"response_schema_version":{"type":"string"},"compliance_mode":{"type":"string"},"generated_for":{"type":"string"},"symbol":{"type":"string"},"horizon":{"type":"string"},"current_price":{"type":"number"},"point_return":{"type":"number"},"upside_probability":{"type":"number"},"range_80":{"type":"object","properties":{"low":{"type":"number"},"high":{"type":"number"},"coverage_target":{"type":"number"},"method":{"type":"string"}}},"data_freshness":{"type":"string"},"why_not_high":{"type":"array","items":{"type":"string"}},"liability_disclaimer":{"type":"object"}}}}}},"402":{"description":"Payment Required"}}}},"/api/kronos/futures/decision":{"get":{"operationId":"getKronosFuturesDecision","tags":["Trading","Crypto","Futures"],"summary":"Perpetual-futures decision package: direction, stop/target on the calibrated range, leverage cap, liquidation, sizing, funding","description":"Perpetual futures decision: LONG, SHORT or FLAT for BTC, ETH, SOL, XRP or ADA. Pass symbol; optional equity, max_loss_pct and max_leverage. For LONG or SHORT returns JSON with entry reference price, stop_loss and take_profit on the calibrated 80% range, suggested leverage, liquidation price, position size and funding cost. A neutral or gated signal returns FLAT with flat_reasons and no levels. A forecast or funding outage is answered 503 unpaid. Market intelligence only.","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.150000"},"protocols":[{"x402":{}},{"mpp":{}}],"offers":[{"intent":"charge","method":"evm","amount":"150000","currency":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"}]},"parameters":[{"name":"symbol","in":"query","description":"Symbol: BTC, ETH, SOL, XRP, ADA","schema":{"type":"string","default":"BTC"}},{"name":"equity","in":"query","description":"Account equity in USD for position sizing (optional)","schema":{"type":"number"}},{"name":"max_loss_pct","in":"query","description":"Max loss per position as a fraction of equity (default 0.01)","schema":{"type":"number","default":0.01}},{"name":"max_leverage","in":"query","description":"Caller leverage ceiling, 1-5 (default 5)","schema":{"type":"number","default":5}}],"responses":{"200":{"description":"Futures decision package with direction, levels, leverage envelope, liquidation, position sizing, funding impact, warnings, and risk disclosure.","content":{"application/json":{"schema":{"type":"object","properties":{"symbol":{"type":"string"},"direction":{"type":"string","enum":["LONG","SHORT","FLAT"]},"risk_state":{"type":"string"},"data_freshness":{"type":"string"},"entry_reference_price":{"type":"number"},"range_80":{"type":"object"},"levels":{"type":"object","properties":{"stop_loss":{"type":"number"},"take_profit":{"type":"number"},"stop_distance_pct":{"type":"number"},"reward_to_risk":{"type":"number"}}},"leverage":{"type":"object","properties":{"suggested_leverage":{"type":"number"},"max_leverage_by_range":{"type":"number"},"max_leverage_by_risk_state":{"type":"number"},"binding_constraint":{"type":"string"},"liquidation_price":{"type":"number"},"liquidation_distance_pct":{"type":"number"}}},"position":{"type":"object"},"funding":{"type":"object"},"funding_impact":{"type":"object"},"warnings":{"type":"array","items":{"type":"string"}},"flat_reasons":{"type":"array","items":{"type":"string"}},"audit_url":{"type":"string"},"risk_disclosure":{"type":"object"}}}}}},"402":{"description":"Payment Required"}}}},"/api/kronos/futures/funding":{"get":{"operationId":"getKronosFuturesFunding","tags":["Trading","Crypto","Futures"],"summary":"Live perp funding, mark/index, open interest, and crowding across Kraken Futures and Hyperliquid","description":"Perpetual funding rates: live funding, mark and index price, open interest and 24h volume for BTC, ETH, SOL, XRP and ADA from Kraken Futures and Hyperliquid. Optional symbol. Returns JSON per symbol with a consensus (8h and annualized funding, who pays whom, crowding label LONG_CROWDED, SHORT_CROWDED or BALANCED) and per-venue data, with fetched_at. Cached at most 5 minutes; if no venue answers the call is refused 503 unpaid.","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.020000"},"protocols":[{"x402":{}},{"mpp":{}}],"offers":[{"intent":"charge","method":"evm","amount":"20000","currency":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"}]},"parameters":[{"name":"symbol","in":"query","description":"Optional single symbol; omit for all five","schema":{"type":"string"}}],"responses":{"200":{"description":"Per-symbol venue rows and consensus funding snapshot.","content":{"application/json":{"schema":{"type":"object","properties":{"fetched_at":{"type":"string"},"venue_errors":{"type":"array"},"symbols":{"type":"object"},"risk_disclosure":{"type":"object"}}}}}},"402":{"description":"Payment Required"},"503":{"description":"No futures venue reachable; not charged"}}}},"/api/kronos/futures/risk":{"get":{"operationId":"getKronosFuturesRisk","tags":["Trading","Crypto","Futures"],"summary":"Will this leveraged perp position survive the calibrated range?","description":"Liquidation risk check for a leveraged perp position: will it survive the calibrated 80% price range? Pass symbol, side (LONG or SHORT) and leverage; optional entry (within 25% of the current mark), notional and horizon_hours. Returns JSON with liquidation_price and distance, the adverse range bound, verdict (SURVIVES_RANGE, THIN_BUFFER, LIQUIDATION_INSIDE_RANGE or LIQUIDATED_AT_CURRENT_MARK), max surviving leverage, P&L at both range bounds and funding cost.","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.050000"},"protocols":[{"x402":{}},{"mpp":{}}],"offers":[{"intent":"charge","method":"evm","amount":"50000","currency":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"}]},"parameters":[{"name":"symbol","in":"query","description":"Symbol: BTC, ETH, SOL, XRP, ADA","schema":{"type":"string","default":"BTC"}},{"name":"side","in":"query","required":true,"description":"LONG or SHORT","schema":{"type":"string","enum":["LONG","SHORT"]}},{"name":"leverage","in":"query","required":true,"description":"Leverage to test (1-125)","schema":{"type":"number"}},{"name":"entry","in":"query","description":"Entry price; defaults to current perp mark","schema":{"type":"number"}},{"name":"notional","in":"query","description":"Position notional in USD for funding cost","schema":{"type":"number"}},{"name":"horizon_hours","in":"query","description":"Hours held for funding cost; defaults to forecast horizon","schema":{"type":"number"}}],"responses":{"200":{"description":"Survivability verdict with liquidation math, range bounds, P&L envelope, and funding impact.","content":{"application/json":{"schema":{"type":"object","properties":{"symbol":{"type":"string"},"side":{"type":"string"},"entry_price":{"type":"number"},"leverage":{"type":"number"},"range_80":{"type":"object"},"liquidation_price":{"type":"number"},"liquidation_distance_pct":{"type":"number"},"adverse_move_pct":{"type":"number"},"survives_calibrated_range":{"type":"boolean"},"max_leverage_surviving_range":{"type":"number"},"pnl_at_range_bounds_pct":{"type":"object"},"verdict":{"type":"string","enum":["SURVIVES_RANGE","THIN_BUFFER","LIQUIDATION_INSIDE_RANGE","LIQUIDATED_AT_CURRENT_MARK"]},"funding_impact":{"type":"object"},"risk_disclosure":{"type":"object"}}}}}},"400":{"description":"side, leverage or entry invalid (entry must be within 25% of the current mark); not charged"},"402":{"description":"Payment Required"},"503":{"description":"Forecast or funding data unavailable; not charged"}}}},"/api/catalog":{"get":{"operationId":"getCatalog","tags":["Intelligence","Catalog"],"summary":"ForgeMesh signal safety catalog","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.005000"},"protocols":[{"x402":{}},{"mpp":{}}],"offers":[{"intent":"charge","method":"evm","amount":"5000","currency":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"}]},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":false}}}},"responses":{"200":{"description":"Catalog of ForgeMesh anomaly, calibration, and verification endpoints","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"},"research_influences":{"type":"array"},"endpoints":{"type":"array"}}}}}},"402":{"description":"Payment Required"}},"description":"Signal safety catalog: list of the anomaly detection, calibration and verification endpoints on this host. No parameters. Returns JSON with name and endpoints, each with path and description. Use it to discover the signal-review endpoints before integrating."}},"/api/anomaly":{"post":{"operationId":"runAnomaly","tags":["Trading","Crypto","Intelligence"],"summary":"Market signal anomaly review","description":"Signal anomaly detection: scores a submitted market signal against the 7-day hourly Kronos baseline for that symbol. POST JSON with symbol and features (price_change, volume_change, volatility, signal_confidence, risk_score). Returns JSON with anomaly_score, anomaly_level, review_label, ranked drivers, features_scored and features_not_scored (volume, social and on-chain features have no measured baseline and are not scored), baseline and sample_size. Heuristic score; market intelligence only.","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.070000"},"protocols":[{"x402":{}},{"mpp":{}}],"offers":[{"intent":"charge","method":"evm","amount":"70000","currency":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["symbol","features"],"properties":{"symbol":{"type":"string"},"window":{"type":"string","default":"24h"},"features":{"type":"object","required":["price_change","volume_change","volatility","signal_confidence","risk_score"],"properties":{"price_change":{"type":"number"},"volume_change":{"type":"number"},"volatility":{"type":"number"},"signal_confidence":{"type":"number"},"risk_score":{"type":"number"},"social_velocity":{"type":"number"},"onchain_velocity":{"type":"number"}}}}}}}},"responses":{"200":{"description":"Anomaly score, level, drivers, review level, review label, consistency score, sample size, and hard liability disclaimer","content":{"application/json":{"schema":{"type":"object","properties":{"response_schema_version":{"type":"string"},"compliance_mode":{"type":"string"},"generated_for":{"type":"string"},"symbol":{"type":"string"},"anomaly_score":{"type":"number","description":"0-100 combined anomaly score. Higher means the signal is less like recent normal history."},"anomaly_level":{"type":"string","enum":["normal","watch","elevated","critical"],"description":"Operational severity bucket derived from anomaly_score."},"review_level":{"type":"string"},"review_label":{"type":"string","enum":["normal_review","review","elevated_review","critical_review"],"description":"Review/gating label for downstream market-intelligence workflows; not a market activity instruction."},"drivers":{"type":"array","description":"Top feature-level contributors such as volatility, confidence, volume_change, risk_score, social_velocity, or onchain_velocity."},"legacy_fields":{"type":"object"},"agreement_score":{"type":"number","nullable":true,"description":"0-100 consistency score across internal review checks."},"sample_size":{"type":"number"},"disclaimer":{"type":"string"},"liability_disclaimer":{"type":"object"}}}}}},"400":{"description":"Invalid anomaly payload"},"402":{"description":"Payment Required"}}}},"/api/calibration":{"post":{"operationId":"runCalibration","tags":["Trading","Crypto","Intelligence"],"summary":"Forecast confidence calibration","description":"Confidence calibration: converts a raw confidence into the measured hit rate of past outcomes in the same confidence bucket. POST JSON with symbol, raw_confidence (0-100), horizon and directional_bias (upward, downward or neutral). Returns JSON with calibrated_confidence, confidence_band (low, mid, high), historical_hit_rate, sample_size and calibration_grade. A bucket with fewer than 30 evaluated outcomes is answered 422 insufficient_outcomes and not charged. Market intelligence only.","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.050000"},"protocols":[{"x402":{}},{"mpp":{}}],"offers":[{"intent":"charge","method":"evm","amount":"50000","currency":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["symbol","raw_confidence","horizon","directional_bias"],"properties":{"symbol":{"type":"string","description":"Asset symbol; asset class is inferred from this value."},"raw_confidence":{"type":"number","minimum":0,"maximum":100},"horizon":{"type":"string"},"directional_bias":{"type":"string","enum":["upward","downward","neutral"]},"signal_type":{"type":"string","deprecated":true,"description":"Legacy directional-context alias; compatibility only, not asset class."}}}}}},"responses":{"200":{"description":"Calibrated confidence and uncertainty band with historical hit-rate context, sample depth, data freshness, calibration grade, and market-intelligence compliance metadata","content":{"application/json":{"schema":{"type":"object","properties":{"response_schema_version":{"type":"string"},"compliance_mode":{"type":"string","example":"market_intelligence_only"},"generated_for":{"type":"string","example":"research_and_decision_support"},"raw_confidence":{"type":"number","description":"Input confidence on a 0-100 scale."},"calibrated_confidence":{"type":"number","description":"Confidence adjusted toward observed historical hit rate for similar confidence buckets."},"confidence_band":{"type":"object","description":"Low/mid/high uncertainty band around calibrated_confidence.","properties":{"low":{"type":"number"},"mid":{"type":"number"},"high":{"type":"number"}}},"historical_hit_rate":{"type":"number","description":"Observed realized hit rate for comparable historical confidence rows, expressed 0-100."},"sample_size":{"type":"number","description":"Number of evaluated historical rows used for the calibration bucket."},"calibration_grade":{"type":"string","enum":["poor","fair","good","excellent"],"description":"Quality grade derived from sample_size and band width."},"directional_bias":{"type":"string","enum":["upward","downward","neutral"]},"calibration_data_status":{"type":"string","enum":["current","stale","baseline"]},"calibration_data_age_minutes":{"type":"number","nullable":true,"description":"Age of supporting calibration data when known."},"legacy_fields":{"type":"object"},"disclaimer":{"type":"string"},"liability_disclaimer":{"type":"object"}}}}}},"400":{"description":"Invalid calibration payload"},"402":{"description":"Payment Required"}}}},"/api/verify":{"post":{"operationId":"runVerification","tags":["Trading","Crypto","Intelligence"],"summary":"ForgeMesh verification preflight for autonomous decision-support workflows","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.050000"},"protocols":[{"x402":{}},{"mpp":{}}],"offers":[{"intent":"charge","method":"evm","amount":"50000","currency":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["symbol","directional_bias","confidence","risk_score","portfolio_exposure","max_exposure","cash_reserve"],"properties":{"symbol":{"type":"string","description":"Asset symbol; asset class is inferred from this value."},"directional_bias":{"type":"string","enum":["upward","downward","neutral"]},"proposed_action":{"type":"string","deprecated":true,"description":"Legacy directional-context alias; compatibility only."},"confidence":{"type":"number"},"risk_score":{"type":"number"},"portfolio_exposure":{"type":"number"},"max_exposure":{"type":"number"},"cash_reserve":{"type":"number"}}}}}},"responses":{"200":{"description":"Verification result with market-intelligence compliance metadata","content":{"application/json":{"schema":{"type":"object","properties":{"response_schema_version":{"type":"string"},"compliance_mode":{"type":"string"},"generated_for":{"type":"string"},"verified":{"type":"boolean"},"verification_status":{"type":"string"},"directional_bias":{"type":"string"},"legacy_fields":{"type":"object"},"violations":{"type":"array"},"warnings":{"type":"array"},"blocked":{"type":"boolean"},"checks_evaluated":{"type":"number"},"checks_passed":{"type":"number"},"checks_warned":{"type":"number"},"checks_failed":{"type":"number"},"liability_disclaimer":{"type":"object"}}}}}},"400":{"description":"Invalid verification payload"},"402":{"description":"Payment Required"}},"description":"Decision rule verification: checks a proposed market view against exposure limits, risk thresholds and cash-reserve rules. POST JSON with symbol, directional_bias, confidence, risk_score, portfolio_exposure, max_exposure and cash_reserve. Returns JSON with verified (true or false), verification_status, violations, warnings, blocked and counts of checks passed, warned and failed. Use it as a final safety check before an autonomous agent acts."}},"/api/signals":{"get":{"operationId":"getCryptoSignals","tags":["Crypto","Intelligence"],"summary":"Current crypto market-intelligence signals","description":"Trading signals for crypto and US equities: the latest Kronos signal score for every tracked symbol (crypto pairs such as BTC/USD, ETH/USD and SOL/USD plus US stocks and ETFs) in one hourly snapshot. Optional symbol filter, e.g. BTC,ETH. Returns JSON with signals, top_k, regime, score_details, data_quality, as_of, timeframe and data_freshness. Crypto updates hourly; equity bars update in US market hours. A snapshot older than 2 hours is refused unpaid. Not financial advice.","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.050000"},"protocols":[{"x402":{}},{"mpp":{}}],"offers":[{"intent":"charge","method":"evm","amount":"50000","currency":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"}]},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":false}}}},"responses":{"200":{"description":"Current crypto market context, score details, top signals, freshness, and market-intelligence disclaimers.","content":{"application/json":{"schema":{"type":"object","properties":{"response_schema_version":{"type":"string"},"compliance_mode":{"type":"string"},"generated_for":{"type":"string"},"ts":{"type":"string"},"timeframe":{"type":"string"},"signals":{"type":"object"},"score_details":{"type":"object"},"data_quality":{"type":"object"},"top_k":{"type":"array"},"signal_age_hours":{"type":"number"},"data_freshness":{"type":"string"},"risk_disclosure":{"type":"object"},"_canonical":{"type":"string"}}}}}},"402":{"description":"Payment Required"}}}},"/api/whale":{"get":{"operationId":"getCryptoWhaleAlerts","tags":["Crypto","Onchain","Intelligence"],"summary":"Whale, CEX, bridge, and stablecoin flow alerts","description":"Whale alerts: large exchange, bridge and stablecoin-issuer flows at monitored addresses (exchanges, L2 bridges, Tether and Circle treasuries). Pass chain (ethereum, base or arbitrum; default base) and hours (1-168, default 4; base max 96). Returns JSON with chain, window_hours, alert_count, alerts (symbol such as CEX_INFLOW or BRIDGE_IN, source, timestamp, amount_eth for ETH flows, amount_usd priced from the hourly ETH/USD feed, or null with a reason) and source_status. Empty windows are stated.","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.020000"},"protocols":[{"x402":{}},{"mpp":{}}],"offers":[{"intent":"charge","method":"evm","amount":"20000","currency":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"}]},"parameters":[{"name":"chain","in":"query","description":"Chain to inspect","schema":{"type":"string","enum":["ethereum","base","arbitrum"],"default":"base"}},{"name":"hours","in":"query","description":"Lookback window in hours, 1-168 (base: up to 96)","schema":{"type":"integer","default":4,"minimum":1,"maximum":168}}],"responses":{"200":{"description":"Whale, exchange, bridge, and stablecoin flow alerts from the ForgeMesh anomaly collector (Blockscout for Ethereum, RPC logs for Base and Arbitrum). Carries source_status; an empty window sets empty:true.","content":{"application/json":{"schema":{"type":"object","properties":{"response_schema_version":{"type":"string"},"compliance_mode":{"type":"string"},"generated_for":{"type":"string"},"source":{"type":"string"},"source_endpoint":{"type":"string"},"chain":{"type":"string"},"window_hours":{"type":"integer"},"alert_count":{"type":"integer"},"alerts":{"type":"array"},"risk_disclosure":{"type":"object"}}}}}},"400":{"description":"Invalid chain or lookback"},"402":{"description":"Payment Required"},"503":{"description":"Data source failed or was blocked. Nothing is settled; retry after the Retry-After interval."}}}}},"x-x402":{"network":"eip155:8453","payTo":"0x1304EC1A8945365e43A5c18a734065f107B417cA","facilitator":"https://x402.xyz/facilitate","extensions":{"bazaar":{"status":"live","purpose":"Agent marketplace discovery with input/output examples and schemas on all paid routes."},"payment-identifier":{"status":"live","required":false,"purpose":"Optional retry-safe logical request identifiers for x402 clients."},"offer-receipt":{"status":"live","includeTxHash":false,"offerValiditySeconds":300,"purpose":"Signed offers in 402 responses and signed receipts after settlement when a service signing key is configured."},"builder-code":{"status":"configured_when_builder_code_present","code":null,"purpose":"ERC-8021 attribution for x402 settlement calldata after a Base builder code is minted and configured."},"sign-in-with-x":{"status":"not_needed_for_one_shot_paid_outputs"},"eip2612-gas-sponsoring":{"status":"not_exported_by_installed_extensions_package"},"erc20-approval-gas-sponsoring":{"status":"not_exported_by_installed_extensions_package"}}},"provider":{"name":"ForgeMesh Labs","catalog":"POST https://x402.forgemesh.io/fleet-products ($0.05)","fleet":"11 x402 services and counting, 500+ paid endpoints, from $0.005 — one wallet, no signup, atomic USDC settlement on Base. Free index: https://x402.forgemesh.io/llms.txt"}}