Go back

Compound (COMP) API and Price Oracle

Compound icon

Compound

COMP
$ 
Information
For informational use only; request a custom oracle/API for production below.

General information

Contract address
Smart contract address of the asset
More info
0xc00e...6888
Network
Blockchain network where the asset is deployed
More info
ethereum
Methodology
Pricing methodology used to determine the price of the token in USD. By default, all price feeds on the DIA App are calculated with a MAIR methodology. This parameter is customisable.Learn more about methodologies.
More info
MAIR
Update frequency
120 seconds is the default update frequency. This parameter is customisable.Learn more about oracle updates.
More info
120s
Next update
24h Volume
The total volume captured by DIA across all the integrated sources.
More info
Source
Volume 24h
Trades 24h
Pairs

Get a custom Compound price oracle or API endpoint

Request custom oracle

Request a fully tailored price oracle implementation

  • Autonomously deploy oracles under 3 minutes
  • Tailored oracles for any individual needs
  • Editable, updatable oracles
  • Real-time gas balance notifications
  • Available in 50+ chains
Start request process

Token information

What is Compound (COMP)?

Compound (COMP) is the governance token of the Compound protocol, a decentralized lending and borrowing platform built on Ethereum. Launched in 2018, Compound allows users to deposit cryptocurrency as collateral and borrow other assets, with interest rates determined algorithmically by supply and demand. COMP tokens enable holders to vote on protocol changes and parameter adjustments. The token was created to decentralize governance of the platform.

The Compound price API is a data endpoint that delivers real-time COMP token price information aggregated from trades across multiple on-chain and off-chain exchanges. Developers integrate this API into applications to retrieve current market prices, historical price movements, and volatility metrics for Compound, the governance token of the Compound lending protocol.

A developer building a trading dashboard, portfolio tracker, or DeFi application would call the API to populate COMP price displays, execute conditional logic based on price thresholds, or calculate collateral values in lending contracts.

DIA offers a Compound price API by aggregating individual trade data across 100+ exchanges. The free endpoint available on this page is suitable for testing and evaluation. For production deployments, DIA builds dedicated feeds configurable by data sources, pricing methodology, and update frequency through DIA's Discord or Telegram.

DIA publishes a free Compound price API endpoint on this asset page, available for developers to test and evaluate without cost. The free endpoint is designed for testing and evaluation purposes, not for production use. Developers requiring production deployments or customized Compound price feeds can request these through DIA's Discord or Telegram channels. DIA's production feeds are configurable by data sources, pricing methodology, and update frequency to meet specific application requirements across the 60+ blockchains DIA supports.

A blockchain price oracle is an external data provider that supplies verified offchain information to smart contracts on a blockchain, enabling contracts to access real-world market data they cannot fetch directly.

DIA can deploy a Compound price oracle on any of its 60+ supported blockchains, delivering onchain COMP price data for smart contracts to consume. DIA's market price feeds aggregate individual trade data from 100+ exchanges, covering 3,000+ assets including Compound. The oracle infrastructure runs on Lasernet, DIA's Ethereum layer-2 rollup, which makes each feed independently verifiable through the blockchain itself.

A free price-feed API endpoint is available for testing. For production deployments or custom requirements—such as configurable data sources, pricing methodology, and update frequency—developers can request a dedicated feed via DIA's Discord or Telegram channels.

DIA calculates Compound price by aggregating individual trade data for COMP across multiple on-chain and off-chain sources. Rather than relying on a single exchange or liquidity pool, DIA collects trades from 100+ exchanges to construct a market-wide price. This aggregation approach reduces the impact of any single venue's liquidity conditions or anomalous activity on the final price.

The sources and pricing methodology used in DIA's COMP feed are transparent and auditable. For production deployments, the data sources, calculation methodology, and update frequency can be customized to match specific application requirements. Custom feeds are configured through direct discussion with DIA's team via Discord or Telegram, allowing projects to tailor the price oracle to their operational needs.

Compound is a decentralized lending protocol where users supply assets to earn interest and borrow against collateral. Developers building on Compound's ecosystem use COMP price data for several concrete applications:

Collateral valuation systems monitor COMP's real-time price to calculate loan-to-value ratios and trigger liquidations when borrowers' collateral falls below required thresholds.

Governance incentive dashboards display the current COMP token value so users can evaluate rewards from lending or borrowing activity against transaction costs.

Risk management tools ingest COMP price feeds to model exposure across lending pools and alert protocols to market stress that could affect borrower solvency.

These integrations require reliable, frequently updated pricing to function accurately in real-time environments.

Developers integrating Compound price data can choose DIA for several concrete reasons. DIA aggregates trade data from 100+ exchanges across on-chain and off-chain sources, making the sourcing transparent and auditable. Rather than accepting a fixed feed, teams can request a custom Compound price oracle configured by specific data sources, pricing methodology, and update frequency that match their application's requirements.

DIA deploys across 60+ blockchains, so Compound price feeds are accessible wherever the application lives. Each feed runs on Lasernet, DIA's Ethereum layer-2 rollup, enabling independent verification of the oracle data directly on-chain.

To evaluate DIA's Compound pricing, developers can test the free price-feed API endpoint available on this page. For production use or custom specifications, teams request a dedicated feed through DIA's Discord or Telegram.

Why use DIA data feeds and oracles?

Transparent

DIA provides full insight on the oracle’s data journey as well monitoring tools to track feeds in real-time.

Customisable

Oracles can be tailored to any use case in terms of data sources, methodologies and update mechanisms and much more.

Broadest coverage

DIA provides price oracles for 3,000+ cryptocurrencies: from blue-chip tokens to long-tail assets.