Interval Feeds excel at providing high-frequency, low-latency data for mission-critical DeFi applications because they push updates on a fixed schedule. For example, Chainlink Data Feeds on Ethereum mainnet update every block (approx. 12 seconds) with a 99.9%+ uptime, securing over $20B in TVL for protocols like Aave and Synthetix. This model prioritizes data availability and consistency, ensuring on-chain applications always have a recent price.
Interval Feeds vs Request Feeds
Introduction: The Core Architectural Divide
Choosing between interval and request feeds is a fundamental architectural decision that dictates your oracle's cost, latency, and data freshness.
Request Feeds take a different approach by operating on a pull-based model, where data is fetched on-demand. This strategy, used by Chainlink Functions or API3's dAPIs, results in a trade-off: you gain flexibility to access any API and pay only for what you use, but you incur higher per-call latency (often 10-30+ seconds) and gas costs. It shifts the burden of freshness to the dApp's logic.
The key trade-off: If your priority is ultra-reliable, sub-minute data for high-value transactions (e.g., perpetuals, lending liquidations), choose Interval Feeds. If you prioritize flexibility, cost-control for low-frequency data, or custom computations (e.g., NFT rarity scores, sports results), choose Request Feeds.
TL;DR: Key Differentiators at a Glance
A high-level comparison of the two primary data delivery models for on-chain oracles.
Interval Feeds: Proactive & Continuous
Automated updates: Data is pushed on-chain at fixed intervals (e.g., every block, 30 seconds). This matters for real-time monitoring like DeFi lending/borrowing protocols (Aave, Compound) that need constant price checks for liquidations.
Interval Feeds: Higher Gas Cost
Continuous on-chain cost: Updates occur regardless of demand, leading to higher aggregate gas consumption for the network. This matters for cost-sensitive protocols where data freshness is less critical than operational overhead.
Request Feeds: On-Demand & Efficient
Pull-based model: Data is fetched only when a user or contract explicitly requests it, minimizing baseline gas costs. This matters for event-driven applications like insurance payouts (Nexus Mutual) or options settlements that need data at specific moments.
Request Feeds: Latency & Complexity
User-incurred latency: The requesting contract must handle the callback, adding complexity and a 1-2 block delay. This matters for high-frequency trading or any application where sub-block finality and simple integration are paramount.
Interval Feeds vs Request Feeds
Direct comparison of key technical and operational metrics for on-chain data delivery.
| Metric | Interval Feeds | Request Feeds |
|---|---|---|
Update Latency (Typical) | 5-60 seconds | ~1-2 seconds |
Data Freshness Guarantee | Periodic | On-Demand |
Gas Cost for Consumer | ~$0.01 (shared) | $0.10 - $1.00 (per request) |
Supported by Chainlink | ||
Use Case Fit | High-Frequency Data (e.g., Price) | Event-Driven Data (e.g., VRF, Sports) |
Network Overhead | Constant (scheduled updates) | Variable (user-initiated) |
Example Protocol | Chainlink Data Feeds | Chainlink VRF / Any API |
Cost Structure Analysis
Direct comparison of operational and financial trade-offs for on-chain data delivery.
| Metric | Interval Feeds | Request Feeds |
|---|---|---|
Primary Cost Driver | Data Update Frequency | Per-Request Execution |
Gas Cost Model | Fixed per update (e.g., $0.50) | Variable per request (e.g., $0.02-$0.50) |
Cost Predictability | High (fixed schedule) | Low (depends on network congestion) |
Ideal for High-Frequency Data | ||
Ideal for Low-Volume, On-Demand Data | ||
Infrastructure Overhead | High (requires continuous operation) | Low (triggered by user) |
Example Use Case | Perpetual DEX price oracles | NFT rarity score verification |
Interval Feeds (Push Model): Pros and Cons
Key architectural trade-offs between proactive (Interval) and reactive (Request) oracle models for different application needs.
Interval Feed: Proactive Updates
Guaranteed Freshness: Data is pushed on-chain at fixed intervals (e.g., every 5 minutes for Chainlink Data Streams). This ensures deterministic latency for applications like perpetual DEXs (GMX, Synthetix) that require continuous price updates without user action.
Interval Feed: Predictable Cost
Gas Efficiency for High Frequency: Update costs are amortized across all users of the feed. For protocols with heavy volume like Aave or Compound, this creates predictable, lower per-user oracle costs compared to paying for individual pull requests.
Interval Feed: Cons & Overhead
Inefficient for Low Activity: Continuously updating data for dormant assets or chains wastes gas. This model struggles with long-tail assets or niche data pairs where update frequency outpaces demand, as seen with some less-liquid Chainlink feeds.
Interval Feed: Centralized Trigger
Reliance on Off-Chain Infrastructure: The update cycle is initiated by off-chain nodes. This introduces a liveness dependency on these nodes, creating a potential single point of failure if the node network halts, unlike decentralized pull mechanisms.
Request Feed: On-Demand Precision
Pay-Per-Use Efficiency: Data is fetched only when a user transaction requires it (e.g., Chainlink Any API, API3 dAPIs). Ideal for low-frequency events like insurance payouts (Nexus Mutual) or NFT rarity checks, eliminating idle update costs.
Request Feed: Cons & Latency
Unpredictable User Experience: The end-user pays the gas and waits for the entire request-fulfillment cycle, adding variable latency (5-30+ seconds). This is problematic for front-ends requiring instant quotes, unlike the sub-second finality of pre-pushed data.
Request Feeds (Pull Model): Pros and Cons
Key architectural trade-offs for on-chain data delivery. Interval feeds push data automatically, while request feeds require explicit on-chain calls.
Interval Feed: Pro - Predictable Cost & Latency
Fixed operational overhead: Costs are borne by the oracle service and amortized across all users, leading to predictable gas fees for data consumers. Latency is bound by the update interval (e.g., every block, 12 seconds). This matters for high-frequency dApps like perpetual DEXs or lending protocols that need consistent, time-bound data without user-initiated transactions.
Interval Feed: Con - Data Freshness Lag
Inherent update delay: Data is only as fresh as the last scheduled update. During volatile market events, price feeds can be stale until the next interval, creating arbitrage opportunities or liquidation delays. This is a critical trade-off for options protocols or NFT floor price oracles where real-time accuracy is paramount.
Request Feed: Pro - On-Demand Freshness
User-triggered precision: Data is fetched at the exact moment needed by the smart contract, guaranteeing freshness for that specific transaction. This is ideal for low-frequency, high-value settlements like OTC trades, insurance claim payouts, or bespoke derivatives where the cost of a single stale data point is catastrophic.
Request Feed: Con - Variable Cost & Complexity
Unpredictable gas fees: The requester pays all gas for the data fetch and callback, which can spike during network congestion. It also introduces callback complexity, requiring smart contracts to handle asynchronous responses. This adds development overhead and is less suitable for high-volume automated systems like AMMs.
Decision Guide: Use Case Scenarios
Interval Feeds for DeFi
Verdict: The default choice for most DeFi primitives. Strengths: Continuous data availability is critical for perpetuals (GMX, Synthetix), lending (Aave, Compound), and stablecoins. The low-latency and high-frequency updates (e.g., 1-second intervals) prevent oracle front-running and ensure accurate liquidation prices. Gas efficiency for high-volume protocols is superior, as data is pushed on-chain once for all users. Key Metrics: Sub-second latency, ~200K gas per update (amortized across all users), battle-tested by Chainlink Data Streams on Arbitrum and Base.
Request Feeds for DeFi
Verdict: Niche use for low-frequency, high-value settlements. Strengths: Cost predictability for one-off operations like finalizing an insurance payout (Nexus Mutual) or executing a low-volume derivatives expiry. The on-demand model avoids paying for unused data. Trade-off: Introduces latency (multiple block confirmations) and is vulnerable to MEV during the request-fulfillment cycle, making it unsuitable for high-speed trading.
Final Verdict and Decision Framework
A data-driven breakdown to guide your choice between proactive and reactive oracle models.
Interval Feeds excel at providing predictable, low-latency data for high-frequency applications because they push updates on a fixed schedule, independent of on-chain requests. For example, Chainlink Data Feeds on networks like Arbitrum or Avalanche deliver price updates every heartbeat (e.g., 1-10 seconds) with sub-second finality, enabling perpetual DEXs like GMX to execute liquidations with minimal oracle lag. This model prioritizes freshness and consistency, making it ideal for protocols where stale data equates to direct financial risk.
Request Feeds take a different approach by operating on-demand, which results in a fundamental trade-off between cost-efficiency and latency. A protocol like API3's dAPIs or a custom Chainlink Any-API job only triggers an update and incurs gas costs when a user transaction requires fresh data. This is optimal for less time-sensitive functions like settling an insurance claim or minting an NFT based on verifiable randomness, but introduces a 2-15 second wait per request as the oracle network fulfills the query.
The key architectural trade-off is between proactive consistency and reactive cost control. If your priority is ultra-low latency and constant state synchronization for DeFi primitives (e.g., lending, derivatives, algorithmic stablecoins), choose Interval Feeds. Their predictable update cadence and high reliability (99.9%+ uptime SLA) are non-negotiable. If you prioritize minimizing operational gas overhead for event-driven, user-initiated actions or accessing niche data not worth broadcasting continuously, choose Request Feeds. The decision ultimately hinges on whether your application's value is defined by millisecond freshness or by minimizing the cost of oracle truth.
Build the
future.
Our experts will offer a free quote and a 30min call to discuss your project.