LPSignal Pools API

The pools API from LPSignal — 4 operation(s) for pools.

GitHub OpenAPI

Operations 4

GET /v1/pools Pools ranked by their best range's net APR #
GET /v1/pools/{chain}/{address} A pool and the backtest of every range it is evaluated on (1 h, 24 h, 7 d, 30 d) #
GET /v1/pools/{chain}/{address}/hours Hourly aggregates (swaps, volume, fees per unit of liquidity, ticks) #
GET /v1/pools/{chain}/{address}/backtest Backtest a ±rangePct% range (0 = full range) over the last N days #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/lpsignal-app:lpsignal-app-pools-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

lpsignal-app-pools-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: LPSignal Pools API
  version: 1.0.0
  description: 'Concentrated-liquidity LP opportunities ranked by net APR (fees − impermanent loss) of specific price ranges, from hourly backtests on exact on-chain fees; signals, a scored track record, risk alerts and a smart-LP leaderboard.


    All APR-like numbers are fractions per year (0.42 = 42%), backtested history, not a forecast.


    Reads work without a key (the free view: opportunity signals 24 h late, the smart-LP top 10 masked). An API key (Settings on lpsignal.app) is sent as `Authorization: Bearer lps_…`.


    Live push: WebSocket `wss://api.lpsignal.app/v1/stream?key=…` and signed webhooks (see the docs). AI agents: the MCP server at `/v1/mcp` (sign in with OAuth 2.1, or an API key) and `/v1/mcp/public` (the free view, no sign-in).


    Errors are JSON `{ "error": "", … }`: 400 validation, 401 auth, 403 plan, 404, 429 rate limit (Retry-After).'
  contact:
    email: support@lpsignal.app
    url: https://lpsignal.app/docs
