> ## 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-pool-apr

> Fee APR, incentive APR and total APR for one Uniswap V3 or V4 pool on Robinhood Chain, in percentage points, with source and age. Exact pool identity required. $0.001 USDC on Base per call.

**Price:** 0.001 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-pool-apr
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-pool-apr:
    post:
      tags:
        - defi-and-markets-data
      summary: >-
        Fee, incentive and total APR for one Uniswap pool on Robinhood Chain,
        with source and age.
      description: >-
        Fee APR, incentive APR and total APR for one Uniswap V3 or V4 pool on
        Robinhood Chain, in percentage points, with source and age. Exact pool
        identity required. $0.001 USDC on Base per call.
      operationId: lp_pool_apr
      requestBody:
        required: true
        content:
          application/json:
            schema:
              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}$
            example:
              chainId: 4663
              protocol: uniswap-v4
              poolId: >-
                0xcc2a903a8744a65258bb07fbeea553a25410f731c9fef306321d0c176a09542c
              token0: '0x117cc2133c37b721f49de2a7a74833232b3b4c0c'
              token1: '0xff080c8ce2e5feadaca0da81314ae59d232d4afd'
              hook: '0x0000000000000000000000000000000000000000'
      responses:
        '200':
          description: >-
            Read-only LP result; pool APR has independent source and freshness
            metadata
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PoolAprResponse'
        '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:
    PoolAprResponse:
      allOf:
        - $ref: '#/components/schemas/LpAdviceYield'
        - type: object
          required:
            - assessment
    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
    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}$
    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
    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
    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.
    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

````

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