Products

Environment

Community

Get access

Products

Environment

Community

Get access

Products

Environment

Community

Get access

Historical Data

Historical Data

Download large amounts of historical data quickly for ERC-20 trading pairs and other digital asset data. Pangea’s historical data is perfect for backtesting and simulation of DeFi trading strategies, machine learning, and AI use cases, as well as marketplace data. Ideal for hedge funds, high-frequency traders, market makers, and quantitative analysts. 

Effortless Integration

Fast and Comprehensive Data Access

Pangea’s historical data solution offers a significant advantage for those in data-heavy industries like hedge funds, high-frequency trading, and DeFi strategies. One key benefit is the ability to download vast amounts of historical data for ERC-20 trading pairs and other digital assets quickly and efficiently.

This enables traders, quantitative analysts, and market makers to backtest strategies, simulate trades, and enhance machine learning models with accurate, context-rich datasets. In such fast-paced environments, quick access to large-scale data is essential for staying competitive and making informed decisions.

Get access

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

use std::collections::HashSet;

use futures::StreamExt;

use pangea_client::{

core::types::{format::Format, ChainId},

provider::UniswapV3Provider,

query::Bound,

requests::uniswap_v3::GetPricesRequest,

ClientBuilder,

WsProvider,

};


#[tokio::main]

async fn main() {

dotenv::dotenv().ok();


let username = std::env::var("PANGEA_USERNAME").unwrap();

let password = std::env::var("PANGEA_PASSWORD").unwrap();

let url = std::env::var("PANGEA_URL").unwrap_or("app.pangea.

foundation".to_string());


1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

// setup websocket client

let client = ClientBuilder::default()

.endpoint(&url)

.credential(&username, &password)

.build::<WsProvider>()

.await

.unwrap();


// subscribe to prices

let request = GetPricesRequest {

chains: HashSet::from([ChainId::ETH]),

from_block: Bound::Latest,

to_block: Bound::Subscribe, // real-time

// for historical data without subscription uncomment below

// from_block: Bound::FromLatest(100),

// to_block: Bound::Latest,

..Default::default()

};

Effortless Integration

Privacy and Context-Rich Insights

A major benefit of Pangea’s historical data is the focus on privacy and security. All data queries are private to the user, ensuring sensitive market analysis and proprietary trading strategies remain confidential.

Beyond privacy, Pangea’s data is rich in context, offering not only raw historical figures but also detailed insights that enhance decision-making. This depth of information makes it an ideal solution for building advanced financial models, optimising DeFi protocols, and generating actionable, data-driven insights with confidence.

Get access

Get access

Testimonials

“[Pangea] is the most based chain.”

John Lillic

“By using [Pangea], we can stay on top of the information game and use the quality results that we get.”

Fyde Treasury Management

“Think of it as a fast, organized library of valuable real-time and historic datasets provided via a streaming architecture.”

Telos

“Not only are they building the most essential railroads and supplying the data this industry needs to build on, I’ve rarely had the privilege of working with such a talented and earnest team.”

Una

“[Pangea] is a blazing-fast next-gen indexer.”

Movement Labs

“Both James and Max have a steadfast vision of how an open, fast, and decentralized index protocol will win.”

Blockchain Capital

“Leveraging Pangea for capturing and managing crypto transactions for financial reporting purposes has proven to be a game-change”

Stratom

“[Pangea] feels like an evolution of the RPC node in that regard.”

Nikola, DeFI Saver

Testimonials

“[Pangea] is the most based chain.”

John Lillic

“By using [Pangea], we can stay on top of the information game and use the quality results that we get.”

Fyde Treasury Management

“Think of it as a fast, organized library of valuable real-time and historic datasets provided via a streaming architecture.”

Telos

“Not only are they building the most essential railroads and supplying the data this industry needs to build on, I’ve rarely had the privilege of working with such a talented and earnest team.”

Una

“[Pangea] is a blazing-fast next-gen indexer.”

Movement Labs

“Both James and Max have a steadfast vision of how an open, fast, and decentralized index protocol will win.”

Blockchain Capital

“Leveraging Pangea for capturing and managing crypto transactions for financial reporting purposes has proven to be a game-change”

Stratom

“[Pangea] feels like an evolution of the RPC node in that regard.”

Nikola, DeFI Saver

Our Knowledge

Frequently asked questions

Find answers to common questions and get the information you need to make the most of our services.

How fast is your data?

Pangea is within 100ms from the tip of the chain and within 200ms for reorgs.

How does Pangea's real-time data work?

Pangea has built custom streaming databases to produce highly performant data.

How can you solve my real-time data problem?

Pangea data specialists will do a deep dive and technical evaluation to discover the best way that we can support your specific use case.

How fast is your data?

Pangea is within 100ms from the tip of the chain and within 200ms for reorgs.

How does Pangea's real-time data work?

Pangea has built custom streaming databases to produce highly performant data.

How can you solve my real-time data problem?

Pangea data specialists will do a deep dive and technical evaluation to discover the best way that we can support your specific use case.

How fast is your data?

Pangea is within 100ms from the tip of the chain and within 200ms for reorgs.

How does Pangea's real-time data work?

Pangea has built custom streaming databases to produce highly performant data.

How can you solve my real-time data problem?

Pangea data specialists will do a deep dive and technical evaluation to discover the best way that we can support your specific use case.

A better DevX

Enabling better UX

Get access

Talk to sales

A better DevX

Enabling better UX

Get access

Talk to sales

A better DevX

Enabling better UX

A better DevX

Enabling better UX