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

# Risk-Adjusted Yields

> Compare yields across markets normalized for risk using Sharpe proxy, risk decomposition, and stability metrics.



## OpenAPI

````yaml GET /risk/yields
openapi: 3.0.3
info:
  title: Circular API
  description: >-
    DeFi risk intelligence API by Rosetta — markets, vaults, positions, risk
    analysis, credit ratings, and portfolio management across Morpho Blue, Aave
    V3, and other lending protocols.
  version: 1.0.0
  contact:
    name: Rosetta
    url: https://rosetta.sh
servers:
  - url: https://api.circular.rosetta.sh/api/v1
    description: Production
security:
  - BearerApiKey: []
tags:
  - name: Markets
    description: Lending market data — overview, search, compare, history, positions
  - name: Tokens
    description: Token metadata and oracle feeds
  - name: Vaults
    description: Vault data — overview, concentration, depositors
  - name: Positions
    description: Position scanning — wallet positions, loops, vault positions
  - name: Risk
    description: >-
      Risk analysis — dashboard, concentration, depeg simulation, protocol
      health
  - name: Liquidations
    description: Liquidation feed and history
  - name: Analytics
    description: Strategy breakdown, trends, yield opportunities, whale monitoring
  - name: Research
    description: Deep market research, deployment analysis, borrow strategy
  - name: Ratings
    description: Credit ratings — methodology, market ratings, vault ratings
  - name: Portfolios
    description: Portfolio management — overview, risk, yield, alerts, liquidity
  - name: Health
    description: API health check
  - name: Agent
    description: Agent risk API — risk checks and policy defaults
  - name: Client
    description: Client self-service — profile, API keys, usage, quota dashboard
paths:
  /risk/yields:
    get:
      tags:
        - Risk
      summary: Get risk-adjusted yields
      description: >-
        Compare yields across markets normalized for risk using Sharpe proxy,
        risk decomposition, and stability metrics.
      operationId: riskAdjustedYields
      responses:
        '200':
          description: Risk-adjusted yield data
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/RiskAdjustedYield'
                  meta:
                    $ref: '#/components/schemas/Meta'
components:
  schemas:
    RiskAdjustedYield:
      type: object
      properties:
        marketId:
          type: string
        collateral:
          type: string
        loan:
          type: string
        totalApy:
          type: number
        sharpeProxy:
          type: number
        riskScore:
          type: number
          description: 0-100
        riskDecomposition:
          type: object
          properties:
            utilization:
              type: number
            concentration:
              type: number
            leverage:
              type: number
            volatility:
              type: number
            oracle:
              type: number
        volatility:
          type: object
          properties:
            day30:
              type: number
            day90:
              type: number
        maxDrawdown:
          type: number
        stabilityPercentile:
          type: number
    Meta:
      type: object
      properties:
        latencyMs:
          type: number
          description: Server-side processing time in milliseconds
        freshness:
          type: string
          description: Data freshness indicator (live, cached, snapshot)
        source:
          type: string
          description: Which protocol(s) provided data
  securitySchemes:
    BearerApiKey:
      type: http
      scheme: bearer
      description: API key in format circ_live_* or circ_test_*

````