{"slug":"acp-ratehopper-ai-x402-provide-lending-rate-history-e2b411","title":"Historical lending (supply-side) rates across Aave v3, Morpho, Compound v3, Moon","host":"acp.ratehopper.ai","method":"POST","resource":"https://acp.ratehopper.ai/x402/provide_lending_rate_history","category":"market","description":"Historical lending (supply-side) rates across Aave v3, Morpho, Compound v3, Moonwell and Fluid. LEND rates only - borrow rates live on provide_borrowing_rate_history. Three shapes: end-of-day moving averages across a chain (mode=eod), raw hourly snapshots (mode=hourly), or the whole retained history","price_listed":0.01,"price_asked":0.01,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":355,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{"assetAddress":{"description":"Token contract address filter (mode=hourly | full)","example":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","examples":["0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"],"type":"string"},"chainId":{"default":8453,"description":"Chain id, e.g. 8453 for Base (mode=eod)","example":8453,"examples":[8453],"exclusiveMinimum":0,"type":"number"},"days":{"default":30,"description":"Trailing days to return (mode=eod)","example":30,"examples":[30],"exclusiveMinimum":0,"maximum":365,"type":"number"},"externalMarketId":{"description":"Market identifier filter. Get one from provide_lending_markets.","example":"0x1c21c59df9db44bf6f645d854ee710a8ca17b479451447e9f56758aee10a2fad","examples":["0x1c21c59df9db44bf6f645d854ee710a8ca17b479451447e9f56758aee10a2fad"],"type":"string"},"limit":{"default":100,"description":"Rows per page","example":100,"examples":[100],"exclusiveMinimum":0,"maximum":1000,"type":"number"},"mode":{"default":"eod","description":"eod = end-of-day moving averages across a chain; hourly = raw hourly snapshots; full = one market’s whole retained history. mode=full requires slug.","enum":["eod","hourly","full"],"example":"eod","examples":["eod"],"type":"string"},"offset":{"default":0,"description":"Page offset","example":0,"examples":[0],"maximum":100000,"minimum":0,"type":"number"},"slug":{"description":"Single protocol slug, e.g. aave_v3_base. Required when mode=full. List them with provide_lending_markets.","example":"aave_v3_base","examples":["aave_v3_base"],"type":"string"},"slugs":{"description":"Several protocol slugs (mode=hourly)","example":["aave_v3_base","morpho_v1_base"],"examples":[["aave_v3_base","morpho_v1_base"]],"items":{"type":"string"},"type":"array"},"snapshotTime":{"description":"ISO-8601 instant; pins mode=hourly to one snapshot","example":"2026-08-01T00:00:00Z","examples":["2026-08-01T00:00:00Z"],"type":"string"},"symbol":{"description":"Token symbol filter, e.g. USDC, WETH, cbBTC (mode=eod)","example":"USDC","examples":["USDC"],"type":"string"}},"required":[],"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":"Whether this was served from cache","type":"boolean"},"data":{"description":"The LEND-rate payload. mode=hourly returns a bare ARRAY of hourly rate rows; mode=eod and mode=full return { success, data: { rates, total } }. Rows carry per-horizon moving-average APYs (ma_1h/1d/7d/14d/30d/60d/90d/180d/365d) plus market price, size and utilization"},"endpoint":{"description":"Upstream path 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","type":"string"},"query":{"description":"The resolved query, so the read is reproducible","type":"object"},"source":{"description":"Upstream that produced the data (rh-history)","type":"string"},"status":{"description":"completed, or failed with an error field","type":"string"}},"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-11-30","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":355,"error":null}],"description_full":"Historical lending (supply-side) rates across Aave v3, Morpho, Compound v3, Moonwell and Fluid. LEND rates only - borrow rates live on provide_borrowing_rate_history. Three shapes: end-of-day moving averages across a chain (mode=eod), raw hourly snapshots (mode=hourly), or the whole retained history for a single market (mode=full).","last_updated":"2026-11-30T07:56:38.551Z","schemes":["exact"]}