> ## 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.

# /lp-intelligence

> Read an exact V3/V4 NFT position on Robinhood Chain (4663), its composition, range status, plain-language advice and independently cached pool APR. Choose a 1–30 day horizon and an objective. Read-only: no transaction is prepared. $0.02 USDC on Base per call.

**Price:** 0.02 USDC per call, paid on Base.

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 post /lp-intelligence
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:
  /lp-intelligence:
    post:
      tags:
        - portfolio-and-accounts
      summary: >-
        Plain-language Uniswap LP position advice with pool APR, token
        composition and range diagnostics.
      description: >-
        Read an exact V3/V4 NFT position on Robinhood Chain (4663), its
        composition, range status, plain-language advice and independently
        cached pool APR. Choose a 1–30 day horizon and an objective. Read-only:
        no transaction is prepared. $0.02 USDC on Base per call.
      operationId: lp_intelligence
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                position:
                  type: object
                  properties:
                    chainId:
                      type: number
                      const: 4663
                    positionManager:
                      type: string
                      pattern: ^0x[0-9a-fA-F]{40}$
                    tokenId:
                      type: string
                      pattern: ^(0|[1-9][0-9]{0,77})$
                    expectedOwner:
                      type: string
                      pattern: ^0x[0-9a-fA-F]{40}$
                  required:
                    - chainId
                    - positionManager
                    - tokenId
                  additionalProperties: false
                evidenceSetId:
                  type: string
                  pattern: ^[a-zA-Z0-9_-]{1,80}$
                scenarios:
                  type: array
                  items:
                    type: object
                    properties:
                      label:
                        type: string
                        minLength: 1
                        maxLength: 60
                      token0ChangePct:
                        type: number
                        minimum: -90
                        maximum: 100
                      token1ChangePct:
                        type: number
                        minimum: -90
                        maximum: 100
                    required:
                      - label
                      - token0ChangePct
                      - token1ChangePct
                    additionalProperties: false
                  minItems: 1
                  maxItems: 8
                advisory:
                  type: object
                  additionalProperties: false
                  properties:
                    horizonDays:
                      type: integer
                      minimum: 1
                      maximum: 30
                      default: 7
                    objective:
                      type: string
                      enum:
                        - understand
                        - maintain-fee-uptime
                        - reduce-concentration
                      default: understand
                  description: >-
                    User objective and comparison horizon only. Data providers,
                    volatility, costs and forecasts cannot be supplied by
                    callers.
              required:
                - position
              additionalProperties: false
      responses:
        '200':
          description: >-
            Read-only LP result; pool APR has independent source and freshness
            metadata
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IntelligenceResult'
        '400':
          description: Invalid request or unexpected input
        '402':
          description: Payment Required
        '422':
          description: Unsupported position identity or protocol
        '503':
          description: Public reads disabled or required source unavailable; no settlement