servers:
- url: https://api.lpsignal.app
security:
- {}
- apiKey: []
tags:
- name: Pools
paths:
  /v1/pools:
    get:
      tags:
      - Pools
      operationId: listPools
      summary: Pools ranked by their best range's net APR
      security:
      - {}
      parameters:
      - name: chain
        in: query
        required: false
        schema:
          type: string
          enum:
          - ethereum
          - bsc
          - base
          - arbitrum
          - optimism
          - polygon
          - robinhood
      - name: class
        in: query
        required: false
        schema:
          type: string
          enum:
          - stable
          - correlated
          - volatile
      - name: window
        in: query
        required: false
        schema:
          type: integer
          enum:
          - 1
          - 24
          - 168
          - 720
        description: backtest window in hours (default 168)
      - name: minTvlUsd
        in: query
        required: false
        schema:
          type: number
        description: default 10000
      - name: minPoolApr
        in: query
        required: false
        schema:
          type: number
        description: pool-level 24h fee APR at least this (fraction)
      - name: stock
        in: query
        required: false
        schema:
          type: boolean
        description: true = only pools with a tokenized stock on one side (Robinhood Chain)
      - name: sort
        in: query
        required: false
        schema:
          type: string
          enum:
          - netApr
          - feeApr
          - ilApr
          - inRange
          - emissionApr
          - tvl
          - fee
          - volume24h
          - fees24h
          - poolApr
      - name: order
        in: query
        required: false
        schema:
          type: string
          enum:
          - asc
          - desc
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          minimum: 1
          maximum: 100
      - name: offset
        in: query
        required: false
        schema:
          type: integer
          minimum: 0
          maximum: 10000
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  pools:
                    type: array
                    items:
                      $ref: '#/components/schemas/PoolListItem'
                  total:
                    type: integer
                  limit:
                    type: integer
                  offset:
                    type: integer
                  sort:
                    type: string
                  order:
                    type: string
        '400':
          $ref: '#/components/responses/E400'
  /v1/pools/{chain}/{address}:
    get:
      tags:
      - Pools
      operationId: getPool
      summary: A pool and the backtest of every range it is evaluated on (1 h, 24 h, 7 d, 30 d)
      security:
      - {}
      parameters:
      - name: chain
        in: path
        required: true
        schema:
          type: string
          enum:
          - ethereum
          - bsc
          - base
          - arbitrum
          - optimism
          - polygon
          - robinhood
      - name: address
        in: path
        required: true
        schema:
          type: string
          pattern: ^0x([0-9a-fA-F]{40}|[0-9a-fA-F]{64})$
          description: pool address, or a Uniswap v4 pool id
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  pool:
                    type: object
                    description: the pool record (tokens, fee, tick spacing, TVL, …)
                  metrics:
                    type: array
                    items:
                      type: object
                      properties:
                        windowHours:
                          type: integer
                        rangeBp:
                          type: integer
                          description: half-width of the range in basis points of price; 0 = full range
                        tickLower:
                          type: integer
                        tickUpper:
                          type: integer
                        exact:
                          type: boolean
                          description: every hour has exact (feeGrowth) fees; only exact figures fire signals
                        feeApr:
                          type: number
                          description: 'fees earned, annualised (a fraction: 0.42 = 42%)'
                        ilApr:
                          type: number
                          description: 'impermanent loss vs holding, annualised (≤ 0) (a fraction: 0.42 = 42%)'
                        netApr:
                          type: number
                          description: 'feeApr + ilApr (a fraction: 0.42 = 42%)'
                        inRangeRatio:
                          type: number
                          description: 'share of the window the price spent in the range (a fraction: 0.42 = 42%)'
                        asOf:
                          type: string
                          format: date-time
        '400':
          $ref: '#/components/responses/E400'
        '404':
          $ref: '#/components/responses/E404'
  /v1/pools/{chain}/{address}/hours:
    get:
      tags:
      - Pools
      operationId: getPoolHours
      summary: Hourly aggregates (swaps, volume, fees per unit of liquidity, ticks)
      security:
      - {}
      parameters:
      - name: chain
        in: path
        required: true
        schema:
          type: string
          enum:
          - ethereum
          - bsc
          - base
          - arbitrum
          - optimism
          - polygon
          - robinhood
      - name: address
        in: path
        required: true
        schema:
          type: string
          pattern: ^0x([0-9a-fA-F]{40}|[0-9a-fA-F]{64})$
          description: pool address, or a Uniswap v4 pool id
      - name: hours
        in: query
        required: false
        schema:
          type: integer
          minimum: 1
          maximum: 720
        description: default 168
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  hours:
                    type: array
                    items:
                      type: object
        '400':
          $ref: '#/components/responses/E400'
        '404':
          $ref: '#/components/responses/E404'
  /v1/pools/{chain}/{address}/backtest:
    get:
      tags:
      - Pools
      operationId: backtestRange
      summary: Backtest a ±rangePct% range (0 = full range) over the last N days
      security:
      - {}
      description: Rate limited separately (30 a minute per key or IP).
      parameters:
      - name: chain
        in: path
        required: true
        schema:
          type: string
          enum:
          - ethereum
          - bsc
          - base
          - arbitrum
          - optimism
          - polygon
          - robinhood
      - name: address
        in: path
        required: true
        schema:
          type: string
          pattern: ^0x([0-9a-fA-F]{40}|[0-9a-fA-F]{64})$
          description: pool address, or a Uniswap v4 pool id
      - name: rangePct
        in: query
        required: true
        schema:
          type: number
          minimum: 0
          maximum: 50
        description: 0 = full range, else ≥ 0.01
      - name: days
        in: query
        required: false
        schema:
          type: integer
          minimum: 1
          maximum: 30
        description: default 7
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  windowHours:
                    type: integer
                  rangeBp:
                    type: integer
                    description: half-width of the range in basis points of price; 0 = full range
                  tickLower:
                    type: integer
                  tickUpper:
                    type: integer
                  exact:
                    type: boolean
                    description: every hour has exact (feeGrowth) fees; only exact figures fire signals
                  feeApr:
                    type: number
                    description: 'fees earned, annualised (a fraction: 0.42 = 42%)'
                  ilApr:
                    type: number
                    description: 'impermanent loss vs holding, annualised (≤ 0) (a fraction: 0.42 = 42%)'
                  netApr:
                    type: number
                    description: 'feeApr + ilApr (a fraction: 0.42 = 42%)'
                  inRangeRatio:
                    type: number
                    description: 'share of the window the price spent in the range (a fraction: 0.42 = 42%)'
                  asOf:
                    type: string
                    format: date-time
                  chain:
                    type: string
                    enum:
                    - ethereum
                    - bsc
                    - base
                    - arbitrum
                    - optimism
                    - polygon
                    - robinhood
                  address:
                    type: string
                  days:
                    type: integer
                  startTick:
                    type: integer
                  endTick:
                    type: integer
                  uncertainFeeApr:
                    type: number
                    description: 'fees of hours straddling a range edge (a fraction: 0.42 = 42%)'
                  feesExact:
                    type: boolean
        '400':
          $ref: '#/components/responses/E400'
        '404':
          $ref: '#/components/responses/E404'
        '429':
          $ref: '#/components/responses/E429'
