{"slug":"acp-ratehopper-ai-x402-provide-lp-fee-apy-history-387b31","title":"What a Uniswap LP price range actually earned, day by day, from exact on-chain f","host":"acp.ratehopper.ai","method":"POST","resource":"https://acp.ratehopper.ai/x402/provide_lp_fee_apy_history","category":"market","description":"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 dilut","price_listed":0.01,"price_asked":0.01,"state":"answering","state_label":"Answering","checked_on":"2026-12-03","checks_7d":4,"answered_7d":4,"latency_ms_median":436,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"priceLower":2200,"priceUpper":2800},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$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 — 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"},"history":[{"day":"2026-12-03","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":331,"error":null},{"day":"2026-12-02","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":327,"error":null},{"day":"2026-12-01","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":863,"error":null},{"day":"2026-11-30","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":542,"error":null}],"description_full":"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.","last_updated":"2026-11-30T07:57:42.372Z","schemes":["exact"]}