> ## Documentation Index
> Fetch the complete documentation index at: https://docs.useotto.xyz/llms.txt
> Use this file to discover all available pages before exploring further.

# /market-risk

> Composite crypto market-stress digest: a 0-100 score (low/moderate/elevated/high) blended from global USD-stablecoin depeg health (DefiLlama) and Base on-chain DEX exit-liquidity, with a per-leg breakdown and an AI risk line. Stablecoin systemic + Base liquidity microstructure only (not derivatives/sentiment). Both legs required for a score. Every read older than an hour regenerates the score inline (the buyer waits a few seconds) — never an older reading; public sources, pay-per-call.

**Price:** 0.002 USDC per call, paid on Base or Solana.

Fill in the required fields and send this request without payment to get the live price quote. The API answers `402` and lists the price, network and token in `accepts`. To pay, follow [Your first paid call](https://docs.useotto.xyz/getting-started/first-paid-call.md).


## OpenAPI

````yaml /api-reference/openapi.json get /market-risk
openapi: 3.1.0
info:
  title: Otto AI x402 — Market Intelligence, DeFi & Tools
  version: 2.0.0
  contact:
    email: admin@useotto.xyz
    url: https://t.me/DeFAI_Capital
  description: >-
    Otto AI runs a swarm of four autonomous agents (Market Alpha, Tools, Data
    and Router) exposing 71 pay-per-call services on x402 V2 across seven
    capability tags — Market & Token Intelligence, DeFi & Markets Data, Web &
    Domain Intelligence, Real-World Data, AI Research & Tools, Portfolio &
    Accounts, and x402 Open Router. Settled in USDC on Base on every endpoint;
    66 of 71 also accept USDC on Solana (each path's x-payment-info.networks
    names its own; the live 402's accepts[] is authoritative). Permit2-ready for
    any ERC-20. From $0.001 per call.
  x-guidance: >-
    Otto AI exposes 71 pay-per-call endpoints across seven capability tags —
    Market & Token Intelligence, DeFi & Markets Data, Web & Domain Intelligence,
    Real-World Data, AI Research & Tools, Portfolio & Accounts, and x402 Open
    Router. All endpoints require x402 V2 payment in USDC. Settled in USDC on
    Base on every endpoint; 66 of 71 also accept USDC on Solana (each path's
    x-payment-info.networks names its own; the live 402's accepts[] is
    authoritative).


    How to use:

    1. GET/POST any endpoint — receive 402 with PAYMENT-REQUIRED header
    (base64-encoded) and the same accepts[] inlined in the JSON body

    2. Read accepts[] for this path's payment options (EIP-3009 USDC on Base,
    Permit2 any ERC-20 on Base, and on 66 paths Solana USDC) — per-path networks
    are also published as x-payment-info.networks

    3. Sign payment and retry with PAYMENT-SIGNATURE header

    4. Receive 200 with data + signed receipt in PAYMENT-RESPONSE header

    5. Only for endpoints that advertise SIWX eligibility: use SIGN-IN-WITH-X on
    subsequent requests (1hr free access); cached data endpoints require payment
    every call


    Endpoint categories:

    - Market & Token Intelligence (18): News (full feed, one-paragraph recaps,
    Base-ecosystem vertical), KOL sentiment, token
    analysis/details/fundamentals/price/security, trending, top-holders, holder
    analytics, Base Season, RH Season, tokenized-stock movers (Robinhood Chain +
    Base B20), tweet-search, mega-report

    - DeFi & Markets Data (35): DeFi TVL/yield, stablecoin peg-watch, composite
    market-risk score (depeg + Base exit-liquidity), protocol fees/revenue, DEX
    pool search, one-hour Uniswap pool APR, trending pools, prediction-market
    odds (Polymarket top/crypto/search), funding rates, TradFi macro, US
    equities intel, tokenized-equity registry, SEC insider trades (Form 4), 13F
    institutional holdings, smart-money bundle + AI filing brief

    - Web & Domain Intelligence (9): DNS lookup (records + SPF/DMARC/DKIM email
    auth), WHOIS/RDAP registration, domain age/trust signal, one-call domain
    report, web-search (query → ranked live pages + snippets), web-answer (quick
    synthesized answer + citations for agent loops; use /llm-research for a deep
    report), web-extract (URL → markdown via Jina), web-links (all page links)
    and web-json-extract (page → structured JSON via AI) — keyless public infra
    (DoH, RDAP, Jina, Cloudflare Browser Rendering) plus licensed Exa
    search/answer

    - Real-World Data (2): live + reference fiat FX rates (Yahoo near-real-time
    mid for 12 majors refreshed every minute + ECB daily reference for ~30
    currencies, base USD) and global current weather + 5-day forecast
    (Open-Meteo) — keyless public sources

    - AI Research & Tools (2): AI research, tx explainer

    - Portfolio & Accounts (1): Read-only Uniswap NFT composition, range
    diagnostics and pool APR

    - x402 Open Router (4): Meta Intelligence (POST /meta-intelligence, or GET
    /meta-intelligence?ask= — recommends the best x402 service, non-custodial,
    $0.001), Full Auto (POST /full-auto — LIVE, answers from the best-matched
    Otto service or as a combined answer, for one exact quote: the catalogue
    price of one service, or the sum of the parts of a combined answer, plus one
    $0.01 router fee; Otto pays any named outside x402 sellers itself, inside
    the quote), Feedback & Refunds (POST /feedback — money-back guarantee,
    capped $0.01/tx, up to 10x/wallet/day, on Otto's own services + Full Auto)
servers:
  - url: https://x402.ottoai.services
security: []
tags:
  - name: market-and-token-intelligence
    x-group: Market & Token Intelligence
  - name: defi-and-markets-data
    x-group: DeFi & Markets Data
  - name: ai-research-and-tools
    x-group: AI Research & Tools
  - name: web-and-domain-intelligence
    x-group: Web & Domain Intelligence
  - name: real-world-data
    x-group: Real-World Data
  - name: portfolio-and-accounts
    x-group: Portfolio & Accounts
  - name: x402-open-router
    x-group: x402 Open Router
paths:
  /market-risk:
    get:
      tags:
        - defi-and-markets-data
      summary: >-
        Is anything breaking? A 0-100 market-stress score blending stablecoin
        depeg health and Base exit-liquidity, with a per-leg AI read.
      description: >-
        Composite crypto market-stress digest: a 0-100 score
        (low/moderate/elevated/high) blended from global USD-stablecoin depeg
        health (DefiLlama) and Base on-chain DEX exit-liquidity, with a per-leg
        breakdown and an AI risk line. Stablecoin systemic + Base liquidity
        microstructure only (not derivatives/sentiment). Both legs required for
        a score. Every read older than an hour regenerates the score inline (the
        buyer waits a few seconds) — never an older reading; public sources,
        pay-per-call.
      operationId: market_risk
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    enum:
                      - success
                      - failed
                  data:
                    type: object
                    description: Service-specific response data
                required:
                  - status
        '402':
          description: Payment Required

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.