components:
  schemas:
    Error:
      type: object
      required:
      - error
      properties:
        error:
          type: string
          description: a stable code, e.g. invalid_request, invalid_api_key, pool_not_found, pro_required, rate_limited
        issues:
          type: array
          items:
            type: object
            properties:
              path:
                type: string
              message:
                type: string
    PoolListItem:
      type: object
      properties:
        chain:
          type: string
          enum:
          - ethereum
          - bsc
          - base
          - arbitrum
          - optimism
          - polygon
          - robinhood
        address:
          type: string
        dex:
          type: string
        pair:
          type: string
        fee:
          type: integer
          description: fee tier in millionths (500 = 0.05%)
        pairClass:
          type: string
        tvlUsd:
          type: number
        tvlAt:
          oneOf:
          - type: string
          - type: 'null'
        volume24hUsd:
          oneOf:
          - type: number
          - type: 'null'
        fees24hUsd:
          oneOf:
          - type: number
            description: 'ESTIMATED: volume × fee rate'
          - type: 'null'
        poolApr24h:
          oneOf:
          - type: number
            description: 'pool-level 24h fee APR, as DEX sites show it (a fraction: 0.42 = 42%)'
          - type: 'null'
        best:
          type: object
          properties:
            windowHours:
              type: integer
            rangeBp:
              type: integer
              description: half-width of the range in basis points of price; 0 = full range
            tickLower:
              type: integer
            tickUpper:
              type: integer
            exact:
              type: boolean
              description: every hour has exact (feeGrowth) fees; only exact figures fire signals
            feeApr:
              type: number
              description: 'fees earned, annualised (a fraction: 0.42 = 42%)'
            ilApr:
              type: number
              description: 'impermanent loss vs holding, annualised (≤ 0) (a fraction: 0.42 = 42%)'
            netApr:
              type: number
              description: 'feeApr + ilApr (a fraction: 0.42 = 42%)'
            inRangeRatio:
              type: number
              description: 'share of the window the price spent in the range (a fraction: 0.42 = 42%)'
            asOf:
              type: string
              format: date-time
            net24h:
              oneOf:
              - type: number
                description: 'the same range over the last 24 h (a fraction: 0.42 = 42%)'
              - type: 'null'
            stakedEmissionApr:
              type: number
              description: 'Slipstream gauge emissions if staked instead (informational) (a fraction: 0.42 = 42%)'
  responses:
    E404:
      description: not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    E400:
      description: invalid request
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    E429:
      description: rate limited (Retry-After)
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      description: 'An LPSignal API key: `Authorization: Bearer lps_…`'
externalDocs:
  url: https://lpsignal.app/docs
  description: 'Documentation, SDKs (npm/PyPI: lpsignal), WebSocket and webhooks'