components:
  schemas:
    IntelligenceResult:
      type: object
      properties:
        schemaVersion:
          const: 1
        status:
          type: string
          enum:
            - READY
            - CLOSED
        generatedAt:
          type: string
          format: date-time
        position:
          $ref: '#/components/schemas/PositionRef'
        executionAuthority:
          const: none
        current:
          type: object
          properties:
            snapshotId:
              type: string
            observedAt:
              type: string
              format: date-time
            block: 6859e8f8-ce62-4d8f-8b77-8234ebb11e6e
            owner: 1445eb30-c19a-48b4-ad01-2767c732baf6
            pool: 21abd901-3c4a-4eb8-9ffc-5ba8f80da259
            tokens: e50d7444-e154-4550-8d13-1e67ef05f592
            principalRaw:
              anyOf:
                - type: array
                  prefixItems:
                    - type: string
                      pattern: ^(0|[1-9][0-9]*)$
                    - type: string
                      pattern: ^(0|[1-9][0-9]*)$
                  minItems: 2
                  maxItems: 2
                - type: 'null'
            uncollectedFeesRaw:
              anyOf:
                - type: array
                  prefixItems:
                    - type: string
                      pattern: ^(0|[1-9][0-9]*)$
                    - type: string
                      pattern: ^(0|[1-9][0-9]*)$
                  minItems: 2
                  maxItems: 2
                - type: 'null'
              description: >-
                V4 accrued fee entitlement; V3 fresh fee growth since last
                checkpoint only. V3 stored balances are separate and are not
                assumed to be income.
            inRange:
              type:
                - boolean
                - 'null'
            protocol:
              type: string
              enum:
                - uniswap-v3
                - uniswap-v4
            unclassifiedCollectableRaw:
              anyOf:
                - type: array
                  prefixItems:
                    - type: string
                      pattern: ^(0|[1-9][0-9]*)$
                    - type: string
                      pattern: ^(0|[1-9][0-9]*)$
                  minItems: 2
                  maxItems: 2
                - type: 'null'
          required:
            - snapshotId
            - observedAt
            - block
            - owner
            - pool
            - tokens
            - principalRaw
            - uncollectedFeesRaw
            - inRange
            - protocol
            - unclassifiedCollectableRaw
          additionalProperties: false
        scenarios:
          type: array
          items:
            $ref: '#/components/schemas/IntelligenceScenarioResult'
        scenarioBasis:
          type: object
          properties:
            initialPrincipalValueIndex:
              const: 100
            benchmark:
              type: string
            valuation:
              type: string
            assumptions:
              type: array
              items:
                type: string
          required:
            - initialPrincipalValueIndex
            - benchmark
            - valuation
            - assumptions
          additionalProperties: false
        recordedEvidence:
          anyOf:
            - $ref: '#/components/schemas/IntelligenceRecordedEvidence'
            - type: 'null'
        decision:
          type: object
          properties:
            action:
              const: REVIEW
            reasons:
              type: array
              items:
                type: string
            currentExecutableExit:
              const: UNKNOWN
            allInNetProfit:
              const: UNKNOWN
            hookPolicyPublication:
              const: UNAVAILABLE
            nextUsefulAction:
              type: string
          required:
            - action
            - reasons
            - currentExecutableExit
            - allInNetProfit
            - hookPolicyPublication
            - nextUsefulAction
          additionalProperties: false
        advice:
          $ref: '#/components/schemas/LpAdvice'
        assessment:
          $ref: '#/components/schemas/PoolAssessment'
      required:
        - schemaVersion
        - status
        - generatedAt
        - position
        - executionAuthority
        - current
        - scenarios
        - scenarioBasis
        - recordedEvidence
        - decision
        - advice
        - assessment
      additionalProperties: false
    PositionRef:
      type: object
      properties:
        chainId:
          type: number
          const: 4663
        positionManager:
          type: string
          pattern: ^0x[0-9a-fA-F]{40}$
        tokenId:
          type: string
          pattern: ^(0|[1-9][0-9]{0,77})$
        expectedOwner:
          type: string
          pattern: ^0x[0-9a-fA-F]{40}$
      required:
        - chainId
        - positionManager
        - tokenId
      additionalProperties: false
    IntelligenceScenarioResult:
      oneOf:
        - type: object
          properties:
            label:
              type: string
            token0ChangePct:
              type: number
            token1ChangePct:
              type: number
            status:
              const: HYPOTHETICAL
            principalRaw:
              type: array
              prefixItems:
                - type: string
                  pattern: ^(0|[1-9][0-9]*)$
                - type: string
                  pattern: ^(0|[1-9][0-9]*)$
              minItems: 2
              maxItems: 2
            inRange:
              type: boolean
            principalValueIndex:
              type: number
            holdCurrentInventoryValueIndex:
              type: number
            lpMinusHoldPercentagePoints:
              type: number
            additionalFeesToMatchHoldRawToken1:
              type: string
              pattern: ^(0|[1-9][0-9]*)$
            feeTargetToken:
              type: string
          required:
            - label
            - token0ChangePct
            - token1ChangePct
            - status
            - principalRaw
            - inRange
            - principalValueIndex
            - holdCurrentInventoryValueIndex
            - lpMinusHoldPercentagePoints
            - additionalFeesToMatchHoldRawToken1
            - feeTargetToken
          additionalProperties: false
        - type: object
          properties:
            label:
              type: string
            token0ChangePct:
              type: number
            token1ChangePct:
              type: number
            status:
              const: OUTSIDE_PROTOCOL_PRICE_DOMAIN
          required:
            - label
            - token0ChangePct
            - token1ChangePct
            - status
          additionalProperties: false
    IntelligenceRecordedEvidence:
      type: object
      properties:
        schemaVersion:
          type: number
          const: 1
        position:
          type: object
          properties:
            chainId:
              type: number
              const: 4663
            positionManager:
              type: string
              pattern: ^0x[0-9a-fA-F]{40}$
            tokenId:
              type: string
              pattern: ^(0|[1-9][0-9]{0,77})$
            owner:
              type: string
              pattern: ^0x[0-9a-fA-F]{40}$
            poolId:
              type: string
              pattern: ^0x(?:[0-9a-fA-F]{40}|[0-9a-fA-F]{64})$
          required:
            - chainId
            - positionManager
            - tokenId
            - owner
            - poolId
          additionalProperties: false
        tokens:
          type: array
          prefixItems:
            - type: string
              pattern: ^0x[0-9a-fA-F]{40}$
            - type: string
              pattern: ^0x[0-9a-fA-F]{40}$
        cutoff:
          type: object
          properties:
            number:
              type: string
              pattern: ^(0|[1-9][0-9]{0,77})$
            hash:
              type: string
              pattern: ^0x[0-9a-fA-F]{64}$
            timestamp:
              type: string
              format: date-time
              pattern: >-
                ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$
          required:
            - number
            - hash
            - timestamp
          additionalProperties: false
        originalDepositRaw:
          type: array
          prefixItems:
            - type: string
              pattern: ^(0|[1-9][0-9]{0,77})$
            - type: string
              pattern: ^(0|[1-9][0-9]{0,77})$
        feeEntitlementRaw:
          type: array
          prefixItems:
            - type: string
              pattern: ^(0|[1-9][0-9]{0,77})$
            - type: string
              pattern: ^(0|[1-9][0-9]{0,77})$
        ledgerStatus:
          type: string
          const: RECONCILED_UNDER_RECORDED_CONTRACT_ASSUMPTIONS
        grossQuote:
          anyOf:
            - type: object
              properties:
                outputToken:
                  type: string
                  pattern: ^0x[0-9a-fA-F]{40}$
                outputSymbol:
                  type: string
                  minLength: 1
                  maxLength: 16
                outputDecimals:
                  type: integer
                  minimum: 0
                  maximum: 36
                lpRaw:
                  type: string
                  pattern: ^(0|[1-9][0-9]{0,77})$
                holdRaw:
                  type: string
                  pattern: ^(0|[1-9][0-9]{0,77})$
                differenceRaw:
                  type: string
                  pattern: ^-?(0|[1-9][0-9]{0,77})$
                ownedPoolsExcluded:
                  type: boolean
                  const: true
                routePoolIds:
                  minItems: 1
                  maxItems: 8
                  type: array
                  items:
                    type: string
                    pattern: ^0x(?:[0-9a-fA-F]{40}|[0-9a-fA-F]{64})$
              required:
                - outputToken
                - outputSymbol
                - outputDecimals
                - lpRaw
                - holdRaw
                - differenceRaw
                - ownedPoolsExcluded
                - routePoolIds
              additionalProperties: false
            - type: 'null'
        references:
          maxItems: 4
          type: array
          items:
            type: object
            properties:
              token:
                type: string
                pattern: ^0x[0-9a-fA-F]{40}$
              updatedAt:
                type: string
                format: date-time
                pattern: >-
                  ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$
              freshAtCutoff:
                type: boolean
            required:
              - token
              - updatedAt
              - freshAtCutoff
            additionalProperties: false
        rewards:
          maxItems: 8
          type: array
          items:
            type: object
            properties:
              token:
                type: string
                pattern: ^0x[0-9a-fA-F]{40}$
              symbol:
                type: string
                minLength: 1
                maxLength: 16
              distributionChainId:
                type: integer
                exclusiveMinimum: 0
                maximum: 9007199254740991
              decimals:
                type: integer
                minimum: 0
                maximum: 36
              claimableRaw:
                type: string
                pattern: ^(0|[1-9][0-9]{0,77})$
              pendingRaw:
                type: string
                pattern: ^(0|[1-9][0-9]{0,77})$
              observedAt:
                type: string
                format: date-time
                pattern: >-
                  ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$
              computedUntil:
                anyOf:
                  - type: string
                    format: date-time
                    pattern: >-
                      ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$
                  - type: 'null'
            required:
              - token
              - symbol
              - distributionChainId
              - decimals
              - claimableRaw
              - pendingRaw
              - observedAt
              - computedUntil
            additionalProperties: false
        sourceManifestSha256:
          type: string
          pattern: ^[0-9a-f]{64}$
        evidenceSetId:
          type: string
          pattern: ^[a-zA-Z0-9_-]{1,80}$
        scope:
          const: HISTORICAL_REVIEWED_EXPORT
        ageSeconds:
          type: integer
          minimum: 0
      required:
        - schemaVersion
        - position
        - tokens
        - cutoff
        - originalDepositRaw
        - feeEntitlementRaw
        - ledgerStatus
        - grossQuote
        - references
        - rewards
        - sourceManifestSha256
        - evidenceSetId
        - scope
        - ageSeconds
      additionalProperties: false
      description: >-
        Separately dated server-owned, hash-pinned accounting export. Gross
        quoted output is not a current executable exit or net USD profit.
        Claimable and pending rewards retain their own observation and
        computation times.
    LpAdvice:
      type: object
      properties:
        schemaVersion:
          const: 1
        action:
          enum:
            - CHECK_TOKEN_STATUS
            - VERIFY_POSITION_DATA
            - POSITION_CLOSED
            - REVIEW_RANGE
            - REVIEW_EXPOSURE
            - WATCH_RANGE
            - KEEP_MONITORING
        headline:
          type: string
        summary:
          type: string
        nextStep:
          type: string
        why:
          type: array
          items:
            type: string
        tradeoff:
          type: string
        recommendationBasis:
          type: string
        confidence:
          type: object
          properties:
            position:
              const: CURRENT_BLOCK_OBSERVATION
            rangeModel:
              enum:
                - LIMITED_SMOOTHED_PROXY
                - UNAVAILABLE
            economics:
              const: NOT_ESTABLISHED
          required:
            - position
            - rangeModel
            - economics
          additionalProperties: false
        requiresSignature:
          const: true
        executionAuthority:
          const: none
        details:
          type: object
          properties:
            objective:
              enum:
                - understand
                - maintain-fee-uptime
                - reduce-concentration
            horizonDays:
              type: integer
              minimum: 1
              maximum: 30
            eligibility:
              $ref: '#/components/schemas/LpAdviceEligibility'
            yield:
              $ref: '#/components/schemas/LpAdviceYield'
            facts:
              type: object
              properties:
                classification:
                  const: DERIVED_FROM_CURRENT_POOL_STATE
                valuationUnit:
                  type: string
                valuationToken:
                  type: string
                valuationBasis:
                  type: string
                inRange:
                  type: boolean
                price:
                  type: number
                lower:
                  type: number
                upper:
                  type: number
                baseToken:
                  type: string
                baseShare:
                  type: number
                principalValue:
                  type: number
                lowerDistanceFraction:
                  type: number
                upperDistanceFraction:
                  type: number
                unclassifiedCollectableRaw:
                  anyOf:
                    - type: array
                      prefixItems:
                        - type: string
                          pattern: ^(0|[1-9][0-9]*)$
                        - type: string
                          pattern: ^(0|[1-9][0-9]*)$
                      minItems: 2
                      maxItems: 2
                    - type: 'null'
              required:
                - classification
                - valuationUnit
                - valuationToken
                - valuationBasis
                - inRange
                - price
                - lower
                - upper
                - baseToken
                - baseShare
                - principalValue
                - lowerDistanceFraction
                - upperDistanceFraction
                - unclassifiedCollectableRaw
              additionalProperties: false
            volatility:
              type: object
              description: >-
                Server-bound hourly V3 geometric-TWAP evidence with status,
                annualized decimal volatility, exact snapshot/pool/token
                bindings, source block, averaging and return windows,
                observation times, reasons and assumptions. Unavailable results
                contain status and reasons. This is a limited smoothed proxy,
                never calibrated implied volatility.
            comparison:
              anyOf:
                - type: object
                  properties:
                    keep:
                      $ref: '#/components/schemas/LpRangeModel'
                    candidate:
                      anyOf:
                        - type: object
                          properties:
                            lowerTick:
                              type: integer
                            upperTick:
                              type: integer
                            lower:
                              type: number
                            upper:
                              type: number
                            liquidity:
                              type: number
                            metrics:
                              $ref: '#/components/schemas/LpRangeModel'
                            liquidityRelativeToCurrent:
                              type:
                                - number
                                - 'null'
                            incrementalFeeHurdleBeforeExecutionCosts:
                              type: number
                              description: >-
                                Conditional candidate divergence cost minus keep
                                divergence cost over the selected horizon, in
                                the displayed quote token. Positive means this
                                much more fee income is required; negative means
                                the model allows this much less fee income
                                before execution costs. Add full execution costs
                                to obtain the fee hurdle after costs. This is a
                                required fee difference, never a fee forecast or
                                expected profit.
                            fullExecutionCost:
                              type: 'null'
                            expectedIncrementalFees:
                              type: 'null'
                            expectedNetBenefit:
                              type: 'null'
                            economicEdge:
                              const: NOT_ESTABLISHED
                            executable:
                              const: false
                            construction:
                              type: string
                          required:
                            - lowerTick
                            - upperTick
                            - lower
                            - upper
                            - liquidity
                            - metrics
                            - liquidityRelativeToCurrent
                            - incrementalFeeHurdleBeforeExecutionCosts
                            - fullExecutionCost
                            - expectedIncrementalFees
                            - expectedNetBenefit
                            - economicEdge
                            - executable
                            - construction
                          additionalProperties: false
                        - type: 'null'
                    reason:
                      type:
                        - string
                        - 'null'
                  required:
                    - keep
                    - candidate
                    - reason
                  additionalProperties: false
                - type: 'null'
            assumptions:
              type: array
              items:
                type: string
            gaps:
              type: array
              items:
                type: string
          required:
            - objective
            - horizonDays
            - eligibility
            - yield
            - facts
            - volatility
            - comparison
            - assumptions
            - gaps
          additionalProperties: false
      required:
        - schemaVersion
        - action
        - headline
        - summary
        - nextStep
        - why
        - tradeoff
        - recommendationBasis
        - confidence
        - requiresSignature
        - executionAuthority
        - details
      additionalProperties: false
    PoolAssessment:
      type: object
      properties:
        schemaVersion:
          const: 1
        binding:
          $ref: '#/components/schemas/PoolAprIdentity'
        status:
          enum:
            - CURRENT
            - UNAVAILABLE
        assessedAt:
          type:
            - string
            - 'null'
          format: date-time
        validUntil:
          type:
            - string
            - 'null'
          format: date-time
        block:
          anyOf:
            - type: object
              properties:
                number:
                  type: string
                hash:
                  type: string
                timestamp:
                  type: string
                  format: date-time
                finality:
                  enum:
                    - latest
                    - safe
                    - finalized
              required:
                - number
                - hash
                - timestamp
                - finality
              additionalProperties: false
            - type: 'null'
        identity:
          type: object
          properties:
            status:
              enum:
                - VERIFIED
                - MISMATCH
                - UNAVAILABLE
            source:
              const: ROBINHOOD_RPC
            reasons:
              type: array
              items:
                type: string
          required:
            - status
            - source
            - reasons
          additionalProperties: false
        pool:
          anyOf:
            - type: object
              properties:
                key:
                  $ref: '#/components/schemas/AssessmentPoolKey'
                initialized:
                  type: boolean
                activeLiquidity:
                  type: string
              required:
                - key
                - initialized
                - activeLiquidity
              additionalProperties: false
            - type: 'null'
        tokens:
          type: array
          items:
            $ref: '#/components/schemas/PoolTokenAssessment'
          maxItems: 2
        hook:
          type: object
          properties:
            address:
              type: string
            status:
              enum:
                - NOT_APPLICABLE
                - NO_HOOK
                - UNASSESSED
            permissions:
              type: array
              items:
                type: string
            codeHash:
              type:
                - string
                - 'null'
            quoteExecutionSafety:
              const: NOT_ASSESSED
            reasons:
              type: array
              items:
                type: string
          required:
            - address
            - status
            - permissions
            - codeHash
            - quoteExecutionSafety
            - reasons
          additionalProperties: false
        recommendation:
          type: object
          properties:
            status:
              enum:
                - ELIGIBLE_FOR_COMPARISON
                - REQUIRES_REVIEW
                - BLOCKED
                - UNAVAILABLE
            executionEligible:
              const: false
            reasons:
              type: array
              items:
                type: string
            basis:
              type: string
          required:
            - status
            - executionEligible
            - reasons
            - basis
          additionalProperties: false
      required:
        - schemaVersion
        - binding
        - status
        - assessedAt
        - validUntil
        - block
        - identity
        - pool
        - tokens
        - hook
        - recommendation
      additionalProperties: false
      description: >-
        Independent, block-bound technical pool assessment, cached for at most
        five minutes from the source block. CURRENT describes evidence
        freshness, not a safe pool or recommendation. ELIGIBLE_FOR_COMPARISON
        admits a pool to further comparison only: investment suitability, fee
        profitability and execution safety are not established. Nonzero hook
        behavior remains UNASSESSED; permission bits and code hashes are
        descriptive evidence. Missing/RPC-failed assessment never erases
        independent APR statistics.
    LpAdviceEligibility:
      type: object
      description: >-
        Additional advisory checks on the reader-validated current snapshot.
        Discovery membership never supplies this status. DIAGNOSTICS_ONLY
        permits conditional range analysis, not an LP recommendation, deposit
        approval or token safety certification. Unknown address, inconsistent
        metadata, unavailable applicable token status or unsupported pool blocks
        range guidance while preserving observed balances.
      properties:
        status:
          enum:
            - BLOCKED
            - DIAGNOSTICS_ONLY
        reasons:
          type: array
          items:
            type: string
        lpRecommendationEligible:
          const: false
        executionEligible:
          const: false
        basis:
          type: string
      required:
        - status
        - reasons
        - lpRecommendationEligible
        - executionEligible
        - basis
      additionalProperties: false
    LpAdviceYield:
      type: object
      description: >-
        Uniswap-reported pool APR in percentage points, independently cached for
        one hour. Source computation timestamp and lookback are unspecified;
        retrievedAt is the original local retrieval time. Expired observations
        survive failed refreshes as STALE for up to 24 hours. Missing optional
        reward evidence does not erase a reported fee or total APR. Overall
        freshness reflects the oldest displayed component; components expose
        their own clocks. Range inactivity or blocked advice does not suppress
        correctly bound pool statistics. This does not establish personal
        earnings or investment eligibility.
      properties:
        binding:
          anyOf:
            - $ref: '#/components/schemas/PoolAprIdentity'
            - type: 'null'
        status:
          enum:
            - CURRENT
            - STALE
            - UNAVAILABLE
        feeAprPct:
          type:
            - number
            - 'null'
          minimum: 0
        incentiveAprPct:
          type:
            - number
            - 'null'
          minimum: 0
        totalAprPct:
          type:
            - number
            - 'null'
          minimum: 0
        retrievedAt:
          type:
            - string
            - 'null'
          format: date-time
        validUntil:
          type:
            - string
            - 'null'
          format: date-time
        ageSeconds:
          type:
            - integer
            - 'null'
          minimum: 0
        source:
          const: Uniswap
        sourceUrl:
          const: >-
            https://liquidity.backend-prod.api.uniswap.org/uniswap.liquidity.v2.LiquidityService/GetPool
        aprUnits:
          const: percentage_points
        scope:
          const: POOL
        reasons:
          type: array
          items:
            type: string
        basis:
          type: string
        incentiveBasis:
          type: string
        components:
          type: object
          properties:
            fee:
              $ref: '#/components/schemas/PoolAprComponent'
            incentive:
              $ref: '#/components/schemas/PoolAprComponent'
            total:
              $ref: '#/components/schemas/PoolAprComponent'
          required:
            - fee
            - incentive
            - total
          additionalProperties: false
        poolKey:
          anyOf:
            - $ref: '#/components/schemas/AssessmentPoolKey'
            - type: 'null'
        assessment:
          $ref: '#/components/schemas/PoolAssessment'
      required:
        - binding
        - status
        - feeAprPct
        - incentiveAprPct
        - totalAprPct
        - retrievedAt
        - validUntil
        - ageSeconds
        - source
        - sourceUrl
        - aprUnits
        - scope
        - reasons
        - basis
        - incentiveBasis
        - components
      additionalProperties: false
    LpRangeModel:
      type: object
      properties:
        principalValue:
          type: number
        baseToken:
          type: string
          description: >-
            Exact address of the displayed base asset; may be pool token1 for
            USDG-first pools.
        quoteToken:
          type: string
          description: >-
            Exact address of the displayed quote asset and valuation numeraire;
            may be pool token0.
        valuationToken:
          type: string
          description: >-
            Exact address of the quote asset in which principalValue,
            deltaValueInQuote, gammaValueInQuote and expectedDivergenceCost are
            denominated.
        baseAmount:
          type: number
          description: Human units of baseToken, not pool-order token0.
        quoteAmount:
          type: number
          description: Human units of quoteToken, not pool-order token1.
        baseDelta:
          type: number
          description: >-
            Derivative of quote-denominated principal value with respect to the
            quote-per-base price; units of baseToken.
        deltaValueInQuote:
          type: number
          description: >-
            Price times baseDelta, denominated in quoteToken; not necessarily
            USD.
        gammaValueInQuote:
          type: number
          description: >-
            Price squared times second price derivative of principal value,
            denominated in quoteToken; not necessarily USD.
        currentInRange:
          type: boolean
        terminalInRangeProbability:
          type: number
          minimum: 0
          maximum: 1
        continuousInRangeProbability:
          type: number
          minimum: 0
          maximum: 1
        expectedActiveFraction:
          type: number
          minimum: 0
          maximum: 1
        expectedDivergenceCost:
          type: number
          minimum: 0
        model:
          type: object
          properties:
            version:
              type: string
            assumptions:
              type: array
              items:
                type: string
            divergenceMethod:
              enum:
                - deterministic
                - terminal-value-identity
                - integrated-gamma
                - vanishing-variance-limit
          required:
            - version
            - assumptions
            - divergenceMethod
          additionalProperties: false
      required:
        - principalValue
        - baseToken
        - quoteToken
        - valuationToken
        - baseAmount
        - quoteAmount
        - baseDelta
        - deltaValueInQuote
        - gammaValueInQuote
        - currentInRange
        - terminalInRangeProbability
        - continuousInRangeProbability
        - expectedActiveFraction
        - expectedDivergenceCost
        - model
      additionalProperties: false
    PoolAprIdentity:
      type: object
      description: >-
        Exact provider-bound pool identity. Tokens must be distinct and sorted
        numerically; V3 uses a 20-byte pool address and zero hook, V4 a 32-byte
        PoolId. Identity matching is not a token or hook safety approval.
      properties:
        chainId:
          const: 4663
        protocol:
          enum:
            - uniswap-v3
            - uniswap-v4
        poolId:
          type: string
          pattern: ^0x(?:[0-9a-fA-F]{40}|[0-9a-fA-F]{64})$
        token0:
          type: string
          pattern: ^0x[0-9a-fA-F]{40}$
        token1:
          type: string
          pattern: ^0x[0-9a-fA-F]{40}$
        hook:
          type: string
          pattern: ^0x[0-9a-fA-F]{40}$
      required:
        - chainId
        - protocol
        - poolId
        - token0
        - token1
        - hook
      additionalProperties: false
      allOf:
        - if:
            properties:
              protocol:
                const: uniswap-v3
          then:
            properties:
              poolId:
                pattern: ^0x[0-9a-fA-F]{40}$
              hook:
                const: '0x0000000000000000000000000000000000000000'
          else:
            properties:
              poolId:
                pattern: ^0x[0-9a-fA-F]{64}$
    AssessmentPoolKey:
      type: object
      properties:
        currency0:
          type: string
        currency1:
          type: string
        fee:
          type: integer
          minimum: 0
          maximum: 16777215
        tickSpacing:
          type: integer
          minimum: 1
          maximum: 32767
        hooks:
          type: string
      required:
        - currency0
        - currency1
        - fee
        - tickSpacing
        - hooks
      additionalProperties: false
    PoolTokenAssessment:
      type: object
      properties:
        address:
          type: string
        registrySymbol:
          type:
            - string
            - 'null'
        registryAsOf:
          type:
            - string
            - 'null'
        registryDecimals:
          type:
            - integer
            - 'null'
        issuer:
          type:
            - boolean
            - 'null'
        decimals:
          type:
            - integer
            - 'null'
        paused:
          type:
            - boolean
            - 'null'
        oraclePaused:
          type:
            - boolean
            - 'null'
        multiplier:
          type:
            - string
            - 'null'
        status:
          enum:
            - VERIFIED
            - REQUIRES_REVIEW
            - BLOCKED
            - UNAVAILABLE
        reasons:
          type: array
          items:
            type: string
      required:
        - address
        - registrySymbol
        - registryAsOf
        - registryDecimals
        - issuer
        - decimals
        - paused
        - oraclePaused
        - multiplier
        - status
        - reasons
      additionalProperties: false
    PoolAprComponent:
      type: object
      properties:
        status:
          enum:
            - CURRENT
            - STALE
            - UNAVAILABLE
        retrievedAt:
          type:
            - string
            - 'null'
          format: date-time
        validUntil:
          type:
            - string
            - 'null'
          format: date-time
        ageSeconds:
          type:
            - integer
            - 'null'
          minimum: 0
        basis:
          type: string
      required:
        - status
        - retrievedAt
        - validUntil
        - ageSeconds
        - basis
      additionalProperties: false

````

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