What a Uniswap LP price range actually earned, day by day, from exact on-chain f
What a Uniswap LP price range actually earned, day by day, from exact on-chain fee data: one row per day with collected fees (USD and per token), the day's price path, in-range share, the pool's own volume/fees/TVL and your reference liquidity share. Aggregate it yourself for a window APY. For dilution-aware sizing of a real deposit, use provide_lp_venue_quote.
Answeringour last check, 2026-12-03
4 of 4checks answered this week
436 msmedian answer time
$0.01listed price per call
$0.01price it asked us
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://acp.ratehopper.ai/x402/provide_lp_fee_apy_history
| Category | Market data |
|---|---|
| Provider host | acp.ratehopper.ai |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 1 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-12-03 | valid payment request | 402 | $0.01 | 331 ms |
| 2026-12-02 | valid payment request | 402 | $0.01 | 327 ms |
| 2026-12-01 | valid payment request | 402 | $0.01 | 863 ms |
| 2026-11-30 | valid payment request | 402 | $0.01 | 542 ms |
Example input (from the provider)
{
"body": {
"priceLower": 2200,
"priceUpper": 2800
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"properties": {
"days": {
"default": 30,
"description": "Window length in days. Mutually exclusive with hours.",
"example": 30,
"examples": [
30
],
"exclusiveMinimum": 0,
"maximum": 365,
"type": "number"
},
"pool": {
"default": "ETH/USDC:3000:base",
"description": "Pool key. List the valid keys with provide_lp_reference_data.",
"example": "ETH/USDC:3000:base",
"examples": [
"ETH/USDC:3000:base"
],
"type": "string"
},
"priceLower": {
"description": "Lower price bound of the range. Must be below priceUpper.",
"example": 2200,
"examples": [
2200
],
"exclusiveMinimum": 0,
"type": "number"
},
"priceUpper": {
"description": "Upper price bound of the range. Must be above priceLower.",
"example": 2800,
"examples": [
2800
],
"exclusiveMinimum": 0,
"type": "number"
},
"windowEnd": {
"description": "ISO-8601 end of the window. Defaults to now.",
"example": "2026-08-01T00:00:00Z",
"examples": [
"2026-08-01T00:00:00Z"
],
"type": "string"
}
},
"required": [
"priceLower",
"priceUpper"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"cached": {
"description": "true when served from our cache rather than a fresh upstream call",
"type": "boolean"
},
"data": {
"description": "metric=apy: pa, pb, poolLabel and windows[] with windowDays, apy_pct, outOfRangePct, status and a strategy-first `yield` breakdown (headline exactly one strategy - never sum across them). metric=daily-fees: the per-day collected-fee series. metric=liquidity-share: the dilution-corrected APY for the given capital."
},
"endpoint": {
"description": "The upstream path (or table) the payload came from",
"type": "string"
},
"error": {
"description": "Present when status=failed",
"type": "string"
},
"fetchedAt": {
"description": "ISO-8601 time the payload was read",
"type": "string"
},
"offering": {
"description": "Echo of the offering name, so a batched caller can tell answers apart",
"type": "string"
},
"query": {
"description": "The resolved query after defaults and normalisation \u2014 what was actually asked, so the read is reproducible",
"type": "object"
},
"source": {
"description": "setthetick",
"type": "string"
},
"status": {
"description": "completed when the read succeeded, failed when it did not (see error)",
"type": "string"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}