{"uid":"cap_8lzX3r4m2snED81uJ4-ly","slug":"compound-market-stats-a0d19438","name":"Compound Market Stats","description":"Compound v3 (Comet) market stats on Ethereum read on-chain: utilization, supply and borrow APY, total supply and borrow of the base asset, and every collateral asset with its borrow and liquidation collateral factors, liquidation factor and supply cap. Markets: usdc (cUSDCv3) or weth (cWETHv3).","url":"https://api.chainmarket-api.workers.dev/api/crypto/compound-market-stats?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","properties":{"market":{"type":"string","description":"usdc (default) or weth"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"comet":"0xc3d688B66703497DAA19211EEdff47f25384cdc3","label":"cUSDCv3 (Ethereum)","market":"usdc","source":"https://ethereum-rpc.publicnode.com","baseToken":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","checkedAt":"2026-10-23T09:35:55.292Z","baseDecimals":6,"borrowApyPct":5.9883,"supplyApyPct":5.0051,"utilizationPct":90.5523,"totalBorrowBase":351051962.600091,"totalSupplyBase":387678609.467939,"collateralAssets":[{"asset":"0xc00e94cb662c3520282e6f5717214004a7f26888","supplyCapRaw":"100000000000000000000000","liquidationFactorPct":75,"borrowCollateralFactorPct":50,"liquidateCollateralFactorPct":70},{"asset":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","supplyCapRaw":"1000000000000","liquidationFactorPct":90,"borrowCollateralFactorPct":80,"liquidateCollateralFactorPct":85}],"collateralAssetCount":13}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ci-P1fkhnAXTiS8xn4n71","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches live Compound V3 market statistics including supply/borrow APY, utilization, and collateral asset details for USDC or WETH markets on Ethereum.","exampleAgentPrompt":"What are the current supply and borrow APYs on the Compound V3 USDC market on Ethereum, and how utilized is the pool right now?","exampleUseCases":[{"title":"DeFi yield comparison for lending","prompt":"What's the current supply APY on Compound V3 for USDC? I'm trying to decide whether to deposit there or somewhere else."},{"title":"Monitoring Compound utilization rate","prompt":"Is the Compound USDC lending pool highly utilized right now? Tell me the utilization percentage and both the supply and borrow rates."},{"title":"Assessing WETH market borrow cost","prompt":"What's the current borrow APY on the Compound V3 WETH market on Ethereum? I want to know how much it costs to borrow against WETH collateral."}],"resultDescription":"Returns a JSON object containing the Compound V3 comet contract address, market label, base token address, supply APY percentage, borrow APY percentage, pool utilization percentage, total supply and borrow amounts in base token units, a list of accepted collateral assets with their supply caps and liquidation/collateral factors, and the timestamp of the data check.","failureModes":["Invalid market parameter (not 'usdc' or 'weth') returns an error","Public RPC node unavailability may cause timeouts or stale data","On-chain data read errors if the Ethereum network is congested","Payment failure due to insufficient USDC balance results in no charge and no data returned"],"whenToPreferThis":"Choose this endpoint when you need real-time Compound V3 lending market data (APY, utilization, collateral) directly from the Ethereum blockchain without requiring an API key or signup. Ideal for DeFi agents comparing lending rates, monitoring protocol health, or evaluating collateral parameters. Prefer this over general DeFi aggregators when you specifically need Compound V3 on-chain data with pay-per-call pricing and no subscription overhead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-24T12:46:03.807Z","isFirstParty":false,"canonicalSlug":"compound-market-stats-a0d19438"}