Actions34
- Convert Actions
- DEX Wallet Actions
- Discovery Actions
- Economic Calendar Actions
- Filing Text Actions
- Financial Actions
- Historical Actions
- Holding Actions
- Live Actions
- Market Actions
- SEC Filing Actions
Historical → Get DEX Bars
AI-generatedSummary
Fetches historical OHLCV bars for a DEX instrument symbol, using on-chain DEX swaps as the source. Choose a start date or RFC3339 timestamp, optionally set the end (defaults to now) and bar interval, then return a limited page or enable Return All to follow cursor-based pages.
Inputs
- Symbol (required) — DEX instrument symbol, for example ETHUSD.
- Start (required) — Start of the time window as YYYY-MM-DD or RFC3339.
- End — End of the window in YYYY-MM-DD or RFC3339; defaults to now.
- Interval — Bar bucket size: 1m, 5m, 15m, 30m, or 1h. Defaults to 1h.
- Return All — When enabled, follows next-cursor pages to return all available results; defaults to false.
- Limit — Maximum results when Return All is false; defaults to 100 and supports values from 1 to 5000.
Output shape
A list of bar items, split from the API response's data array.
With Return All enabled, the node requests subsequent pages while a next_cursor is present.
Examples
Example 1: Fetch hourly DEX bars for ETHUSD in a date range
Set Symbol to ETHUSD, Start to 2025-01-01, End to 2025-01-31, and Interval to 1h. Leave Return All off to use the configured Limit.