LP Range

Check a Uniswap v3 range on Ethereum, Base or Arbitrum: is price inside it, how far from each edge, what it earned in fees over the last day, and what moving it would cost. Pools with a stablecoin on one side. It reports the state of the range; it does not tell you to hold, move or exit.

Subscriber feature

Range checks are free with a Trader or Alpha plan. Agents can pay $0.01 per check via x402 at GET /api/lp-range.

Sign in

What it checks

A concentrated liquidity position only works inside the price range you chose. Inside it, you earn trading fees. Once price leaves, you earn nothing and are left holding one token: the falling one if price dropped out of the bottom, the stablecoin if it rose out of the top. Many positions are opened and then not looked at again.

LP Range looks at one range and says where it stands: in range or not, how far price is from each edge, what the range earned in fees over the last day, and what moving it would cost. It reports the state of the range. It does not tell you to hold, move or exit. That depends on things it cannot see, such as your view on price and what you paid in gas.

The five states

The five range states
StateYou holdEarning fees
Out, belowAll of the volatile tokenNone
Near lowerMostly the volatile tokenYes
In rangeA mix of bothYes
Near upperMostly the stablecoinYes
Out, aboveAll stablecoinNone

“Near” means price is within one typical day's move of an edge, measured from the last 30 days. A separate narrow flag is set when price would be expected to leave the range within 7 days at that rate of movement, even from the middle.

How each figure is worked out

FigureWhere it comes from
Price and rangeRead from the pool and the position on chain at the time of the request.
Distance to each edgeIn percent, and in days: how long until a typical move is as large as the gap, at the last 30 days' volatility with no trend assumed.
Fee rate, last 24 hoursFrom the pool's own fee counters now and about a day ago. For a position it is measured between that position's bounds, so hours spent out of range earn nothing. It is not a pool-wide average.
Fee rate for a range that is not a positionThe in-range rate, scaled by the hours price spent inside the range. Marked as an estimate in the response.
Fees not yet collectedWorked out from the position's fee counters. Checked against the pool's own collect call on a live position.
Cost to re-centreThe swap needed to move to a range of the same width around today's price, at the pool's fee plus 0.05% slippage. Gas is not included.
Days of fees that cost equalsRe-centre cost divided by the daily in-range fee rate.

What it does not do

  • It covers Uniswap v3 on Ethereum, Base and Arbitrum, and only pools with a stablecoin on one side. Uniswap v4, Solana pools and Osmosis are not covered yet.
  • One day of fees is a short sample. Fee rates swing a lot from day to day, so a yearly rate from 24 hours is a snapshot, not a promise.
  • The day figures assume price keeps moving as much as it did over the last 30 days and has no direction. Real markets trend.
  • It does not account for impermanent loss against simply holding, or for gas.
  • A position that has been fully withdrawn, or a pool not created by Uniswap's own factory, is refused and not charged.

Call it from an agent

$0.01 per call, paid in USDC on Base through x402: the first request comes back as 402 with the price, your client signs the payment and repeats the request. No account and no API key. Trader and Alpha subscribers send their a307_ key instead and pay nothing. A request the service cannot answer (a symbol or pool it does not cover) is not charged.

Over HTTP
# a position you hold, by its token id
GET https://agentsignal.app/api/lp-range
      ?chain=base&tokenId=6712634

# any range on a pool (prices are the
# volatile token in the stablecoin)
GET https://agentsignal.app/api/lp-range
      ?chain=base&pool=0xd0b5…F224
      &lower=1500&upper=1900
From an MCP client (@agent-signal/mcp)
get_lp_range_signal({
  chain: "base",
  token_id: "6712634"
})

get_lp_range_signal({
  chain: "base",
  pool: "0xd0b5…F224",
  lower: 1500,
  upper: 1900
})
Example response (shape is exact, values are illustrative)
{
  "venue": "uniswap-v3",
  "chain": "base",
  "pool": "0xeC558e484cC9f2210714E345298fdc53B253c27D",
  "pair": "cbBTC/USDC",
  "feeTier": 0.003,
  "source": "position",
  "tokenId": "6712634",
  "state": "IN_RANGE",
  "inRange": true,
  "narrow": false,
  "price": 60815,
  "lower": 49161,
  "upper": 71314,
  "toLower": { "pct": 0.192, "days": 48.9 },
  "toUpper": { "pct": 0.173, "days": 27.4 },
  "expectedDaysInRange": 36.6,
  "volatility": { "annualized": 0.581, "daily": 0.030, "days": 30 },
  "fees": {
    "apr24h": 0.412,
    "aprWhileInRange": 0.412,
    "measured": true,
    "inRangeShare24h": 1,
    "aprToVolatility": 0.709,
    "uncollectedUsd": 0.19
  },
  "position": { "valueUsd": 506.34, "hypothetical": false, "baseAmount": 0.00359, "quoteAmount": 287.93, "baseShare": 0.431 },
  "recentre": { "lower": 50494, "upper": 73246, "swapShare": 0.069, "costPct": 0.00024, "costUsd": 0.12, "breakEvenDays": 0.21 },
  "notes": [],
  "criteria": { "…": "every threshold used" }
}

For Agents

LP Range API — $0.01 per check

Agents pay per check via x402 on Base. Trader/alpha subscribers use an API key and pay nothing.

GET /api/lp-range?chain=base&tokenId=…